How we do it: slapcat | sort | md5sum
(Sort is necessary as slapcat outputs don't get dumped in any particular order.)
We've a script written around that and it's checked every 5 minutes by our nagios server - checking mirror masters against master VIP (VIP is on load balancer, configures for active/passive fail over) other and slaves against master VIP.
Caveat: we've only a 1000 entries or so... This may not be efficient for larger dbs - as I'm sure some might bring that up.
Try it: see if it takes too long or spikes the cpu too much.
- chris
Chris Jacobs, Systems Administrator Apollo Group | Apollo Marketing | Aptimus 2001 6th Ave Ste 3200 | Seattle, WA 98121 phone: 206.441.9100 x1245 | mobile: 206.601.3256 | fax: 206.441.9661 email: chris.jacobs@apollogrp.edu
----- Original Message ----- From: openldap-technical-bounces@OpenLDAP.org openldap-technical-bounces@OpenLDAP.org To: openldap-technical@openldap.org openldap-technical@openldap.org Sent: Thu Jul 22 02:31:20 2010 Subject: How to check LDAP replication status?
Hello all.
I have one master LDAP and many slaves. I want to check what replication to slaves are ok - how can I do it?
-- Best regards, Proskurin Kirill
This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.