<quote who="Jorge Medina">
I am trying to configure OpenLDAP in mirror mode.
From what I understood, the documentation suggests having two
servers configured in mirror mode, plus a set of replicas. (As shown in
the diagram at the end of the page at
The documentation suggests that the backend LDAP module can be
used as the load balancer. Nevertheless the documentation is missing the
sections on configuring this module.
Yes, there a lots of wee bits missing, but if you look at the slapd-ldap
LDAP server to use. Multiple URIs can be set in a single
purl argument, resulting in the underlying library
call the first server of the list that responds, e.g.
uri "ldap://host/ ldap://backup-host/"
The URI list is space- or comma-separated. Whenever the
that responds is not the first one in the list, the list
rearranged and the responsive server is moved to the
that it will be first contacted the next time a connection
a) I am assuming the replicas are just read-only replicas.
They don't need to be, they can be setup to chain write requests back to a
single IP which is the ldap proxy which in turn points back to the two MM
b) If a client requires to write to the directory, how are these
request forwarded to the active mirror?
c) Does anyone knows how to configure the LDAP backend to act as
d) Is mirror mode mature? Is it ready for production use?
Very and already out there deployed at some highly business critical areas
all over the world.
T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
Open Source. Open Solutions(tm).
Suretec Systems is a limited company registered in Scotland. Registered
number: SC258005. Registered office: 13 Whiteley Well Place, Inverurie,
Aberdeenshire, AB51 4FP.