Hi Ondřej,
I know, that I can put more then one uri to the "provider"-entry of syncrepl. The questions comes up wile installing and testing lloadd. So it not a special lloadd-thing. In general I would like to know if I could use the SRV-records. That would make changing an OpenLDAP-Server (and it's DNS-name) easy. I only need to change the SRV-record and don't have to modify each ldap-server. Like in sssd and kerberos.
Stefan
Am 19.01.23 um 14:01 schrieb Ondřej Kuzník:
On Thu, Jan 19, 2023 at 11:48:45AM +0100, Stefan Kania wrote:
hi to all,
is it somehow possible to finde the provider in "syncrepl" of a consumer via DNS SRV-records. If I have several providers with lloadd in front of it and the consumers are only contacting the loadbalancer, the it would be nice to use the SRV-Records of the DNS. I could then set up two loadbalancer with a different priority, so if one failed the consumer would switch to the second loadbalancer. Just an idea :-). Because using just one loadbalancer it will be a single point of failure.
Hi Stefan, or you can use libldap's fallback capabilities where a URI can be in the form of "uri1,uri2,uri3,...", and using that scheme in syncrepl's provider="" option, you don't even need a load balancer for that.
Regards,