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

Re: I got the replication blues

--On Thursday, January 06, 2005 2:33 PM -0500 David Sonenberg <dsonenberg@strozllc.com> wrote:

Thanks that did it.  Sometimes it just takes a second set of eyes.  So
while were on the topic of replication....  If a change is made on the
slave server will the changes be made on the master?  or do I have to
set something else up?

The point of replication is that changes only get made to the master, which then propagates them to the replicas. When someone attempts to make a change to a replica, the "updateref" line in the replica's slapd.conf sends back a referral to that location (which should be the master). It is then up to the client to follow that referral and make the change on the master. Most clients have no clue how to follow a referral, so don't do anything.


Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
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