[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: monitor mirror mode



Thanks for your response. ContextCSN seems perfect but, I try on my two OpenLDAP:

 

<10:13>[labobe2:~]# ldapsearch -x -LLL -H ldap://openldapID1:389 -s base -b 'dc=netplus,dc=fr' contextCSN dn: dc=netplus,dc=fr

dn: dc=netplus,dc=fr

contextCSN: 20090629115508.383110Z#000000#002#000000

contextCSN: 20090702080926.118569Z#000000#001#000000

 

<10:07>[labobe1:~]# ldapsearch -x -LLL -H ldap:// openldapID2:389 -s base -b 'dc=netplus,dc=fr' contextCSN dn: dc=netplus,dc=fr

dn: dc=netplus,dc=fr

contextCSN: 20090629115508.383110Z#000000#002#000000

contextCSN: 20090702080926.118569Z#000000#001#000000

 

As you can see I have two results by request. And I have effectively the same result on each server. Can I conclude just with this results that the replication works well ? I though I would have one contextCSN for each request instead of two.

 

Thanks for your help.

 

Regards,

 

François

 

De : Gavin Henry [mailto:ghenry@OpenLDAP.org]
Envoyé : vendredi 26 juin 2009 17:14
À : François Mehault
Cc : openldap-technical@openldap.org
Objet : Re: monitor mirror mode

 

You can use:

http://blog.suretecsystems.com/archives/146-OpenLDAP-Quick-Tips-Checking-the-state-of-replication.html

----- "François Mehault" <Francois.Mehault@netplus.fr> wrote:
>

>

Hi all

 

I use 2 openldap with mirror mode replication. And in fact I want to monitor both with Nagios. I want to be sure that replication works, So I ask myself if there is some numerous version on each OpenLDAP that I could check if they are equal. This value would be update after each replication. Something like that exist ? Or, how can I monitor the replication ? If you have some lead, I am interested. Thanks for your help

 

Have a good week end.

 

François



--
Kind Regards,

Gavin Henry.
OpenLDAP Engineering Team.

E ghenry@OpenLDAP.org

Community developed LDAP software.

http://www.openldap.org/project/