[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: MDB data replication issues
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)