I'm trying to configure heartbeat for ldap, mostly working off this old
article:  http://www.linuxjournal.com/article/5505

I seem to be missing something.

I need both nodes running ldap to maintain sync between master and slave.
I'm not sure how to set up haresources.  The article says:

Masternode 1.2.3.vip service

The problem is, this only starts the service on the primary node at bootup.
If I chkconfig ldap to "on" on the slave node, it starts, but heartbeat
shuts it down when it establishes communication.  I can manually start it,
and things run fine.

If I configure haresources as:

Masternode 1.2.3.vip ldap
Slavenode 1.2.3.vip ldap

Both nodes seem to contend for the vip.

I was thinking I could do:

Masternode 1.2.3.vip ldap
Slavenode 1.2.3.realip ldap

But I assume in that situation, if the slavenode failed, the masternode
would attempt to take the slavenode real ip as a vip.

I'm sure I'm overlooking something simple.  I did some searching in the list
archive, but most people are recommending crm, and it's not something I
really want to use for what should be a relatively simple setup.

Help appreciated,

-Brian


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to