Directory 5.1 Multi-master Replication; part 2
Our intended use of multi-master replication is something like active and standby sites. We have identical applications and servers installed in both sites, geographical separated locations; the application does not access directory server across sites.
When I need to switch active site, I want to make sure changes made on the active site are sent to the standby site full and clean.
Assuming the network cannot catch up with the application in its peak load;
and I can stop the application for a while to prevent no new changes.
But in the end, how can I check if all updates in the active server are transferred to the standby site before I perform the site switchover?
Thanks for help.
[727 byte] By [
hsheng4] at [2007-11-26 10:26:40]

# 1
If you are using mm replication, all changes to either of servers will be replicated to its replica, if your replica is always up.
Before you deploy your applications, you should test the two ldap servers and their replication first to make sure they are working properly.
And, after you put your applications onsite, you can also test to make some changes throught your application and check if the changes have been replicated to the other server.
# 2
In my test simulating network outage, I shutdown the Directory server in the standby site for a couple hours. During this period, the directory changelog will be accumulated in the active site.
Then I restart the Directory server in the standby site, I could see the replication of changelog started again; and certainly it would take some time for the active server to send all changes to the standby server.
Now if I want to switch site, I would shutdown application in the active site first. I want make sure that all changes made in the active site have been sent to the standby site before I start the application in the standby site.
How do I check this? Wait till the Replication Status does not change for a couple refresh?
Thanks