[clue-tech] Linux-HA and openLDAP problem

David L. Anselmi anselmi at anselmi.us
Wed Aug 10 21:04:47 MDT 2005


Adam bultman wrote:
[...]
> The HA stuff does handle the dropping of the virtual IP for me.  The
> only thing I'm doing with that IP address is seeing if is bound to the
> current server - the only problem is, it either doesn't drop it fast
> enough, or it purposefully restarts openLDAP before it drops it, giving
> me problems.

Sounds like a bug, if you can't control the order things fail over/back. 
  But I don't know much about HA.

> As for LDAP - if I'm replicating, I don't have the option of making them
> any more identical. If I put both the updatedn and the replica stanzas
> in the config, I end up with two servers that replicate everything back
> to each other incessantly.  The purpose of the two different configs was
> the slave config allows updates from the other node, and the master
> config will push updates down to the slave.

After failover, how do you replicate from the slave back to the master 
when the master comes up?  I guess you don't have any way to prevent 
replicating records that are already on both servers?

Perhaps you want the master to come up as slave and not take back over 
automatically (until another failover).  Then it would replicate 
anything new since it was down.

Could you just set the master to always use the master.conf, and the 
slave to use slave.conf?  Then the master would be missing any updates 
since it went down.  Could you send those from the slave (as part of the 
failback) in a way that wouldn't replicate them back to the slave?

I don't know much about LDAP replication either.

Dave
_______________________________________________
CLUE-tech mailing list
CLUE-tech at cluedenver.org
http://cluedenver.org/mailman/listinfo/clue-tech



More information about the clue-tech mailing list