I have previously set up two servers with multi-master replication, using the cn=config configuration format (I think I've seen it referred to as 'OLC'?). It was a process similar to this (although this is not the guide I followed):
http://www.opensolutions.ie/blog/2013/01/multi-master-ldap-replication/
Both my configuration database and actual user database are replicated between both, and I have tested that changes work as expected in both directions.
I need to add a third host into the replication. (Ultimately I am removing one server and replacing it with the third, but there will be a few months of overlap.) I have not been able to find any information on the recommended way to add a new server into a multi-master setup. Is it possible, and if so, what is the recommended way?
Best Answer
In essence do the same thing you did to get Multi-Master running in the first place.
slapd-config
only distinguishes servers for replication, not configuration.DB_CONFIG
, if you use it) from yourolcDbDirectory
.syncrepl
dn
, whatever it will to be, has read access to your entire directory.olcServerID
andolcSyncrepl
entries.slapd
should not be running at this time.olcSyncrepl
retry
your existing servers may give up trying to contact your new server. You may want to set retry for the new server to unlimited (i.e.+
) during this time.slapd.d
directory on your new server one from one existing servers.slapd
daemon to write to the directory.sync
to yourolcLogLevel
during this time.