[Date Prev][Date Next]
multi / standby master: incomplete replication after downtime (?)
- To: firstname.lastname@example.org
- Subject: multi / standby master: incomplete replication after downtime (?)
- From: Elmar Marschke <email@example.com>
- Date: Wed, 18 Aug 2010 11:01:40 +0200
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:22.214.171.124) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6
i set up a multi master scenario using 2.4.21 on two servers. Online
config (slapd.d) and ldap content is replicated fine, as long as both
servers are up (means: i can change objects using ANY of the servers;
and changes are transferred immediately to the other one. (Later in
production, there will just one server be used actively, the other one
shall be used by the clients just in case of failure)).
Then i shut down one of the servers, and do changes on the remaining
one. I expect the switched-off server to get ALL the latest changes from
the online-server as soon as it's up again. But this seems to happen
only partially; for example:
- deletion of a user object works ( = shows up on the former
switched-off server immediately after coming up again)
- adding of a user does not
- changing just subordinate attributes of user objects, like telephone
number, does not show up. It just gets replicated to the former
switched-off machine, when something else of that object is changed
while both servers are alive.
So finally i end up with different content on every machine...
Did i miss something about how that works ??
Or is my config wrong for that; example:
Thanks for help...
PS: my setup / slapd.conf is according to the book "openLDAP 2.4" by
Oliver Liebel & John Martin Ungar.