Hello, I implemented a slapd-meta configuration with several backend directories. I would like to know whether slapd-meta is capable to switch requests to an « alternate target » when a given target is unavailable. Reading all the documentation, I have the feeling this is not possible but I would like to be sure. Thanks in advance, Michel
Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ? Je crée ma boîte mail www.laposte.net
Michel,
michel.gruau schrieb am 02.05.2011 11:34 Uhr:
I implemented a slapd-meta configuration with several backend directories. I would like to know whether slapd-meta is capable to switch requests to an « alternate target » when a given target is unavailable. Reading all the documentation, I have the feeling this is not possible but I would like to be sure.
Did you read slapd-meta about the uri directive:
"the directive suffix "dc=foo,dc=com" uri "ldap://l1.foo.com/dc=foo,dc=com" "ldap://l2.foo.com/" causes l2.foo.com to be contacted whenever l1.foo.com does not respond. In that case, the URI list is internally rearranged, by moving unavailable URIs to the end, so that further connec- tion attempts occur with respect to the last URI that succeeded."
Or is this not, what you mean?
Marc
Did you read slapd-meta about the uri directive: "the directive suffix "dc=foo,dc=com" uri "ldap://l1.foo.com/dc=foo,dc=com"; "ldap://l2.foo.com/"; causes l2.foo.com to be contacted whenever l1.foo.com does not respond. In that case, the URI list is internally rearranged, by moving unavailable URIs to the end, so that further connec- tion attempts occur with respect to the last URI that succeeded."
Or is this not, what you mean?
Thank you very much for your reply, I read it but too quickliy, and I missed this possibility.
However, my need is that the first URI remains the prefered one. As soon as it become available again, I'd like to switch back to l1.foo.com. Unfortunately, I guess that the current behaviour is to keep using l2.foo.com until it become unavailable too ?
Do you confirm this behaviour ?
Michel
Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ? Je crée ma boîte mail www.laposte.net
openldap-technical@openldap.org