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

Re: what databases are to be replicated for a slave?

--On Monday, December 28, 2015 10:44 AM +0400 Jephte Clain <jephte.clain@univ-reunion.fr> wrote:


I've had problems with an upgrade to openldap 2.4.43, and I reviewed my
configuration to check for errors
I have two slaves which replicate all databases from the master,
including cn=config.

If the replicas are replicating the provider's cn=config, I doubt they are truly replicas.

My reasoning is in case of a severe crash, I'd like one of the slaves to
be able to become the new master.
To allow such a scenario, each database in the master have a syncrepl
directive to replicate from itself. It obviously have no effect on the
master, but the slave that replicate this configuration get the right
directives to replicate from the master. so far so good...

now this is my question: should/could the accesslog configured this way?
or should the accesslog be strictly local to a server? I mean, should I
remove the syncrepl directive from the accesslog database?

I'm not sure what you mean about a syncrepl directive on the accesslog DB. That sounds like an incorrect configuration.



Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
Zimbra ::  the leader in open source messaging and collaboration