Hi,

On Mon, 29 Jul 2013, [email protected] wrote:

The file structure is stored in module definitions and they are then
applied to the server in their proper place via the puppet agent.  The ldap
servers are running and I can write to individual servers.  I an just
having issues with the replication.  The one thing I see is the node
identifier in the CSN, the second to last set of numbers, are all zeros.
The CSN looks like a date actually  Should I take that out of the puppet
file and when I do will it regenerate the CSN ?  Also, is the modify
timestamp some that would be regenerated if I removed them..  The configs I
provided are actually from the puppet server.

Modifying cn=config directly via the files under slapd.d is not supported and 
is bound to get you into trouble.

It is possible some of your definitions are silently not being parsed.  Your 
are bypassing any consistency checks by writing directly to cn=config.

You need to:

1. update to a current openldap-2.4.35 build from source or from on of the rpm 
packages on the net.

2. dump your cn=config using slapcat -n0 and reimport using slapadd -n0 to be 
sure it is written correctly.

3. update to a current openldap-2.4.35 build from source or from on of the rpm 
packages on the net.


Greetings
Christian



Thanks,
Eric Speake
Web Systems Administrator
O'Reilly Auto Parts



From:   Christian Kratzer <[email protected]>
To:     [email protected]
Cc:     [email protected]
Date:   07/29/2013 10:44 AM
Subject:        Re: N-Way Master replication no contextcsn
Sent by:        [email protected]



Hi,

On Fri, 26 Jul 2013, [email protected] wrote:


Trying a different method of replication to suit or need and I set up two
test servers for n-way master mirroring servers.  Both servers have the
same configuration being fed to them through puppet.  In the logs I can
see
them bind and check cookies but I get CSN too old, ignoring
20110608165005.984980Z#000000#000#000000 (olcOverlay=
{4}syncprov,olcDatabase={1}hdb,cn=config)  THen the last slapd entry in
the
log is rid=002
cookie=rid=002,sid=002,csn=20110915141524.047299Z#000000#000#000000 and
then nothing else happens.  If I make a change to user it never syncs to
the other server.

At this point I don't know what to look at or what you might want to look
at to help diagnose the problem.  I followed the documentation in the
admin
guide to set this up.

Any and all help is appreciated.

1. You are using an ancient openldap version 2.4.28 compiled by your
distribution.  Please start by updating to a current 2.4.35 build from
sources.

2. You say both servers have the same configuration through puppet ? I see
you are using cn=config. How are you distributing this configuration. You
should not write any files to slapd.d via puppet or other means.  Use
slapcat/slapadd -n0 to export and import configurations.

Greetings
Christian

--
Christian Kratzer                      CK Software GmbH
Email:   [email protected]                  Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0          D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9          HRB 245288, Amtsgericht Stuttgart
Web:     http://www.cksoft.de/         Geschaeftsfuehrer: Christian Kratzer


--
This message has been scanned for viruses and dangerous content,
and is believed to be clean.
 Message id: 07A406006FB.AF9AA




This communication and any attachments are confidential, protected by 
Communications Privacy Act 18 USCS ? 2510, solely for the use of the intended 
recipient, and may contain legally privileged material. If you are not the 
intended recipient, please return or destroy it immediately. Thank you.


--
Christian Kratzer                      CK Software GmbH
Email:   [email protected]                  Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0          D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9          HRB 245288, Amtsgericht Stuttgart
Web:     http://www.cksoft.de/         Geschaeftsfuehrer: Christian Kratzer

Reply via email to