[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Replication issue
I don`t find any contextCSN,we are not using the syncrepl instead the replication parameters are configured in slapd.conf.
Master
replica uri=ldap://slave:389
binddn="cn=Replicator,o=abc.com"
bindmethod=simple
credentials=simple
replogfile /var/lib/ldap/openldap-master-replog
Slave
updatedn "cn=Replicator,o=abc.com"
updateref ldap://master:389
access to * by dn="cn=Replicator,o=abc.com" =rw
by * read
The ldiff files (from slapcat) are not the same in size on matser and slave.
Cheers
CG
--- On Wed, 9/10/08, Buchan Milne <bgmilne@staff.telkomsa.net> wrote:
> From: Buchan Milne <bgmilne@staff.telkomsa.net>
> Subject: Re: Replication issue
> To: openldap-technical@openldap.org, govindo@yahoo.com
> Date: Wednesday, September 10, 2008, 2:15 AM
> On Tuesday 09 September 2008 18:39:56 Govind c wrote:
> > I have a strange problem,the replication between
> master and slave is
> > functioning well,however I do see difference in number
> of objects.Why is
> > that?
> >
> > Master# ldapsearch -x -b 'o=abc.com'
> '(objectclass=*)' | egrep "
> > numResponses|numEntries" # numResponses: 38861
> > # numEntries: 38860
> >
> >
> > Slave# ldapsearch -x -b 'o=abc.com'
> '(objectclass=*)' | egrep "
> > numResponses|numEntries" # numResponses: 38857
> > # numEntries: 38856
>
> Did you compare the contextCSN attributes on the servers
> when you compared the
> number of entries ? Comparing the contents is only valid if
> the servers think
> they are in sync ...