We're setting up an LVS cluster with two directors for failover. I'm having a hard time getting the behaviour I want from the directors. When the master fails and the secondary picks up, I don't want the master to take back resources when it comes back up. We're using co-equal boxes for directors so there's no reason for us to go through the service interruption of moving resources back to the failed primary.

Right now, if we test it be stopping heartbeat ( /etc/init.d/heartbeat stop ) on one of the directors, everything seems to work exactly like we want it to.

If we simulate an outage by pulling the ethernet cable on the broadcasting nic, Failover happens correctly, but when we plug the NIC back in, that machine seems to take resources back over again.

Here's my ha.cf:

deadtime 5
keepalive 1
warntime 5
initdead 5
logfacility     local0
bcast   eth0
#mcast   eth0    225.0.0.7       694     1       1
#mcast   eth1    225.0.0.7       694     1       1
auto_failback   off
node    terror1.lab.prweb.com
node    terror2.lab.prweb.com
#respawn        hacluster       /usr/lib/heartbeat/ipfail
#apiauth ipfail gid=haclient uid=hacluster

I've never done this before, so It's very possible I've made dumb mistakes.

Thanks in advance!

--
Michael James Dodd
System Administrator
360-312-0892

PRWeb, a Vocus, Inc. Company
2069 Main Street
Ferndale, WA 98248 USA

24-hour Editorial Desk: 360-312-0892
24-hour Editorial Desk: 866-640-NEWS
24-hour UK Editorial Desk: +44 (0)871 720 NEWS (6397)
Fax: 360-312-8021
[EMAIL PROTECTED]

PRWeb is the Internet's leading direct to consumer press release
distribution platform.
For free platform training contact Mario Bonilla at the phone numbers above.

PRWeb Newswire
www.prweb.com

Corporate Web Site
www.prweb-inc.com

Vocus, Inc.
www.vocus.com
_______________________________________________
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