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

Antw: RE: MDB data replication issues



Hi!

I wonder: Is there something like the "touch" command for files in UNIX available for LDAP entries? A touch on an LDAP entry would force the whole entry to be replcated (again)...
Probably slapd would have to provide some support for this as just updating the entryCSN of the corresponding won't work I'm afraid.

Regards,
Ulrich

>>> Frank Swasey <Frank.Swasey@uvm.edu> schrieb am 05.07.2016 um 14:05 in Nachricht
<alpine.OSX.2.20.1607050800340.1852@vc104198.hiz.rqh>:
> On Mon, 4 Jul 2016 at 8:39am, Gurjot Kaur wrote:
> 
>> I have some entries in the Server (Master 1) with entryCSN values as given 
> below:
>> 1. entryCSN: 20160704061459.015144Z#000000#000#000000
>> 2. entryCSN: 20160704061459.041359Z#000000#000#000000
>> 3. entryCSN: 20160704061459.052873Z#000000#000#000000
>>
>> I added these entries using slapadd on Server (Master 1)
>> These entries don't get replicated on Replica (Master 2) , though contextCSN 
> value is greater than these three entryCSN values.
>>
>> Please help in understanding how can I get these entries replicated on my 
> Replica (Master 2) from Server (Master 1).
> 
> I assume you shutdown the Server (Master 1) before you added those three 
> entries with slapadd.  Thus, you have no entries in your accesslog for 
> syncrepl on Replica (Master 2) to see that it should replicate those 
> three entries.
> 
> You have a few ways out of this:
> 
> 1) shutdown the Replica, erase its database and start it up as an empty 
> consumer
> 
> 2) shutdown the Replica, slapcat from the Server, erase the Replica's 
> database and slapadd the one from the Server
> 
> 3) shutdown the Replica, and slapadd those same three entries
> 
> 4) use ldapdelete to get rid of those three entries on the Server, and 
> then ldapadd them back (so they'll get accesslog entries and be 
> replicated)
> 
> You cannot use slapadd for things you want replicated.  It does not 
> work.
> 
> -- 
> Frank Swasey                    | http://www.uvm.edu/~fcs 
> Sr Systems Administrator        | Always remember: You are UNIQUE,
> University of Vermont           |    just like everyone else.
>    "I am not young enough to know everything." - Oscar Wilde (1854-1900)