|
| ZCS Multi-Server Installation Guide 8.0 |
| Open Source Edition |
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. On the master LDAP server find the LDAP replication, Postfix, Amavis, and NGINX passwords
2. Change theLDAP passwords on the server you are promoting to be the same as the first master LDAP server.
• LDAP replication password = zmldappasswd -l <password>
• LDAP postfix password = zmldappasswd -p <password>
• LDAP amavis password = zmldappasswd -a <password>
• LDAP NGINX password = zmldappasswd -n <password>
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.