On Friday, 26 August 2011 15:28:13 Naga Chaitanya Palle wrote:
Hi buchan,
My server 1 is uplite98.comverse-in.com. In its slapd.conf, I have syncrepl pointing to server 2 devonly144.comverse-in.com and vice versa for server2.
Then your serverid (and, it should actually be serverId) is wrong:
serverid 124 ldap://devonly144.comverse-in.com syncrepl rid=124
provider=ldap://devonly144.comverse-in.com:389
The URI form of serverId is useful if you have the same configuration on all your masters, in which case the listening address of your server must match one of the URIs. You may want to use this form for now:
serverId 1
If your serverId's weren't correct (check the contextCSNs), you should probably re-import an export of one server on the other one.
I did not exactly understand what you indicated. Can you please be more specific about what changes needs to be done in the slapd.conf file?
In a multi-master setup, each server should be replicating off *all* servers, including itself.
Thanks and Regards, Naga Chaitanya
-----Original Message----- From: Buchan Milne [mailto:bgmilne@staff.telkomsa.net] Sent: Friday, August 26, 2011 6:56 PM To: openldap-technical@openldap.org Cc: Naga Chaitanya Palle Subject: Re: N-way multi master configuration issue
On Friday, 26 August 2011 12:56:38 Naga Chaitanya Palle wrote:
Hi,
I am trying to set up N-way multimaster configuration using syncrepl on openldap2.4 for RHEL 5.4
Currently I am using two masters for testing.
The slapd.conf on server1 is moduleload syncprov.la serverid 124 ldap://devonly144.comverse-in.com syncrepl rid=124
provider=ldap://devonly144.comverse-in.com:389 type=refreshAndPersist interval=00:00:01:00 searchbase="dc=comverse-in,dc=com" filter="(objectClass=*)" scope=sub attrs="*" schemachecking=off bindmethod=simple binddn="cn=Manager,dc=comverse-in,dc=com" credentials=sonora
index objectClass,entryCSN,entryUUID eq mirrormode true
overlay syncprov syncprov-checkpoint 100 10
The slapd.conf on server2 is moduleload syncprov.la serverid 123 ldap://uplite98.comverse-in.com syncrepl rid=123
provider=ldap://uplite98.comverse-in.com:389 type=refreshAndPersist interval=00:00:01:00 searchbase="dc=comverse-in,dc=com" filter="(objectClass=*)" scope=sub attrs="*" schemachecking=off bindmethod=simple binddn="cn=Manager,dc=comverse-in,dc=com" credentials=sonora
index objectClass,entryCSN,entryUUID eq mirrormode true
overlay syncprov syncprov-checkpoint 100 10
But there is no data synchronization happening between the severs.
Of course not, you have configured each server only to replicate from itself.
When I added test3 user on server1, it is not reflecting on server 2. Same way when I added test4 user on server2 it is not reflecting on server1.
Please let me know what is missing in this configuration.
syncrepl statements pointing to the other master.
Regards, Buchan
=========================================================================== ==== Please refer to http://www.aricent.com/legal/email_disclaimer.html for important disclosures regarding this electronic communication. ========================================================================== =====