Zimbra Collaboration Suite 7.0
Zimbra Collaboration Suite 7.0
Multi-Server Installation Guide
Open Source Edition

Configuring LDAP Replication > Configuring Zimbra Servers to use LDAP Replica

Configuring Zimbra Servers to use LDAP Replica
To use the replica LDAP server instead of the master LDAP server, you must update the ldap_url value on the Zimbra servers that will query the replica instead of the master. For each server that you want to change:
zmlocalconfig -e ldap_url=”ldap://<replicahost> ldap://<masterhost>”
Enter more than one replica hostnames in the list typed as ”ldap://<replicahost1> ldap://<replicahost2> ldap://<masterhost>”. The hosts are tried in the order listed. The master URL must always be included and is listed last.
Update the ldap_master_url value. Enter the master LDAP server URL, if not already set.
zmlocalconfig -e ldap_master_url=ldap://<masterhost>:port
Additional Steps for MTA hosts.
After updating the ldap_url, rerun /opt/zimbra/libexec/zmmtainit.
This rewrites the Postfix configuration with the updated ldap_url.