ZCS Multi-Server Installation Guide
ZCS Multi-Server Installation Guide
Open Source Edition 8.0.6


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:
1.
2.
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.
3.
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.
Copyright © 2013 Zimbra, Inc.