--On Monday, June 20, 2022 12:33 PM +0000 nagamani.chinnapaiyan@viasat.com wrote:
Hi,
I am new to ldap. We have 4 ldap servers, 2 of them are in mirror-mode providers, 2 of them are just consumers/replicas. I am working on loadbalancer for these 4 ldap servers using ldap/meta backend. I want to the ldap proxy/loadbalancer to, redirect write requests to one of the 2 mirror-mode providers. redirect read requests to any of the 2 replicas/consumers.
I know ldap backend has uri list which can be used to redirect to mirror-mode providers. But I want to redirect only the write requests.
Or just configure back-ldap+chain on the consumers so they forward any write requests to the master nodes.
I would note you generally want to ensure write ops only go to an "active" master in the pair to avoid collisions.
--Quanah