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

CSN is matching but entries count differs in master and slaves



Hello all,

CSN is matching with master and slaves but if i count number of entries it's different. I am replicating complete DIT so count should be equal in Master and slave.

Should i diff the missed entries and catch them in replications logs.  Please suggest ..



$ ldapsearch -H ldaps://ldapmaster -D "cn=manager,dc=xxx,dc=com"  -x -xxx  -s base contextCSN -LLL
dn: dc=xxx,dc=com
contextCSN: 20160326180539Z#000006#00#000000

$ ldapsearch -H ldaps://ldap-slave   -D "cn=manager,dc=xxx,dc=com"  -x -wxx  -s base contextCSN -LLL
dn: dc=xxx,dc=com
contextCSN: 20160326180539Z#000006#00#000000

$  ldapsearch -H ldaps://ldapmaster -D "cn=manager,dc=xxx,dc=com"  -x -wxx -s sub "objectclass=*" | tail -2
# numResponses: 28751
# numEntries: 28750

$  ldapsearch -H ldaps://ldap-slave "cn=manager,dc=xxx,dc=com"  -x -wxxx -s sub "objectclass=*" | tail -2
# numResponses: 28772
# numEntries: 28771