[Date Prev][Date Next]
Re: replicated cn=config
--On Friday, April 29, 2005 1:31 PM -0700 Howard Chu <firstname.lastname@example.org> wrote:
Quanah posed this question about how to set up a bunch of replica servers
that all use configurations replicated from the master as well. It wasn't
perfectly obvious at first, so I'm posting this note to suggest an
approach and get some reactions. I haven't tested this yet.
First of all, you cannot just replicate cn=config straight from a master
to a slave server, because the slave will wind up with an identical copy
of the master's configuration (and will then cease to be a slave). This
means you must use some alternate tree, and map it into the slave's
So here's a possible approach - on the master
On each slave
relay cn=config massage
Then either slurpd or syncrepl can be used to keep the slaves'
configurations up to date.
Unfortunately, I've found a problem with doing this, which is bothersome to
me, because I really need to be able to do this.
With both slurpd and syncrepl:
Since the host names are different on all the replicas, they cannot share a
common cn=config. :(
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin