[Date Prev][Date Next] [Chronological] [Thread] [Top]

Replication issue in 2.4



Hello ,

Can any one please help me with this.Am using BDB and openldap 2.4 with multi master replication
below is my slapd.conf for replication

syncRepl rid=000
  provider=ldap://host1:389
        type=refreshAndPersist
        retry="5 + 5 +"
  searchbase="dc=example,dc=com"
        attrs=*
        interval=00:00:00:05
        schemachecking=on
        bindmethod=simple
  binddn="cn=Manager,dc=example,dc=com"
        credentials=password

when the database are empty and i try to import a ldif the replication is working fine.But after that when i add few records in one ldap its not getting replicated to another.below is the difference in contextCSN 

ldapsearch -x -u -h<host2> -b "dc=example,dc=com"  -s base contextCSN -LLL
dn: dc=example,dc=com
ufn: example.com
contextCSN: 20150604060008.504258Z#000000#000#000000
contextCSN: 20170117173528.506070Z#000000#001#000000
contextCSN: 20170117182158.011615Z#000000#002#000000

ldapsearch -x -u -h<host1> -b "dc=example,dc=com"  -s base contextCSN -LLL
dn: dc=example,dc=com
ufn: example.com
contextCSN: 20150604060008.504258Z#000000#000#000000
contextCSN: 20170117174748.128319Z#000000#001#000000
contextCSN: 20170117182127.009918Z#000000#002#000000

Can any one please help me on how to make the sync speedup or any other parameter that i need to tweak.

Regards,
Pratik