ZCS Administrator Guide 8.0
ZCS Administrator Guide 8.0
Open Source Edition


Configuring Multi-Master Replication > Promote Existing Replicas to Multi-Master LDAP Servers

Promote Existing Replicas to Multi-Master LDAP Servers
In an existing ZCS setup where there is already a single master and multiple replicas, you can promote an existing replica to become a secondary master.
1.
zmlocalconfig -s | grep passw | grep ldap
2.
LDAP replication password = zmldappasswd -l <password>
LDAP postfix password = zmldappasswd -p <password>
LDAP amavis password = zmldappasswd -a <password>
LDAP NGINX password = zmldappasswd -n <password>
3.
/opt/zimbra/libexec/zmldappromote-replica-mmr -s 3
4.
Update the ldap_master_url attribute to add the master to the list.
zmlocalconfig -e ldap_master_url="ldap://<<master1.example.com>>:389 ldap://<<master2.example.com>>:389 ldap://<<master3.example.com>>:389"
This updates the replica to be a multi-master replica, enabled with a server ID. It is automatically configured to be a paired master with the master it was previously replicating from.
Copyright © 2012 VMware Inc.