Skip to content

OpenLDAP Quick Tips: Checking the state of replication

LinuxOpenLDAPOpen SourceSuretec Hi All,

I might as well start easing back into the OpenLDAP Weekly Newsletter by doing some "OpenLDAP Quick Tips". Here's the first one.

"Check that the synchronisation state indicators of any slaves or masters are the same":

[ghenry@suretec ~]$ ldapsearch -x -LLL -H ldap[?]://master:389 -s base -b 'dc=suretecsystems,dc=com' contextCSN[?] dn: dc=suretecsystems,dc=com contextCSN: 20081025222436.822813Z&000000;000#000000 [ghenry@suretec ~]$ ldapsearch -x -LLL -H ldap://slave:389 -s base -b 'dc=suretecsystems,dc=com' contextCSN dn: dc=suretecsystems,dc=com contextCSN: 20081025222436.822813Z&000000;000#000000

If they are the same, then replication has finished, otherwise replication has not finished or has failed.

For more technical detail, please see[?]%20Sync%20Replication


No Trackbacks


Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
BBCode format allowed
Pavatar, Gravatar, Favatar, MyBlogLog, Pavatar author images supported.
Form options

Warning: Use of undefined constant CHARSET_NATIVE - assumed 'CHARSET_NATIVE' (this will throw an Error in a future version of PHP) in /home/suretecsystems/www/blog/ on line 182