[Date Prev][Date Next]
Testing the state of replicates
- To: <email@example.com>
- Subject: Testing the state of replicates
- From: "Marantz, Roy" <Roy.Marantz@deshaw.com>
- Date: Tue, 4 Mar 2008 09:53:39 -0500
- Content-class: urn:content-classes:message
- Thread-index: Ach+B4gwomwpAS5YQpaB/N8XMJ9WGg==
- Thread-topic: Testing the state of replicates
I'm using OpenLDAP 2.4.7 on Solaris-10.
I have a database that is part of 2 master servers running in mirror
(eventually) some slaves servers too. I'm looking for way to tell if
a particular server is "up to date". By that I mean is synchronized
within X seconds with the master that gets updates. The
masters will be behind a load-balancer (level 4 switch) and look like
a single IP address. I can have the slaves access them directly if
need be, but will try to have them talk the the virtual master server.
This is mostly a concern when talking to a slave server since they may
not always be able to talk to the master servers because of network
Is there something I can query, like contextCSN, to indicate the last
time syncrepl successfully finished resyncing the particular database?
Any other way to do this or am I just trying to do something that is
Any help or pointers would be appreciated.