Difference between revisions of "Updating olcSyncrepl"

(Created page with "'''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 caref...")
 
Line 1: Line 1:
'''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 ldap server.'''
+
'''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.'''
 
[http://bugzilla.zimbra.com/show_bug.cgi?id=64119 Bug #64119] or [http://bugzilla.zimbra.com/show_bug.cgi?id=62787 Bug #62787].
 
[http://bugzilla.zimbra.com/show_bug.cgi?id=64119 Bug #64119] or [http://bugzilla.zimbra.com/show_bug.cgi?id=62787 Bug #62787].
  

Revision as of 08:56, 5 September 2011

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.

Requirement

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.

Issue

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

Steps

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