[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: contextCSN attribute update on replication
- To: Óscar Remírez de Ganuza Satrústegui <oscarrdg@unav.es>
- Subject: Re: contextCSN attribute update on replication
- From: Michael Ströder <michael@stroeder.com>
- Date: Sun, 4 Sep 2016 14:09:15 +0200
- Cc: openldap-technical@openldap.org
- In-reply-to: <CAM9+XzG_ew9D=OyZOy-fhFLZVdOnqREFkLdSy1TGZhkkaQY=jA@mail.gmail.com>
- Openpgp: id=43C8730E84A20E560722806C07DC7AE36A8BC938
- References: <CAM9+XzFH+3WZ==cxYTp1thycRvnUnAEGzbY1i4j_-h7EH9LW0g@mail.gmail.com> <57AA405C.7040300@stroeder.com> <501C77BD66ECCAD16782590B@192.168.1.19> <57AA4F14.50609@stroeder.com> <D157A9F8F819F2A56F641292@192.168.1.19> <57AB8181.4030300@stroeder.com> <CAM9+XzG=1aMHMSNHCHaWXXrssNmpqxS7__Rt_2SZK2Yj-qX0MA@mail.gmail.com> <57B74768.4060506@stroeder.com> <CAM9+XzG_ew9D=OyZOy-fhFLZVdOnqREFkLdSy1TGZhkkaQY=jA@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 SeaMonkey/2.40
Óscar Remírez de Ganuza Satrústegui wrote:
> On Fri, Aug 19, 2016 at 7:52 PM, Michael Ströder <michael@stroeder.com>
> wrote:
>
>> Óscar Remírez de Ganuza Satrústegui wrote:
>>> * We have adapted our nagios script so that it now checks both contextCSN
>>> and last modified entry's entryCSN values in order to know if slave
>>> replication is working ok.
>>
>> How do you determine the "last modified entry's entryCSN values"?
>>
>
> We are using auditlog overlay [1], so we check that log to find the last
> entryCSN written on the database.
> Not very efficient, so we just check it when contextCSN attributes on
> master and slave are not equal.
Hmm, I'm using slapo-accesslog everywhere. Querying accesslog DB might be more
efficient. I will try that on the replicas.
Ciao, Michael.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature