ContextCSN values for both the servers are coming the same.
ldapsearch -H ldap:// xx.xx.xx.xx:2016 -LLL -x -s base -b "dc=my-domain,dc=com" contextCSN dn: dc=my-domain,dc=com contextCSN: 20160704065252.267837Z#000000#001#000000
ldapsearch -H ldap:// xx.xx.xx.xx:2017 -LLL -x -s base -b "dc=my-domain,dc=com" contextCSN dn: dc=my-domain,dc=com contextCSN: 20160704065252.267837Z#000000#001#000000
And Yes...server ids are different for both the servers. See below the syncrepl configuration. ########################################## Server (Master 1) ########################################## serverId 1
syncRepl rid=001 provider=ldap://xx.xx.xx.xx:2017 type=refreshAndPersist retry="5 + 5 +" searchbase="dc=my-domain,dc=com " attrs=* interval=00:00:00:09 schemachecking=off bindmethod=simple binddn="cn=Manager, dc=my-domain,dc=com " credentials=secret
index entryCSN eq index entryUUID eq index cn eq
mirrormode yes
########################################## Replica (Master 2) ########################################## serverId 2
syncRepl rid=001 provider=ldap://xx.xx.xx.xx:2016 type=refreshAndPersist retry="5 + 5 +" searchbase="dc=my-domain,dc=com " attrs=* interval=00:00:00:09 schemachecking=off bindmethod=simple binddn="cn=Manager, dc=my-domain,dc=com " credentials=secret
index entryCSN eq index entryUUID eq index cn eq
mirrormode yes #########################################################
Thanks, Gurjot Kaur
-----Original Message----- From: Bastian Tweddell [mailto:b.tweddell@fz-juelich.de] Sent: Monday, July 04, 2016 7:54 PM To: Gurjot Kaur gurjot.kaur@aricent.com Cc: Quanah Gibson-Mount quanah@zimbra.com; openldap-technical@openldap.org Subject: Re: MDB data replication issues
On 04Jul16 12:39+0000, Gurjot Kaur wrote:
I checked the debugging logs. Using this command: ldapsearch -H ldap://xx.xx.xx.xx:2016 -LLL -x -s base -b "my-domain,dc=com" contextCSN
I found that contextCSN of the Server (Master 1) is coming as below: contextCSN: 20160704065252.267837Z#000000#001#000000
and that of replica (Master 2) is: contextCSN: 20160704065252.267837Z#000000#001#000000
I do not know much about your setup, but I assume that your both servers should synchronize vice versa, right? Do you have enabled mirrormode on both sides with distinct ServerIDs?
I am asking, because you just pasted one contextCSN and IIRC the nummer at "..#001#.." is the indicator for the server ID. In my setup I have a contextCSN attribute for each server:
--- paste: contextCSN: 20160704100046.737857Z#000000#002#000000 contextCSN: 20160704142023.147502Z#000000#001#000000 --- eop
-- Bastian Tweddell Juelich Supercomputing Centre phone: +49 (2461) 61-6586 HPC in Neuroscience "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."