Greg Woods wrote:
I need to have slapd running on both the machine because, ldap replication
needs slapd on both node.
I tried it this way. I never could figure a reliable way to set things
up without creating replication loops. It is far easier to use shared
storage via DRBD to replicate the LDAP data rather than using LDAP
replication. Then you do not need to run slapd on the node until it
becomes the master and it is then a standard heartbeat-manageable
resource. I do this and it works great.
How about setting up an slave slapd on both nodes, with the master slapd
and slurpd running on one node only under cluster control? When the node
running the master goes down, the standby slave is stopped and slapd
started with a master configuration based on the former slave database.
That will give you transaction based data integrity. Block based
mirroring leaves a risk of a corrupted database or at least require
a recovery.
I'm not sure how to implement this cleanly in Linux HA, but I did that
with another cluster manager as conceptual work a while ago.
Regards,
Martin
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems