Ó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.