[Date Prev][Date Next]
Re: How to check LDAP replication status?
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 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
----- Original Message -----
From: openldap-technical-bounces@OpenLDAP.org <openldap-technical-bounces@OpenLDAP.org>
To: firstname.lastname@example.org <email@example.com>
Sent: Thu Jul 22 02:31:20 2010
Subject: How to check LDAP replication status?
I have one master LDAP and many slaves.
I want to check what replication to slaves are ok - how can I do it?
This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.