Dear developers and users of OpenLDAP!
I'm wondering to know something awful again :)
Now i have a cluster replicated in Mirror mode (without replication of
cn=config) with configuration like below:
Server0:
dn: cn=config
olcServerID: 1
dn: olcDatabase={1}hdb,cn=config
olcSyncRepl: rid=001 provider=ldap://server1
Server1:
dn: cn=config
olcServerID: 2
dn: olcDatabase={1}hdb,cn=config
olcSyncRepl: rid=001 provider=ldap://server0
And now i want to convert this to multimaster cluster (with possibility
to add other writeable nodes)
So... can i do something like this and get what i desire?
on Server0 and on Server1 do the same:
dn: cn=config
changeType: modify
replace: olcServerID
olcServerID: 1 ldap://server0
olcServerID: 2 ldap://server1
dn: olcDatabase={1}hdb,cn=config
changeType: modify
replace: olcSyncRepl
olcSyncRepl: rid=001 provider=ldap://server0
olcSyncRepl: rid=002 provider=ldap://server1
Am i write and this will lead to cluster transformation from Mirror to
MultiMaster?
Maybe, i have to convert olcDatabase={0}config to mirror/multimaster too?
Thanks a lot!