Peter Mogensen wrote:
Peter Mogensen wrote:
Peter Mogensen wrote:
What I do is:
- Took an slapcat generated LDIF from a 2.3.x setup
- Removed all entryCSN and contextCSN lines.
- Ran "slapadd -S 1 -q -w -l ~/load_noCSN.ldif" on server-1
- Did a "slapcat > toserver2.ldif" on server-1
- Started server-1 and let applications create and modify objects.
- Moved toserver2.ldif to server-2.
- Ran slapadd -q -l toserver2.ldif on server-2
- Started server-2
Now - I would expect the objects created on step 5 to appear after a while on server-2. They are not. However, objects created on server-1 after both servers has been started are replicated.
Could someone confirm this procedure as being right or wrong?
If it is not meant to work I'll stop searching for the problem.
More info: If I skip step 6/7 and let server-2 start with an empty database, it DOES actually replicate all the data from server-1, including changes made in step 5 and before step 8 (start of server-2).
However... It's only the initial replication which works. If I start server-2 empty, it will catch up with server-1, but I then stop server-2, make a modification on server-1 and restart server-2 the change will not propagate to server-2, - but the contextCSN will.
Please tell me I'm doing something wrong. This problem is starting to make me dizzy.
/Peter