Updating olcSyncrepl

Revision as of 19:22, 25 March 2015 by Jorge de la Cruz (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This document gather requirement/steps to update "olcSyncrepl" details in ldap config database ONLY in case of hitting following bug. Please note that you should be very careful in this process or you may break your ldap server. Bug #64119 or Bug #62787.


Need to update ldap_master_url on replica(s) in one of following conditions.

1. If you change the master ldap server's hostname using "zmsetservername" and want to point replicas to new master name.

2. If you promote a replica to be a master, and needs to replicas to new master address.


When updating ldap_master_url on replicas, it does not updates olcSyncrepl section in olcDatabase={2}hdb.ldif file.


Modifying olcDatabase={2}hdb.ldif.

1. Open /opt/zimbra/data/ldap/config/cn=config/olcDatabase={2}hdb.ldif

2. Search for "olcSyncrepl" in the file.

3. Modify the "provider" url.

  olcSyncrepl: {0}rid=100 provider=ldap://oldmaster.com:389

Change to:

  olcSyncrepl: {0}rid=100 provider=ldap://newmaster.com:389

4. Save the file and restart ldap.

  ldap stop; ldap start

5. Check for syncrepl logs in /var/log/zimbra.log if there are any issues.

Jump to: navigation, search