Re: When heartbeat core process dies, failover is not succeeded.
Horms <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
Takashi Sato <[email protected]> wrote: > > Hello, > > I use 2 Linux-Directors with heartbeat in LVS-DR, > and Linux-Directors and Real-Servers into the same hosts. > > hostname : web1 (LVS master) > OS : Red Hat Enterprise Linux 4 > kernel : 2.6.9-22.ELsmp > packages : ultramonkey 3 > ipvsadm 1.24-5 > heartbeat-1.2.3.cvs.20050927-1.rh.el.um.1 > arptables_jf-0.0.8-2 > Apache 2.0.52 > ==== haresources ========================================= > web1 \ > ldirectord::ldirectord.cf \ > LVSSyncDaemonSwap::master \ > IPaddr::192.168.21.151/24 > ==== ha.cf =============================================== > logfile /var/log/ha-log > keepalive 1 > deadtime 3 > auto_failback off > bcast bond0 > node web1 > node web2 > ========================================================== > > hostname : web2 (LVS slave) > OS : Red Hat Enterprise Linux 4 > kernel : 2.6.9-22.ELsmp > packages : ultramonkey 3 > ipvsadm 1.24-5 > heartbeat-1.2.3.cvs.20050927-1.rh.el.um.1 > arptables_jf-0.0.8-2 > Apache 2.0.52 > ==== haresources ========================================= > web1 \ > ldirectord::ldirectord.cf \ > LVSSyncDaemonSwap::master \ > IPaddr::192.168.21.151/24 > ==== ha.cf =============================================== > logfile /var/log/ha-log > keepalive 1 > deadtime 3 > auto_failback off > bcast bond0 > node web1 > node web2 > ========================================================== > > case 1: > When heartbeat:control process dies in web1, I think web1 is LVS slave > , and web2 is LVS master. > But I kill(-9) heartbeat:control process in web1, web1 does not > release its resources. Heartbeat isn't really resiliant to processes being randomly killed, especially with -9. Do you see the same results if you yank the power, or shutdown hearbeat using it's init script? -- Horms -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.