On 10/24/07, Boróczki Lajos <[EMAIL PROTECTED]> wrote: > Dear List, > > I've managed to create an openldap master/slave setup with heartbeat2 > and lsb scripts. But I have the following problem: > > When I start up heartbeat everything works fine. Making one of the nodes > go standby works fine: when it was the node with ldap-slave running > nothing happens; when the ldap-master goes standby, ldap-slave service > is stopped, and ldap-master service is started. > > But when I reactivate the node, every service suddenly stops and > restarts on a random node (conforming the constraints I set.) This means > in real life if somebody modified something on the ldap database and the > ldap-master service starts on the other node, we have an incosistent > master/slave database. > > I have attached my running configs.
i think you'd have more luck if you created an OCF agent for openldap that supported master slave (ie. the way drbd works) > Thanks for the help, > Lajos > > ps: Hope I was clear... > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
