On 05/21/2010 11:08 AM, Maros Timko wrote:

> What version do you use?

I use heartbeat 2.1.4-2 on ubuntu 9.04 server.

> Is there anything in the log files from the
> time of gateway was fixed?
>

I'm not very good at reading these logs yet, but I notice it had to kill
off a bunch of processes to get node1 to unmount. Could this have caused
it to be viewed as unstable and hence not failback? I've got the same
setup on the other server (they can failover to each other), but I don't
see much difference in its logs.

heartbeat[20213]: 2010/05/19_18:59:39 WARN: node xx.xx.xx.129: is dead
heartbeat[20213]: 2010/05/19_18:59:39 info: Link
xx.xx.xx.129:xx.xx.xx.129 dead.
harc[22070]:    2010/05/19_18:59:39 info: Running /etc/ha.d/rc.d/status
status
ipfail[20237]: 2010/05/19_18:59:39 info: Status update: Node
xx.xx.xx.129 now has status dead
ipfail[20237]: 2010/05/19_18:59:41 info: NS: We are dead. :<
ipfail[20237]: 2010/05/19_18:59:41 info: Link Status update: Link
xx.xx.xx.129/xx.xx.xx.129 now has status dead
ipfail[20237]: 2010/05/19_18:59:42 info: We are dead. :<
ipfail[20237]: 2010/05/19_18:59:42 info: Asking other side for ping node
count.
ipfail[20237]: 2010/05/19_18:59:44 info: Ping node count is balanced.
ipfail[20237]: 2010/05/19_18:59:44 info: Giving up foreign resources
(auto_failback).
ipfail[20237]: 2010/05/19_18:59:44 info: Delayed giveup in 4 seconds.
ipfail[20237]: 2010/05/19_18:59:45 info: Aborted delayed giveup (4)
ipfail[20237]: 2010/05/19_19:05:09 info: Giving up because we have less
visible ping nodes.
ipfail[20237]: 2010/05/19_19:05:09 info: Delayed giveup in 4 seconds.
ipfail[20237]: 2010/05/19_19:05:13 info: giveup() called (timeout worked)
heartbeat[20213]: 2010/05/19_19:05:13 info: node1 wants to go standby [all]
heartbeat[20213]: 2010/05/19_19:05:14 info: standby: node0 can take our
all resources
heartbeat[23596]: 2010/05/19_19:05:14 info: give up all HA resources
(standby).
ResourceManager[23610]: 2010/05/19_19:05:14 info: Releasing resource
group: node0 xx.xx.xx.143 drbddisk::r0
Filesystem::/dev/drbd0::/var/www/node0::ext3
ResourceManager[23610]: 2010/05/19_19:05:14 info: Running
/etc/ha.d/resource.d/Filesystem /dev/drbd0 /var/www/node0 ext3 stop
Filesystem[23656]:      2010/05/19_19:05:14 INFO: Running stop for
/dev/drbd0 on /var/www/node0
Filesystem[23647]:      2010/05/19_19:05:14 INFO:  Success
ResourceManager[23610]: 2010/05/19_19:05:14 info: Running
/etc/ha.d/resource.d/drbddisk r0 stop
ResourceManager[23610]: 2010/05/19_19:05:14 info: Running
/etc/ha.d/resource.d/IPaddr xx.xx.xx.143 stop
IPaddr[23757]:  2010/05/19_19:05:14 INFO:  Success
ResourceManager[23794]: 2010/05/19_19:05:14 info: Releasing resource
group: node1 xx.xx.xx.144 drbddisk::r1
Filesystem::/dev/drbd1::/var/www/node1::ext3
ResourceManager[23794]: 2010/05/19_19:05:14 info: Running
/etc/ha.d/resource.d/Filesystem /dev/drbd1 /var/www/node1 ext3 stop
Filesystem[23840]:      2010/05/19_19:05:14 INFO: Running stop for
/dev/drbd1 on /var/www/node1
Filesystem[23840]:      2010/05/19_19:05:14 INFO: Trying to unmount
/var/www/node1
Filesystem[23840]:      2010/05/19_19:05:14 ERROR: Couldn't unmount
/var/www/node1; trying cleanup with SIGTERM
Filesystem[23840]:      2010/05/19_19:05:14 INFO: Some processes on
/var/www/node1 were signalled
Filesystem[23840]:      2010/05/19_19:05:15 ERROR: Couldn't unmount
/var/www/node1; trying cleanup with SIGTERM
Filesystem[23840]:      2010/05/19_19:05:15 INFO: Some processes on
/var/www/node1 were signalled
Filesystem[23840]:      2010/05/19_19:05:16 ERROR: Couldn't unmount
/var/www/node1; trying cleanup with SIGTERM
Filesystem[23840]:      2010/05/19_19:05:16 INFO: Some processes on
/var/www/node1 were signalled
Filesystem[23840]:      2010/05/19_19:05:17 ERROR: Couldn't unmount
/var/www/node1; trying cleanup with SIGKILL
Filesystem[23840]:      2010/05/19_19:05:17 INFO: Some processes on
/var/www/node1 were signalled
Filesystem[23840]:      2010/05/19_19:05:20 INFO: unmounted
/var/www/node1 successfully
Filesystem[23831]:      2010/05/19_19:05:20 INFO:  Success
ResourceManager[23794]: 2010/05/19_19:05:20 info: Running
/etc/ha.d/resource.d/drbddisk r1 stop
ResourceManager[23794]: 2010/05/19_19:05:20 info: Running
/etc/ha.d/resource.d/IPaddr xx.xx.xx.144 stop
IPaddr[24059]:  2010/05/19_19:05:20 INFO: ifconfig eth1:0 down
IPaddr[24044]:  2010/05/19_19:05:20 INFO:  Success
heartbeat[23596]: 2010/05/19_19:05:20 info: all HA resource release
completed (standby).
heartbeat[20213]: 2010/05/19_19:05:20 info: Local standby process
completed [all].
heartbeat[20213]: 2010/05/19_19:05:21 WARN: 1 lost packet(s) for [node0]
[6017310:6017312]
heartbeat[20213]: 2010/05/19_19:05:21 info: remote resource transition
completed.
heartbeat[20213]: 2010/05/19_19:05:21 info: No pkts missing from node0!
heartbeat[20213]: 2010/05/19_19:05:21 info: Other node completed standby
takeover of all resources.
ipfail[20237]: 2010/05/19_19:05:56 info: Ping node count is balanced.
ipfail[20237]: 2010/05/19_19:05:56 info: Giving up foreign resources
(auto_failback).
ipfail[20237]: 2010/05/19_19:05:56 info: Delayed giveup in 4 seconds.
ipfail[20237]: 2010/05/19_19:06:00 info: giveup() called (timeout worked)
heartbeat[20213]: 2010/05/19_19:06:01 info: node1 wants to go standby
[foreign]
heartbeat[20213]: 2010/05/19_19:06:01 info: standby: node0 can take our
foreign resources
heartbeat[24130]: 2010/05/19_19:06:01 info: give up foreign HA resources
(standby).
ResourceManager[24144]: 2010/05/19_19:06:01 info: Releasing resource
group: node0 xx.xx.xx.143 drbddisk::r0
Filesystem::/dev/drbd0::/var/www/node0::ext3
ResourceManager[24144]: 2010/05/19_19:06:01 info: Running
/etc/ha.d/resource.d/Filesystem /dev/drbd0 /var/www/node0 ext3 stop
Filesystem[24190]:      2010/05/19_19:06:01 INFO: Running stop for
/dev/drbd0 on /var/www/node0
Filesystem[24181]:      2010/05/19_19:06:01 INFO:  Success
ResourceManager[24144]: 2010/05/19_19:06:01 info: Running
/etc/ha.d/resource.d/drbddisk r0 stop
ResourceManager[24144]: 2010/05/19_19:06:01 info: Running
/etc/ha.d/resource.d/IPaddr xx.xx.xx.143 stop
IPaddr[24291]:  2010/05/19_19:06:02 INFO:  Success
heartbeat[24130]: 2010/05/19_19:06:02 info: foreign HA resource release
completed (standby).
heartbeat[20213]: 2010/05/19_19:06:02 info: Local standby process
completed [foreign].
heartbeat[20213]: 2010/05/19_19:06:02 WARN: 1 lost packet(s) for [node0]
[6017336:6017338]
heartbeat[20213]: 2010/05/19_19:06:02 info: remote resource transition
completed.
heartbeat[20213]: 2010/05/19_19:06:02 info: No pkts missing from node0!
heartbeat[20213]: 2010/05/19_19:06:02 info: Other node completed standby
takeover of foreign resources.
heartbeat[20213]: 2010/05/19_19:09:03 info: Link
xx.xx.xx.129:xx.xx.xx.129 up.
heartbeat[20213]: 2010/05/19_19:09:03 WARN: Late heartbeat: Node
xx.xx.xx.129: interval 608910 ms
heartbeat[20213]: 2010/05/19_19:09:03 info: Status update for node
xx.xx.xx.129: status ping
ipfail[20237]: 2010/05/19_19:09:03 info: Link Status update: Link
xx.xx.xx.129/xx.xx.xx.129 now has status up
ipfail[20237]: 2010/05/19_19:09:03 info: Status update: Node
xx.xx.xx.129 now has status ping
ipfail[20237]: 2010/05/19_19:09:03 info: A ping node just came up.
ipfail[20237]: 2010/05/19_19:09:04 info: Asking other side for ping node
count.
ipfail[20237]: 2010/05/19_19:09:07 info: Ping node count is balanced.
ipfail[20237]: 2010/05/19_19:09:07 info: Giving up foreign resources
(auto_failback).
ipfail[20237]: 2010/05/19_19:09:07 info: Delayed giveup in 4 seconds.
ipfail[20237]: 2010/05/19_19:09:07 info: Aborted delayed giveup (7)

> If we say Heartbeat V1 config style is obsolete, use of ipfail is
> obsolete absolutely. If you don't want to move to Pacemaker, try to
> use pingd at least.
>

Should I be using Pacemaker? It seemed rather more complex to me, so I
went with heartbeat.

Thanks for any help/advice you can give me!
_______________________________________________
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