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,