High Availability Samba cluster - DRBD + Heartbeat

Discussion in 'Server Operation' started by djalex, Aug 18, 2006.

  1. djalex

    djalex New Member

    /var/log/ha-log (test01) -contd6
    ===========
    harc[6562]: 2006/08/30_10:47:53 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:47:53 info: Exiting status process 6562 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:47:55 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:47:55 info: Status update for node test02: status ping
    harc[6572]: 2006/08/30_10:47:55 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:47:55 info: Exiting status process 6572 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:47:57 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:47:57 info: Status update for node test02: status ping
    harc[6582]: 2006/08/30_10:47:57 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:47:57 info: Exiting status process 6582 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:47:59 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:47:59 info: Status update for node test02: status ping
    harc[6592]: 2006/08/30_10:47:59 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:47:59 info: Exiting status process 6592 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:01 info: Status update for node test02: status active
    harc[6602]: 2006/08/30_10:48:01 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:01 info: Exiting status process 6602 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:03 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:04 info: test02 wants to go standby [foreign]
    heartbeat[3660]: 2006/08/30_10:48:04 info: standby: other_holds_resources: 1
    heartbeat[3660]: 2006/08/30_10:48:04 info: New standby state: 2
    heartbeat[3660]: 2006/08/30_10:48:04 info: New standby state: 2
    heartbeat[3660]: 2006/08/30_10:48:04 info: other_holds_resources: 1
    heartbeat[3660]: 2006/08/30_10:48:04 info: standby: acquire [foreign] resources from test02
    heartbeat[3660]: 2006/08/30_10:48:04 info: New standby state: 3
    heartbeat[6612]: 2006/08/30_10:48:04 info: acquire local HA resources (standby).
    heartbeat[6612]: 2006/08/30_10:48:04 info: go_standby: who: 2 resource set: local
    heartbeat[6612]: 2006/08/30_10:48:04 info: go_standby: (query/action): (ourkeys/takegroup)
    heartbeat[6612]: 2006/08/30_10:48:04 info: local HA resource acquisition completed (standby).
    heartbeat[6612]: 2006/08/30_10:48:04 info: FIFO message [type ask_resources] written rc=51
    heartbeat[3660]: 2006/08/30_10:48:04 info: Standby resource acquisition done [foreign].
    heartbeat[3660]: 2006/08/30_10:48:04 info: AnnounceTakeover(local 1, foreign 1, reason 'T_RESOURCES(us)' (1))
    heartbeat[3660]: 2006/08/30_10:48:04 info: New standby state: 0
    heartbeat[3660]: 2006/08/30_10:48:04 info: Exiting go_standby process 6612 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:05 info: remote resource transition completed.
    heartbeat[3660]: 2006/08/30_10:48:05 info: AnnounceTakeover(local 1, foreign 1, reason 'T_RESOURCES(us)' (1))
    heartbeat[3660]: 2006/08/30_10:48:05 info: other_holds_resources: 1
    heartbeat[3660]: 2006/08/30_10:48:05 info: other_holds_resources: 1
    heartbeat[3660]: 2006/08/30_10:48:05 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:48:05 info: Status update for node test02: status ping
    harc[6622]: 2006/08/30_10:48:05 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:05 info: Exiting status process 6622 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:07 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:48:07 info: Status update for node test02: status ping
    harc[6632]: 2006/08/30_10:48:07 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:07 info: Exiting status process 6632 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:09 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:48:09 info: Status update for node test02: status ping
    harc[6642]: 2006/08/30_10:48:09 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:09 info: Exiting status process 6642 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:11 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:48:11 info: Status update for node test02: status ping
    harc[6652]: 2006/08/30_10:48:11 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:11 info: Exiting status process 6652 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:13 info: Status update for node test02: status active
    harc[6662]: 2006/08/30_10:48:13 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:13 info: Exiting status process 6662 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:15 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:17 info: Status update for node test02: status active
    harc[6672]: 2006/08/30_10:48:17 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:17 info: Exiting status process 6672 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:19 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:21 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:48:21 info: Status update for node test02: status ping
    harc[6682]: 2006/08/30_10:48:21 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:21 info: Exiting status process 6682 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:23 info: Status update for node test02: status active
    harc[6692]: 2006/08/30_10:48:23 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:23 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:23 info: Exiting status process 6692 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:25 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:48:25 info: Status update for node test02: status ping
    harc[6702]: 2006/08/30_10:48:25 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:25 info: Exiting status process 6702 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:27 info: Status update for node test02: status active
    harc[6712]: 2006/08/30_10:48:27 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:27 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:27 info: Exiting status process 6712 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:29 info: Status update for node test02: status active
    harc[6722]: 2006/08/30_10:48:29 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:29 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:29 info: Exiting status process 6722 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:31 info: Status update for node test02: status active
    harc[6732]: 2006/08/30_10:48:31 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:31 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:31 info: Exiting status process 6732 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:33 info: Status update for node test02: status active
    harc[6742]: 2006/08/30_10:48:33 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:33 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:33 info: Exiting status process 6742 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:35 info: Status update for node test02: status active
    harc[6752]: 2006/08/30_10:48:35 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:35 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:35 info: Exiting status process 6752 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:37 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:48:37 info: Status update for node test02: status ping
    harc[6762]: 2006/08/30_10:48:37 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:37 info: Exiting status process 6762 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:39 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:48:39 info: Status update for node test02: status ping
    harc[6772]: 2006/08/30_10:48:39 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:39 info: Exiting status process 6772 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:41 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:48:41 info: Status update for node test02: status ping
    harc[6782]: 2006/08/30_10:48:41 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:41 info: Exiting status process 6782 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:43 info: Status update for node test02: status active
    harc[6792]: 2006/08/30_10:48:43 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:43 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:43 info: Exiting status process 6792 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:45 info: Status update for node test02: status active
    harc[6802]: 2006/08/30_10:48:45 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:45 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:45 info: Exiting status process 6802 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:47 info: Status update for node test02: status active
    harc[6812]: 2006/08/30_10:48:47 info: Running /etc/ha.d/rc.d/status status
     
    Last edited: Sep 1, 2006
  2. djalex

    djalex New Member

    /var/log/ha-log (test01) -contd7
    ===========
    heartbeat[3660]: 2006/08/30_10:48:47 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:47 info: Exiting status process 6812 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:49 info: Status update for node test02: status active
    harc[6822]: 2006/08/30_10:48:49 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:49 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:49 info: Exiting status process 6822 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:51 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:48:51 info: Status update for node test02: status ping
    harc[6832]: 2006/08/30_10:48:51 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:51 info: Exiting status process 6832 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:53 info: Status update for node test02: status active
    harc[6842]: 2006/08/30_10:48:53 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:53 info: Exiting status process 6842 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:55 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:57 info: Status update for node test02: status active
    harc[6852]: 2006/08/30_10:48:57 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:57 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:48:57 info: Exiting status process 6852 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:48:59 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:48:59 info: Status update for node test02: status ping
    harc[6862]: 2006/08/30_10:48:59 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:48:59 info: Exiting status process 6862 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:01 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:49:01 info: Status update for node test02: status ping
    harc[6872]: 2006/08/30_10:49:01 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:01 info: Exiting status process 6872 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:03 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:49:03 info: Status update for node test02: status ping
    harc[6882]: 2006/08/30_10:49:03 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:03 info: Exiting status process 6882 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:05 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:49:05 info: Status update for node test02: status ping
    harc[6893]: 2006/08/30_10:49:05 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:05 info: Exiting status process 6893 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:07 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:49:07 info: Status update for node test02: status ping
    harc[6903]: 2006/08/30_10:49:07 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:07 info: Exiting status process 6903 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:09 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:49:09 info: Status update for node test02: status ping
    harc[6913]: 2006/08/30_10:49:09 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:09 info: Exiting status process 6913 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:11 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:49:11 info: Status update for node test02: status ping
    harc[6923]: 2006/08/30_10:49:11 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:11 info: Exiting status process 6923 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:13 info: Status update for node test02: status active
    harc[6933]: 2006/08/30_10:49:13 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:13 info: Exiting status process 6933 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:15 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:49:17 info: Status update for node test02: status active
    harc[6943]: 2006/08/30_10:49:17 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:17 info: Exiting status process 6943 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:19 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:49:21 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:49:21 info: Status update for node test02: status ping
    harc[6953]: 2006/08/30_10:49:21 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:21 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:49:21 info: other_holds_resources: 0
    heartbeat[3660]: 2006/08/30_10:49:21 info: Exiting status process 6953 returned rc 0.
    harc[6963]: 2006/08/30_10:49:21 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:21 info: Exiting status process 6963 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:23 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:49:25 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:49:25 info: Status update for node test02: status ping
    harc[6973]: 2006/08/30_10:49:25 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:25 info: Exiting status process 6973 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:27 info: Status update for node test02: status active
    heartbeat[3660]: 2006/08/30_10:49:27 info: Status update for node test02: status ping
    harc[6983]: 2006/08/30_10:49:27 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:27 info: Exiting status process 6983 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:28 WARN: Shutdown delayed until current resource activity finishes.
    heartbeat[3660]: 2006/08/30_10:49:29 info: Status update for node test02: status active
    harc[7000]: 2006/08/30_10:49:29 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:29 info: Exiting status process 7000 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:31 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:49:31 info: Status update for node test02: status active
    harc[7010]: 2006/08/30_10:49:31 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:31 info: Exiting status process 7010 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:33 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:49:33 info: Status update for node test02: status active
    harc[7020]: 2006/08/30_10:49:33 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:33 info: Exiting status process 7020 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:35 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:49:35 info: Status update for node test02: status active
    harc[7030]: 2006/08/30_10:49:35 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:35 info: Exiting status process 7030 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:37 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:49:37 info: Status update for node test02: status active
    harc[7040]: 2006/08/30_10:49:37 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:37 info: Exiting status process 7040 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:39 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:49:39 info: Status update for node test02: status active
    harc[7050]: 2006/08/30_10:49:39 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:39 info: Exiting status process 7050 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:41 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:49:41 info: Status update for node test02: status active
    harc[7060]: 2006/08/30_10:49:41 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:41 info: Exiting status process 7060 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:43 info: Status update for node test02: status ping
    heartbeat[3660]: 2006/08/30_10:49:43 info: Status update for node test02: status active
    harc[7070]: 2006/08/30_10:49:43 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:49:43 info: Exiting status process 7070 returned rc 0.
    heartbeat[3660]: 2006/08/30_10:49:43 info: hb_giveup_resources(): current status: active
    heartbeat[3660]: 2006/08/30_10:49:43 info: Heartbeat shutdown in progress. (3660)
    heartbeat[3660]: 2006/08/30_10:49:43 info: Received shutdown notice from 'test02'.
    heartbeat[3660]: 2006/08/30_10:49:43 info: Resource takeover cancelled - shutdown in progress.
    heartbeat[7080]: 2006/08/30_10:49:43 info: Giving up all HA resources.
    ResourceManager[7090]: 2006/08/30_10:49:43 info: Releasing resource group: test02 IPaddr::192.168.50.195/24/eth0 drbddisk::r0 Filesystem::/dev/drbd0 smb
    ResourceManager[7090]: 2006/08/30_10:49:43 info: Running /etc/init.d/smb stop
    ResourceManager[7090]: 2006/08/30_10:49:44 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[7090]: 2006/08/30_10:49:45 info: Retrying failed stop operation [smb]
    ResourceManager[7090]: 2006/08/30_10:49:45 info: Running /etc/init.d/smb stop
    ResourceManager[7090]: 2006/08/30_10:49:45 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[3660]: 2006/08/30_10:49:45 info: Status update for node test02: status ping
     
    Last edited: Sep 1, 2006
  3. djalex

    djalex New Member

    /var/log/ha-log (test01) -contd8
    ===========
    heartbeat[3660]: 2006/08/30_10:49:45 info: Status update for node test02: status active
    ResourceManager[7090]: 2006/08/30_10:49:46 info: Retrying failed stop operation [smb]
    ResourceManager[7090]: 2006/08/30_10:49:46 info: Running /etc/init.d/smb stop
    ResourceManager[7090]: 2006/08/30_10:49:46 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[3660]: 2006/08/30_10:49:47 info: Status update for node test02: status ping
    ResourceManager[7090]: 2006/08/30_10:49:47 info: Retrying failed stop operation [smb]
    ResourceManager[7090]: 2006/08/30_10:49:47 info: Running /etc/init.d/smb stop
    ResourceManager[7090]: 2006/08/30_10:49:47 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[7090]: 2006/08/30_10:49:48 info: Retrying failed stop operation [smb]
    ResourceManager[7090]: 2006/08/30_10:49:48 info: Running /etc/init.d/smb stop
    ResourceManager[7090]: 2006/08/30_10:49:48 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[7090]: 2006/08/30_10:49:49 info: Retrying failed stop operation [smb]
    ResourceManager[7090]: 2006/08/30_10:49:49 info: Running /etc/init.d/smb stop
    ResourceManager[7090]: 2006/08/30_10:49:49 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[7090]: 2006/08/30_10:49:50 info: Retrying failed stop operation [smb]
    ResourceManager[7090]: 2006/08/30_10:49:50 info: Running /etc/init.d/smb stop
    ResourceManager[7090]: 2006/08/30_10:49:50 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[7090]: 2006/08/30_10:49:51 info: Retrying failed stop operation [smb]
    ResourceManager[7090]: 2006/08/30_10:49:51 info: Running /etc/init.d/smb stop
    ResourceManager[7090]: 2006/08/30_10:49:51 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[7090]: 2006/08/30_10:49:52 info: Retrying failed stop operation [smb]
    ResourceManager[7090]: 2006/08/30_10:49:52 info: Running /etc/init.d/smb stop
    ResourceManager[7090]: 2006/08/30_10:49:52 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[7090]: 2006/08/30_10:49:53 info: Retrying failed stop operation [smb]
    ResourceManager[7090]: 2006/08/30_10:49:53 info: Running /etc/init.d/smb stop
    ResourceManager[7090]: 2006/08/30_10:49:53 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[7090]: 2006/08/30_10:49:54 info: Retrying failed stop operation [smb]
    ResourceManager[7090]: 2006/08/30_10:49:54 info: Running /etc/init.d/smb stop
    ResourceManager[7090]: 2006/08/30_10:49:55 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[7090]: 2006/08/30_10:49:55 ERROR: Resource script for smb probably not LSB-compliant.
    ResourceManager[7090]: 2006/08/30_10:49:55 WARN: it (smb) MUST succeed on a stop when already stopped
    ResourceManager[7090]: 2006/08/30_10:49:55 WARN: Machine reboot narrowly avoided!
    ResourceManager[7090]: 2006/08/30_10:49:55 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[7090]: 2006/08/30_10:49:55 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[7090]: 2006/08/30_10:49:56 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[7090]: 2006/08/30_10:49:56 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[7090]: 2006/08/30_10:49:56 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[7090]: 2006/08/30_10:49:57 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[7090]: 2006/08/30_10:49:57 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[7090]: 2006/08/30_10:49:57 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[7090]: 2006/08/30_10:49:58 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[7090]: 2006/08/30_10:49:58 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[7090]: 2006/08/30_10:49:58 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[7090]: 2006/08/30_10:49:59 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[7090]: 2006/08/30_10:49:59 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[7090]: 2006/08/30_10:49:59 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[7090]: 2006/08/30_10:50:00 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[7090]: 2006/08/30_10:50:00 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[7090]: 2006/08/30_10:50:00 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[7090]: 2006/08/30_10:50:01 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[7090]: 2006/08/30_10:50:01 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[7090]: 2006/08/30_10:50:01 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[7090]: 2006/08/30_10:50:02 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[7090]: 2006/08/30_10:50:02 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[7090]: 2006/08/30_10:50:02 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[7090]: 2006/08/30_10:50:03 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[7090]: 2006/08/30_10:50:03 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[7090]: 2006/08/30_10:50:03 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[7090]: 2006/08/30_10:50:04 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[7090]: 2006/08/30_10:50:04 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[7090]: 2006/08/30_10:50:04 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[7090]: 2006/08/30_10:50:05 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[7090]: 2006/08/30_10:50:05 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[7090]: 2006/08/30_10:50:05 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[7090]: 2006/08/30_10:50:05 ERROR: Resource script for Filesystem::/dev/drbd0 probably not LSB-compliant.
    ResourceManager[7090]: 2006/08/30_10:50:05 WARN: it (Filesystem::/dev/drbd0) MUST succeed on a stop when already stopped
    ResourceManager[7090]: 2006/08/30_10:50:05 WARN: Machine reboot narrowly avoided!
    ResourceManager[7090]: 2006/08/30_10:50:05 info: Running /etc/ha.d/resource.d/drbddisk r0 stop
    ResourceManager[7090]: 2006/08/30_10:50:05 info: Running /etc/ha.d/resource.d/IPaddr 192.168.50.195/24/eth0 stop
    IPaddr[8125]: 2006/08/30_10:50:05 INFO: IPaddr Success
    heartbeat[7080]: 2006/08/30_10:50:05 info: All HA resources relinquished.
     
    Last edited: Sep 1, 2006
  4. djalex

    djalex New Member

    /var/log/ha-log (test01) -contd9
    ===========
    heartbeat[7080]: 2006/08/30_10:50:05 info: FIFO message [type shutdone] written rc=27
    harc[8224]: 2006/08/30_10:50:05 info: Running /etc/ha.d/rc.d/status status
    heartbeat[3660]: 2006/08/30_10:50:07 info: killing HBFIFO process 3667 with signal 15
    heartbeat[3660]: 2006/08/30_10:50:07 info: killing HBWRITE process 3668 with signal 15
    heartbeat[3660]: 2006/08/30_10:50:07 info: killing HBREAD process 3669 with signal 15
    heartbeat[3660]: 2006/08/30_10:50:07 info: killing HBWRITE process 3670 with signal 15
    heartbeat[3660]: 2006/08/30_10:50:07 info: killing HBREAD process 3671 with signal 15
    heartbeat[3660]: 2006/08/30_10:50:07 info: killing HBWRITE process 3672 with signal 15
    heartbeat[3660]: 2006/08/30_10:50:07 info: killing HBREAD process 3673 with signal 15
    heartbeat[3660]: 2006/08/30_10:50:07 info: Core process 3667 exited. 7 remaining
    heartbeat[3660]: 2006/08/30_10:50:07 info: Core process 3668 exited. 6 remaining
    heartbeat[3660]: 2006/08/30_10:50:07 info: Core process 3669 exited. 5 remaining
    heartbeat[3660]: 2006/08/30_10:50:07 info: Core process 3670 exited. 4 remaining
    heartbeat[3660]: 2006/08/30_10:50:07 info: Core process 3671 exited. 3 remaining
    heartbeat[3660]: 2006/08/30_10:50:07 info: Core process 3672 exited. 2 remaining
    heartbeat[3660]: 2006/08/30_10:50:07 info: Core process 3673 exited. 1 remaining
    heartbeat[3660]: 2006/08/30_10:50:07 info: test01 Heartbeat shutdown complete.
    heartbeat[8381]: 2006/08/30_10:50:21 ERROR: Invalid user id name [hacluster]
    heartbeat[8381]: 2006/08/30_10:50:21 ERROR: Bad uid list [hacluster]
    heartbeat[8381]: 2006/08/30_10:50:21 ERROR: Invalid apiauth directive [ipfail uid=hacluster]
    heartbeat[8381]: 2006/08/30_10:50:21 info: Syntax: apiauth client [uid=uidlist] [gid=gidlist]
    heartbeat[8381]: 2006/08/30_10:50:21 info: Where uidlist is a comma-separated list of uids,
    heartbeat[8381]: 2006/08/30_10:50:21 info: and gidlist is a comma-separated list of gids
    heartbeat[8381]: 2006/08/30_10:50:21 info: One or the other must be specified.
    heartbeat[8381]: 2006/08/30_10:50:21 ERROR: Invalid user id name [hacluster]
    heartbeat[8381]: 2006/08/30_10:50:21 ERROR: Bad uid list [hacluster]
    heartbeat[8381]: 2006/08/30_10:50:21 ERROR: Invalid apiauth directive [ccm uid=hacluster]
    heartbeat[8381]: 2006/08/30_10:50:21 info: Syntax: apiauth client [uid=uidlist] [gid=gidlist]
    heartbeat[8381]: 2006/08/30_10:50:21 info: Where uidlist is a comma-separated list of uids,
    heartbeat[8381]: 2006/08/30_10:50:21 info: and gidlist is a comma-separated list of gids
    heartbeat[8381]: 2006/08/30_10:50:21 info: One or the other must be specified.
    heartbeat[8381]: 2006/08/30_10:50:21 ERROR: Invalid group name [haclient]
    heartbeat[8381]: 2006/08/30_10:50:21 ERROR: Bad gid list [haclient]
    heartbeat[8381]: 2006/08/30_10:50:21 ERROR: Invalid apiauth directive [ping gid=haclient]
    heartbeat[8381]: 2006/08/30_10:50:21 info: Syntax: apiauth client [uid=uidlist] [gid=gidlist]
    heartbeat[8381]: 2006/08/30_10:50:21 info: Where uidlist is a comma-separated list of uids,
    heartbeat[8381]: 2006/08/30_10:50:21 info: and gidlist is a comma-separated list of gids
    heartbeat[8381]: 2006/08/30_10:50:21 info: One or the other must be specified.
    heartbeat[8381]: 2006/08/30_10:50:21 ERROR: Invalid group name [haclient]
    heartbeat[8381]: 2006/08/30_10:50:21 ERROR: Bad gid list [haclient]
    heartbeat[8381]: 2006/08/30_10:50:21 ERROR: Invalid apiauth directive [anon gid=haclient]
    heartbeat[8381]: 2006/08/30_10:50:21 info: Syntax: apiauth client [uid=uidlist] [gid=gidlist]
    heartbeat[8381]: 2006/08/30_10:50:21 info: Where uidlist is a comma-separated list of uids,
    heartbeat[8381]: 2006/08/30_10:50:21 info: and gidlist is a comma-separated list of gids
    heartbeat[8381]: 2006/08/30_10:50:21 info: One or the other must be specified.
    heartbeat[8381]: 2006/08/30_10:50:21 info: AUTH: i=3: key = 0x8f10260, auth=0x5e1934, authname=md5
    heartbeat[8381]: 2006/08/30_10:50:21 WARN: Logging daemon is disabled --enabling logging daemon is recommended
    heartbeat[8381]: 2006/08/30_10:50:21 info: **************************
    heartbeat[8381]: 2006/08/30_10:50:21 info: Configuration validated. Starting heartbeat 2.0.7
    heartbeat[8382]: 2006/08/30_10:50:21 info: heartbeat: version 2.0.7
    heartbeat[8382]: 2006/08/30_10:50:21 ERROR: change_logfile_ownship: entry for user hacluster not found
    heartbeat[8382]: 2006/08/30_10:50:21 info: Heartbeat generation: 99
    heartbeat[8382]: 2006/08/30_10:50:21 info: G_main_add_TriggerHandler: Added signal manual handler
    heartbeat[8382]: 2006/08/30_10:50:21 info: G_main_add_TriggerHandler: Added signal manual handler
    heartbeat[8382]: 2006/08/30_10:50:21 info: Removing /var/run/heartbeat/rsctmp failed, recreating.
    heartbeat[8382]: 2006/08/30_10:50:21 info: glib: UDP Broadcast heartbeat started on port 694 (694) interface eth0
    heartbeat[8382]: 2006/08/30_10:50:21 info: glib: UDP Broadcast heartbeat closed on port 694 interface eth0 - Status: 1
    heartbeat[8382]: 2006/08/30_10:50:21 info: glib: ping heartbeat started.
    heartbeat[8382]: 2006/08/30_10:50:21 info: glib: ping heartbeat started.
    heartbeat[8382]: 2006/08/30_10:50:21 info: G_main_add_SignalHandler: Added signal handler for signal 17
    heartbeat[8382]: 2006/08/30_10:50:21 info: Local status now set to: 'up'
    heartbeat[8382]: 2006/08/30_10:50:22 info: Status update for node test02: status up
    heartbeat[8382]: 2006/08/30_10:50:22 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:22 info: Link test01:eth0 up.
    heartbeat[8382]: 2006/08/30_10:50:22 info: Status update for node test01: status ping
    harc[8397]: 2006/08/30_10:50:22 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:22 info: Exiting status process 8397 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:22 info: Status update for node test02: status up
    harc[8408]: 2006/08/30_10:50:22 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:22 info: Exiting status process 8408 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:23 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:24 info: Status update for node test02: status up
    harc[8418]: 2006/08/30_10:50:24 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:24 info: Exiting status process 8418 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:25 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:26 info: Status update for node test02: status up
    harc[8428]: 2006/08/30_10:50:26 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:26 info: Exiting status process 8428 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:27 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:28 info: Status update for node test02: status up
    harc[8438]: 2006/08/30_10:50:28 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:28 info: Exiting status process 8438 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:29 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:30 info: Status update for node test02: status up
    harc[8448]: 2006/08/30_10:50:30 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:30 info: Exiting status process 8448 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:31 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:32 info: Status update for node test02: status up
    harc[8458]: 2006/08/30_10:50:32 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:32 info: Exiting status process 8458 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:33 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:34 info: Status update for node test02: status up
    harc[8468]: 2006/08/30_10:50:34 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:34 info: Exiting status process 8468 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:35 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:36 info: Status update for node test02: status up
    harc[8478]: 2006/08/30_10:50:36 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:36 info: Exiting status process 8478 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:37 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:38 info: Status update for node test02: status up
    harc[8488]: 2006/08/30_10:50:38 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:38 info: Exiting status process 8488 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:39 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:40 info: Status update for node test02: status up
    harc[8498]: 2006/08/30_10:50:40 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:40 info: Exiting status process 8498 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:41 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:42 info: Status update for node test02: status up
     
    Last edited: Sep 1, 2006
  5. djalex

    djalex New Member

    /var/log/ha-log (test01) -contd10
    ===========
    harc[8508]: 2006/08/30_10:50:42 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:42 info: Exiting status process 8508 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:43 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:44 info: Status update for node test02: status up
    harc[8518]: 2006/08/30_10:50:44 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:44 info: Exiting status process 8518 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:45 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:46 info: Status update for node test02: status up
    harc[8528]: 2006/08/30_10:50:46 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:46 info: Exiting status process 8528 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:47 WARN: 1 lost packet(s) for [test02] [19:21]
    heartbeat[8382]: 2006/08/30_10:50:47 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:50:47 info: No pkts missing from test02!
    harc[8538]: 2006/08/30_10:50:47 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:47 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:47 info: Exiting status process 8538 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:48 info: Status update for node test02: status active
    harc[8548]: 2006/08/30_10:50:48 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:48 info: Exiting status process 8548 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:49 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:50 info: Status update for node test02: status active
    harc[8558]: 2006/08/30_10:50:50 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:50:50 info: Exiting status process 8558 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:51 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:51 WARN: node test02: is dead
    heartbeat[8382]: 2006/08/30_10:50:51 info: Comm_now_up(): updating status to active
    heartbeat[8382]: 2006/08/30_10:50:51 info: Local status now set to: 'active'
    heartbeat[8382]: 2006/08/30_10:50:51 WARN: No STONITH device configured.
    heartbeat[8382]: 2006/08/30_10:50:51 WARN: Shared disks are not protected.
    heartbeat[8382]: 2006/08/30_10:50:51 info: Resources being acquired from test02.
    harc[8568]: 2006/08/30_10:50:51 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8569]: 2006/08/30_10:50:51 info: No local resources [/usr/lib/heartbeat/ResourceManager listkeys test01] to acquire.
    heartbeat[8569]: 2006/08/30_10:50:51 info: FIFO message [type resource] written rc=79
    heartbeat[8382]: 2006/08/30_10:50:51 info: AnnounceTakeover(local 0, foreign 1, reason 'T_RESOURCES' (0))
    heartbeat[8382]: 2006/08/30_10:50:51 info: AnnounceTakeover(local 1, foreign 1, reason 'T_RESOURCES(us)' (0))
    heartbeat[8382]: 2006/08/30_10:50:51 info: Initial resource acquisition complete (T_RESOURCES(us))
    heartbeat[8382]: 2006/08/30_10:50:51 info: STATE 1 => 3
    heartbeat[8382]: 2006/08/30_10:50:51 info: Exiting req_our_resources process 8569 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:50:51 info: AnnounceTakeover(local 1, foreign 1, reason 'req_our_resources' (1))
    mach_down[8582]: 2006/08/30_10:50:52 info: Taking over resource group IPaddr::192.168.50.195/24/eth0
    ResourceManager[8608]: 2006/08/30_10:50:52 info: Acquiring resource group: test02 IPaddr::192.168.50.195/24/eth0 drbddisk::r0 Filesystem::/dev/drbd0 smb
    IPaddr[8632]: 2006/08/30_10:50:52 INFO: IPaddr Resource is stopped
    ResourceManager[8608]: 2006/08/30_10:50:52 info: Running /etc/ha.d/resource.d/IPaddr 192.168.50.195/24/eth0 start
    IPaddr[8831]: 2006/08/30_10:50:52 INFO: eval /sbin/ifconfig eth0:0 192.168.50.195 netmask 255.255.255.0 broadcast 192.168.50.255
    IPaddr[8831]: 2006/08/30_10:50:52 INFO: Sending Gratuitous Arp for 192.168.50.195 on eth0:0 [eth0]
    IPaddr[8831]: 2006/08/30_10:50:52 INFO: /usr/lib/heartbeat/send_arp -i 500 -r 10 -p /var/run/heartbeat/rsctmp/send_arp/send_arp-192.168.50.195 eth0 192.168.50.195 auto 192.168.50.195 ffffffffffff
    IPaddr[8749]: 2006/08/30_10:50:52 INFO: IPaddr Success
    ResourceManager[8608]: 2006/08/30_10:50:52 info: Running /etc/ha.d/resource.d/drbddisk r0 start
    heartbeat[8382]: 2006/08/30_10:50:52 info: other_holds_resources: 3
    heartbeat[8382]: 2006/08/30_10:50:52 ERROR: Both machines own our resources!
    heartbeat[8382]: 2006/08/30_10:50:52 ERROR: Both machines own foreign resources!
    heartbeat[8382]: 2006/08/30_10:50:52 info: other_holds_resources: 3
    heartbeat[8382]: 2006/08/30_10:50:52 ERROR: Both machines own our resources!
    heartbeat[8382]: 2006/08/30_10:50:52 ERROR: Both machines own foreign resources!
    heartbeat[8382]: 2006/08/30_10:50:52 info: remote resource transition completed.
    heartbeat[8382]: 2006/08/30_10:50:52 info: AnnounceTakeover(local 1, foreign 1, reason 'T_RESOURCES(us)' (1))
    heartbeat[8382]: 2006/08/30_10:50:52 ERROR: Both machines own our resources!
    heartbeat[8382]: 2006/08/30_10:50:52 ERROR: Both machines own foreign resources!
    heartbeat[8382]: 2006/08/30_10:50:52 info: other_holds_resources: 3
    heartbeat[8382]: 2006/08/30_10:50:52 info: remote resource transition completed.
    heartbeat[8382]: 2006/08/30_10:50:52 info: Local Resource acquisition completed. (none)
    heartbeat[8382]: 2006/08/30_10:50:52 info: AnnounceTakeover(local 1, foreign 1, reason 'T_RESOURCES(us)' (1))
    heartbeat[8382]: 2006/08/30_10:50:52 ERROR: Both machines own our resources!
    heartbeat[8382]: 2006/08/30_10:50:52 ERROR: Both machines own foreign resources!
    heartbeat[8382]: 2006/08/30_10:50:52 info: AnnounceTakeover(local 1, foreign 1, reason 'T_RESOURCES(them)' (1))
    heartbeat[8382]: 2006/08/30_10:50:52 info: STATE 3 => 4
    heartbeat[8382]: 2006/08/30_10:50:52 ERROR: Both machines own our resources!
    heartbeat[8382]: 2006/08/30_10:50:52 ERROR: Both machines own foreign resources!
    heartbeat[8382]: 2006/08/30_10:50:52 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:50:52 info: other_holds_resources: 3
    heartbeat[8382]: 2006/08/30_10:50:52 ERROR: Both machines own our resources!
    heartbeat[8382]: 2006/08/30_10:50:52 ERROR: Both machines own foreign resources!
    heartbeat[8382]: 2006/08/30_10:50:53 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:54 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:50:55 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:50:56 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:50:57 info: Status update for node test02: status ping
    ResourceManager[8608]: 2006/08/30_10:50:57 ERROR: Return code 20 from /etc/ha.d/resource.d/drbddisk
    ResourceManager[8608]: 2006/08/30_10:50:57 CRIT: Giving up resources due to failure of drbddisk::r0
    ResourceManager[8608]: 2006/08/30_10:50:57 info: Releasing resource group: test02 IPaddr::192.168.50.195/24/eth0 drbddisk::r0 Filesystem::/dev/drbd0 smb
    ResourceManager[8608]: 2006/08/30_10:50:57 info: Running /etc/init.d/smb stop
     
    Last edited: Sep 1, 2006
  6. djalex

    djalex New Member

    /var/log/ha-log (test01) -contd11
    ===========
    ResourceManager[8608]: 2006/08/30_10:50:57 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[8608]: 2006/08/30_10:50:58 info: Retrying failed stop operation [smb]
    ResourceManager[8608]: 2006/08/30_10:50:58 info: Running /etc/init.d/smb stop
    ResourceManager[8608]: 2006/08/30_10:50:58 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:50:58 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:50:59 info: Status update for node test02: status ping
    ResourceManager[8608]: 2006/08/30_10:50:59 info: Retrying failed stop operation [smb]
    ResourceManager[8608]: 2006/08/30_10:50:59 info: Running /etc/init.d/smb stop
    ResourceManager[8608]: 2006/08/30_10:50:59 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[8608]: 2006/08/30_10:51:00 info: Retrying failed stop operation [smb]
    ResourceManager[8608]: 2006/08/30_10:51:00 info: Running /etc/init.d/smb stop
    ResourceManager[8608]: 2006/08/30_10:51:00 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:51:00 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:51:01 info: Status update for node test02: status ping
    ResourceManager[8608]: 2006/08/30_10:51:01 info: Retrying failed stop operation [smb]
    ResourceManager[8608]: 2006/08/30_10:51:01 info: Running /etc/init.d/smb stop
    ResourceManager[8608]: 2006/08/30_10:51:02 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:51:02 info: Status update for node test02: status active
    ResourceManager[8608]: 2006/08/30_10:51:03 info: Retrying failed stop operation [smb]
    ResourceManager[8608]: 2006/08/30_10:51:03 info: Running /etc/init.d/smb stop
    ResourceManager[8608]: 2006/08/30_10:51:03 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:51:03 info: Status update for node test02: status ping
    ResourceManager[8608]: 2006/08/30_10:51:04 info: Retrying failed stop operation [smb]
    ResourceManager[8608]: 2006/08/30_10:51:04 info: Running /etc/init.d/smb stop
    ResourceManager[8608]: 2006/08/30_10:51:04 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:51:04 info: Status update for node test02: status active
    ResourceManager[8608]: 2006/08/30_10:51:05 info: Retrying failed stop operation [smb]
    ResourceManager[8608]: 2006/08/30_10:51:05 info: Running /etc/init.d/smb stop
    ResourceManager[8608]: 2006/08/30_10:51:05 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:51:05 info: Status update for node test02: status ping
    ResourceManager[8608]: 2006/08/30_10:51:06 info: Retrying failed stop operation [smb]
    ResourceManager[8608]: 2006/08/30_10:51:06 info: Running /etc/init.d/smb stop
    ResourceManager[8608]: 2006/08/30_10:51:06 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:51:06 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:51:07 info: Status update for node test02: status ping
    ResourceManager[8608]: 2006/08/30_10:51:07 info: Retrying failed stop operation [smb]
    ResourceManager[8608]: 2006/08/30_10:51:07 info: Running /etc/init.d/smb stop
    ResourceManager[8608]: 2006/08/30_10:51:07 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[8608]: 2006/08/30_10:51:08 info: Retrying failed stop operation [smb]
    ResourceManager[8608]: 2006/08/30_10:51:08 info: Running /etc/init.d/smb stop
    ResourceManager[8608]: 2006/08/30_10:51:08 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[8608]: 2006/08/30_10:51:08 ERROR: Resource script for smb probably not LSB-compliant.
    ResourceManager[8608]: 2006/08/30_10:51:08 WARN: it (smb) MUST succeed on a stop when already stopped
    ResourceManager[8608]: 2006/08/30_10:51:08 WARN: Machine reboot narrowly avoided!
    ResourceManager[8608]: 2006/08/30_10:51:08 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[8608]: 2006/08/30_10:51:08 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:51:08 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:51:09 info: Status update for node test02: status ping
    ResourceManager[8608]: 2006/08/30_10:51:09 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[8608]: 2006/08/30_10:51:09 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[8608]: 2006/08/30_10:51:09 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[8608]: 2006/08/30_10:51:10 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[8608]: 2006/08/30_10:51:10 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[8608]: 2006/08/30_10:51:10 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:51:10 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:51:11 info: Status update for node test02: status ping
    ResourceManager[8608]: 2006/08/30_10:51:11 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[8608]: 2006/08/30_10:51:11 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[8608]: 2006/08/30_10:51:11 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[8608]: 2006/08/30_10:51:12 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    heartbeat[8382]: 2006/08/30_10:51:12 info: Status update for node test02: status active
    ResourceManager[8608]: 2006/08/30_10:51:12 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[8608]: 2006/08/30_10:51:13 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:51:13 info: Status update for node test02: status ping
    ResourceManager[8608]: 2006/08/30_10:51:14 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[8608]: 2006/08/30_10:51:14 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[8608]: 2006/08/30_10:51:14 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:51:14 info: Status update for node test02: status active
    ResourceManager[8608]: 2006/08/30_10:51:15 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[8608]: 2006/08/30_10:51:15 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[8608]: 2006/08/30_10:51:15 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:51:15 info: Status update for node test02: status ping
    ResourceManager[8608]: 2006/08/30_10:51:16 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[8608]: 2006/08/30_10:51:16 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[8608]: 2006/08/30_10:51:16 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:51:16 info: Status update for node test02: status active
    ResourceManager[8608]: 2006/08/30_10:51:17 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[8608]: 2006/08/30_10:51:17 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[8608]: 2006/08/30_10:51:17 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:51:17 info: Status update for node test02: status ping
    ResourceManager[8608]: 2006/08/30_10:51:18 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[8608]: 2006/08/30_10:51:18 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[8608]: 2006/08/30_10:51:18 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:51:18 info: Status update for node test02: status active
    ResourceManager[8608]: 2006/08/30_10:51:19 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[8608]: 2006/08/30_10:51:19 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[8608]: 2006/08/30_10:51:19 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[8608]: 2006/08/30_10:51:19 ERROR: Resource script for Filesystem::/dev/drbd0 probably not LSB-compliant.
    ResourceManager[8608]: 2006/08/30_10:51:19 WARN: it (Filesystem::/dev/drbd0) MUST succeed on a stop when already stopped
    ResourceManager[8608]: 2006/08/30_10:51:19 WARN: Machine reboot narrowly avoided!
    ResourceManager[8608]: 2006/08/30_10:51:19 info: Running /etc/ha.d/resource.d/drbddisk r0 stop
    ResourceManager[8608]: 2006/08/30_10:51:19 info: Running /etc/ha.d/resource.d/IPaddr 192.168.50.195/24/eth0 stop
    heartbeat[8382]: 2006/08/30_10:51:19 info: Status update for node test02: status ping
    IPaddr[10122]: 2006/08/30_10:51:19 INFO: /sbin/route -n del -host 192.168.50.195
    IPaddr[10122]: 2006/08/30_10:51:19 INFO: /sbin/ifconfig eth0:0 192.168.50.195 down
    IPaddr[10122]: 2006/08/30_10:51:19 INFO: IP Address 192.168.50.195 released
    IPaddr[10040]: 2006/08/30_10:51:19 INFO: IPaddr Success
     
    Last edited: Sep 1, 2006
  7. djalex

    djalex New Member

    ha-log(test01)-contd12

    mach_down[8582]:2006/08/30_10:51:19 info: /usr/lib/heartbeat/mach_down: nice_failback: foreign resources acquired
    mach_down[8582]: 2006/08/30_10:51:19 info: mach_down takeover complete for node test02.
    heartbeat[8382]: 2006/08/30_10:51:19 info: AnnounceTakeover(local 1, foreign 1, reason 'T_RESOURCES(us)' (1))
    heartbeat[8382]: 2006/08/30_10:51:19 info: mach_down takeover complete.
    heartbeat[8382]: 2006/08/30_10:51:19 info: AnnounceTakeover(local 1, foreign 1, reason 'mach_down' (1))
    heartbeat[8382]: 2006/08/30_10:51:19 ERROR: Both machines own our resources!
    heartbeat[8382]: 2006/08/30_10:51:19 ERROR: Both machines own foreign resources!
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 8568 returned rc 0.
    harc[10171]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10171 returned rc 0.
    harc[10181]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10181 returned rc 0.
    harc[10191]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10191 returned rc 0.
    harc[10201]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10201 returned rc 0.
    harc[10211]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10211 returned rc 0.
    harc[10221]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10221 returned rc 0.
    harc[10231]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10231 returned rc 0.
    harc[10241]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10241 returned rc 0.
    harc[10251]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10251 returned rc 0.
    harc[10261]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10261 returned rc 0.
    harc[10271]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10271 returned rc 0.
    harc[10281]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10281 returned rc 0.
    harc[10291]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10291 returned rc 0.
    harc[10301]: 2006/08/30_10:51:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:19 info: Exiting status process 10301 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:20 info: Status update for node test02: status active
    harc[10311]: 2006/08/30_10:51:21 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:21 info: Exiting status process 10311 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:21 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:23 info: Status update for node test02: status active
    harc[10321]: 2006/08/30_10:51:23 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:23 info: Exiting status process 10321 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:23 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:25 info: Status update for node test02: status active
    harc[10331]: 2006/08/30_10:51:25 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:25 info: Exiting status process 10331 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:25 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:27 info: Status update for node test02: status active
    harc[10341]: 2006/08/30_10:51:27 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:27 info: Exiting status process 10341 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:27 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:29 info: Status update for node test02: status active
    harc[10351]: 2006/08/30_10:51:29 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:29 info: Exiting status process 10351 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:29 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:31 info: Status update for node test02: status active
    harc[10361]: 2006/08/30_10:51:31 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:31 info: Exiting status process 10361 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:31 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:33 info: Status update for node test02: status active
    harc[10371]: 2006/08/30_10:51:33 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:33 info: Exiting status process 10371 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:33 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:35 info: Status update for node test02: status active
    harc[10381]: 2006/08/30_10:51:35 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:35 info: Exiting status process 10381 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:35 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:37 info: Status update for node test02: status active
    harc[10391]: 2006/08/30_10:51:37 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:37 info: Exiting status process 10391 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:37 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:39 info: Status update for node test02: status active
    harc[10401]: 2006/08/30_10:51:39 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:39 info: Exiting status process 10401 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:39 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:40 info: test02 wants to go standby [foreign]
    heartbeat[8382]: 2006/08/30_10:51:40 info: standby: other_holds_resources: 3
    heartbeat[8382]: 2006/08/30_10:51:40 info: New standby state: 2
    heartbeat[8382]: 2006/08/30_10:51:40 info: New standby state: 2
    heartbeat[8382]: 2006/08/30_10:51:41 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:51:41 info: other_holds_resources: 1
    heartbeat[8382]: 2006/08/30_10:51:41 ERROR: Both machines own foreign resources!
    heartbeat[8382]: 2006/08/30_10:51:41 info: standby: acquire [foreign] resources from test02
    heartbeat[8382]: 2006/08/30_10:51:41 info: New standby state: 3
    harc[10411]: 2006/08/30_10:51:41 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:41 info: Exiting status process 10411 returned rc 0.
    heartbeat[10412]: 2006/08/30_10:51:41 info: acquire local HA resources (standby).
    heartbeat[10412]: 2006/08/30_10:51:41 info: go_standby: who: 2 resource set: local
    heartbeat[10412]: 2006/08/30_10:51:41 info: go_standby: (query/action): (ourkeys/takegroup)
    heartbeat[10412]: 2006/08/30_10:51:41 info: local HA resource acquisition completed (standby).
    heartbeat[10412]: 2006/08/30_10:51:41 info: FIFO message [type ask_resources] written rc=51
    heartbeat[8382]: 2006/08/30_10:51:41 info: Standby resource acquisition done [foreign].
    heartbeat[8382]: 2006/08/30_10:51:41 info: AnnounceTakeover(local 1, foreign 1, reason 'T_RESOURCES(us)' (1))
    heartbeat[8382]: 2006/08/30_10:51:41 ERROR: Both machines own foreign resources!
    heartbeat[8382]: 2006/08/30_10:51:41 info: New standby state: 0
    heartbeat[8382]: 2006/08/30_10:51:41 info: Exiting go_standby process 10412 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:41 info: remote resource transition completed.
    heartbeat[8382]: 2006/08/30_10:51:41 info: AnnounceTakeover(local 1, foreign 1, reason 'T_RESOURCES(us)' (1))
    heartbeat[8382]: 2006/08/30_10:51:41 ERROR: Both machines own foreign resources!
    heartbeat[8382]: 2006/08/30_10:51:41 info: other_holds_resources: 1
    heartbeat[8382]: 2006/08/30_10:51:41 ERROR: Both machines own foreign resources!
    heartbeat[8382]: 2006/08/30_10:51:41 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:41 info: other_holds_resources: 1
    heartbeat[8382]: 2006/08/30_10:51:41 ERROR: Both machines own foreign resources!
    heartbeat[8382]: 2006/08/30_10:51:43 info: Status update for node test02: status active
    harc[10431]: 2006/08/30_10:51:43 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:43 info: Exiting status process 10431 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:43 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:45 info: Status update for node test02: status active
    harc[10441]: 2006/08/30_10:51:45 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:45 info: Exiting status process 10441 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:45 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:47 info: Status update for node test02: status active
    harc[10451]: 2006/08/30_10:51:47 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:47 info: Exiting status process 10451 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:47 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:51:49 info: Status update for node test02: status active
     
    Last edited: Sep 1, 2006
  8. djalex

    djalex New Member

    /var/log/ha-log (test01) -contd13
    ===========
    harc[10461]: 2006/08/30_10:51:49 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:51:49 info: Exiting status process 10461 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:51:49 info: Status update for node test02: status ping
    hb_standby[10480]: 2006/08/30_10:51:49 Going standby [foreign].
    heartbeat[8382]: 2006/08/30_10:51:50 info: test01 wants to go standby [foreign]
    heartbeat[8382]: 2006/08/30_10:51:50 info: i_hold_resources: 3
    heartbeat[8382]: 2006/08/30_10:51:50 info: New standby state: 1
    heartbeat[8382]: 2006/08/30_10:51:50 info: standby: test02 can take our foreign resources
    heartbeat[8382]: 2006/08/30_10:51:50 info: AnnounceTakeover(local 1, foreign 1, reason 'T_RESOURCES(us)' (1))
    heartbeat[8382]: 2006/08/30_10:51:50 info: New standby state: 1
    heartbeat[10490]: 2006/08/30_10:51:50 info: give up foreign HA resources (standby).
    heartbeat[10490]: 2006/08/30_10:51:50 info: go_standby: who: 1 resource set: foreign
    heartbeat[10490]: 2006/08/30_10:51:50 info: go_standby: (query/action): (otherkeys/givegroup)
    ResourceManager[10500]: 2006/08/30_10:51:50 info: Releasing resource group: test02 IPaddr::192.168.50.195/24/eth0 drbddisk::r0 Filesystem::/dev/drbd0 smb
    ResourceManager[10500]: 2006/08/30_10:51:50 info: Running /etc/init.d/smb stop
    ResourceManager[10500]: 2006/08/30_10:51:50 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:51:51 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:51:51 info: Status update for node test02: status ping
    ResourceManager[10500]: 2006/08/30_10:51:51 info: Retrying failed stop operation [smb]
    ResourceManager[10500]: 2006/08/30_10:51:51 info: Running /etc/init.d/smb stop
    ResourceManager[10500]: 2006/08/30_10:51:51 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[10500]: 2006/08/30_10:51:52 info: Retrying failed stop operation [smb]
    ResourceManager[10500]: 2006/08/30_10:51:52 info: Running /etc/init.d/smb stop
    ResourceManager[10500]: 2006/08/30_10:51:52 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:51:53 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:51:53 info: Status update for node test02: status ping
    ResourceManager[10500]: 2006/08/30_10:51:53 info: Retrying failed stop operation [smb]
    ResourceManager[10500]: 2006/08/30_10:51:54 info: Running /etc/init.d/smb stop
    ResourceManager[10500]: 2006/08/30_10:51:54 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[10500]: 2006/08/30_10:51:55 info: Retrying failed stop operation [smb]
    ResourceManager[10500]: 2006/08/30_10:51:55 info: Running /etc/init.d/smb stop
    heartbeat[8382]: 2006/08/30_10:51:55 info: Status update for node test02: status active
    ResourceManager[10500]: 2006/08/30_10:51:55 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:51:55 info: Status update for node test02: status ping
    ResourceManager[10500]: 2006/08/30_10:51:56 info: Retrying failed stop operation [smb]
    ResourceManager[10500]: 2006/08/30_10:51:56 info: Running /etc/init.d/smb stop
    ResourceManager[10500]: 2006/08/30_10:51:56 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:51:57 info: Status update for node test02: status active
    ResourceManager[10500]: 2006/08/30_10:51:57 info: Retrying failed stop operation [smb]
    ResourceManager[10500]: 2006/08/30_10:51:57 info: Running /etc/init.d/smb stop
    ResourceManager[10500]: 2006/08/30_10:51:57 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:51:57 info: Status update for node test02: status ping
    ResourceManager[10500]: 2006/08/30_10:51:58 info: Retrying failed stop operation [smb]
    ResourceManager[10500]: 2006/08/30_10:51:58 info: Running /etc/init.d/smb stop
    ResourceManager[10500]: 2006/08/30_10:51:58 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:51:59 info: Status update for node test02: status active
    ResourceManager[10500]: 2006/08/30_10:51:59 info: Retrying failed stop operation [smb]
    ResourceManager[10500]: 2006/08/30_10:51:59 info: Running /etc/init.d/smb stop
    ResourceManager[10500]: 2006/08/30_10:51:59 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:51:59 info: Status update for node test02: status ping
    ResourceManager[10500]: 2006/08/30_10:52:00 info: Retrying failed stop operation [smb]
    ResourceManager[10500]: 2006/08/30_10:52:00 info: Running /etc/init.d/smb stop
    ResourceManager[10500]: 2006/08/30_10:52:00 ERROR: Return code 1 from /etc/init.d/smb
    heartbeat[8382]: 2006/08/30_10:52:01 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:52:01 info: Status update for node test02: status ping
    ResourceManager[10500]: 2006/08/30_10:52:01 info: Retrying failed stop operation [smb]
    ResourceManager[10500]: 2006/08/30_10:52:01 info: Running /etc/init.d/smb stop
    ResourceManager[10500]: 2006/08/30_10:52:01 ERROR: Return code 1 from /etc/init.d/smb
    ResourceManager[10500]: 2006/08/30_10:52:01 ERROR: Resource script for smb probably not LSB-compliant.
    ResourceManager[10500]: 2006/08/30_10:52:01 WARN: it (smb) MUST succeed on a stop when already stopped
    ResourceManager[10500]: 2006/08/30_10:52:01 WARN: Machine reboot narrowly avoided!
    ResourceManager[10500]: 2006/08/30_10:52:01 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[10500]: 2006/08/30_10:52:01 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[10500]: 2006/08/30_10:52:02 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[10500]: 2006/08/30_10:52:02 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[10500]: 2006/08/30_10:52:02 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:52:03 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:52:03 info: Status update for node test02: status ping
    ResourceManager[10500]: 2006/08/30_10:52:03 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[10500]: 2006/08/30_10:52:03 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[10500]: 2006/08/30_10:52:04 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[10500]: 2006/08/30_10:52:05 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[10500]: 2006/08/30_10:52:05 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[10500]: 2006/08/30_10:52:05 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:52:05 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:52:05 info: Status update for node test02: status ping
    ResourceManager[10500]: 2006/08/30_10:52:06 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[10500]: 2006/08/30_10:52:06 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[10500]: 2006/08/30_10:52:06 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[10500]: 2006/08/30_10:52:07 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[10500]: 2006/08/30_10:52:07 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    heartbeat[8382]: 2006/08/30_10:52:07 info: Status update for node test02: status active
    ResourceManager[10500]: 2006/08/30_10:52:07 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:52:07 info: Status update for node test02: status ping
    ResourceManager[10500]: 2006/08/30_10:52:08 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[10500]: 2006/08/30_10:52:08 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[10500]: 2006/08/30_10:52:08 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:52:09 info: Status update for node test02: status active
    ResourceManager[10500]: 2006/08/30_10:52:09 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[10500]: 2006/08/30_10:52:09 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[10500]: 2006/08/30_10:52:09 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:52:09 info: Status update for node test02: status ping
    ResourceManager[10500]: 2006/08/30_10:52:10 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[10500]: 2006/08/30_10:52:10 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[10500]: 2006/08/30_10:52:10 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:52:11 info: Status update for node test02: status active
    ResourceManager[10500]: 2006/08/30_10:52:11 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[10500]: 2006/08/30_10:52:11 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[10500]: 2006/08/30_10:52:11 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    heartbeat[8382]: 2006/08/30_10:52:11 info: Status update for node test02: status ping
    ResourceManager[10500]: 2006/08/30_10:52:12 info: Retrying failed stop operation [Filesystem::/dev/drbd0]
    ResourceManager[10500]: 2006/08/30_10:52:12 info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 stop
    ResourceManager[10500]: 2006/08/30_10:52:12 ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem
    ResourceManager[10500]: 2006/08/30_10:52:12 ERROR: Resource script for Filesystem::/dev/drbd0 probably not LSB-compliant.
    ResourceManager[10500]: 2006/08/30_10:52:12 WARN: it (Filesystem::/dev/drbd0) MUST succeed on a stop when already stopped
    ResourceManager[10500]: 2006/08/30_10:52:12 WARN: Machine reboot narrowly avoided!
     
    Last edited: Sep 1, 2006
  9. djalex

    djalex New Member

    /var/log/ha-log (test01) -contd14
    ===========
    ResourceManager[10500]: 2006/08/30_10:52:12 info: Running /etc/ha.d/resource.d/drbddisk r0 stop
    ResourceManager[10500]: 2006/08/30_10:52:12 info: Running /etc/ha.d/resource.d/IPaddr 192.168.50.195/24/eth0 stop
    IPaddr[11535]: 2006/08/30_10:52:12 INFO: IPaddr Success
    heartbeat[10490]: 2006/08/30_10:52:12 info: foreign HA resource release completed (standby).
    heartbeat[10490]: 2006/08/30_10:52:12 info: FIFO message [type ask_resources] written rc=51
    heartbeat[8382]: 2006/08/30_10:52:12 info: Local standby process completed [foreign].
    heartbeat[8382]: 2006/08/30_10:52:12 info: New standby state: 3
    heartbeat[8382]: 2006/08/30_10:52:12 info: Exiting go_standby process 10490 returned rc 0.
    harc[11634]: 2006/08/30_10:52:12 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:12 info: Status update for node test02: status active
    heartbeat[8382]: 2006/08/30_10:52:12 info: Exiting status process 11634 returned rc 0.
    harc[11644]: 2006/08/30_10:52:12 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:12 info: Exiting status process 11644 returned rc 0.
    harc[11654]: 2006/08/30_10:52:12 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:12 info: Exiting status process 11654 returned rc 0.
    harc[11664]: 2006/08/30_10:52:12 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:12 info: Exiting status process 11664 returned rc 0.
    harc[11674]: 2006/08/30_10:52:12 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:12 info: Exiting status process 11674 returned rc 0.
    harc[11684]: 2006/08/30_10:52:12 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:12 info: Exiting status process 11684 returned rc 0.
    harc[11694]: 2006/08/30_10:52:12 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:12 info: Exiting status process 11694 returned rc 0.
    harc[11704]: 2006/08/30_10:52:12 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:12 info: Exiting status process 11704 returned rc 0.
    harc[11714]: 2006/08/30_10:52:12 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:12 info: Exiting status process 11714 returned rc 0.
    harc[11724]: 2006/08/30_10:52:12 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:12 info: Exiting status process 11724 returned rc 0.
    harc[11734]: 2006/08/30_10:52:12 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:12 info: Exiting status process 11734 returned rc 0.
    harc[11744]: 2006/08/30_10:52:12 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:12 info: Exiting status process 11744 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:13 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:15 info: Status update for node test02: status active
    harc[11754]: 2006/08/30_10:52:15 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:15 info: Exiting status process 11754 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:15 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:17 info: Status update for node test02: status active
    harc[11764]: 2006/08/30_10:52:17 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:17 info: Exiting status process 11764 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:17 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:19 info: Status update for node test02: status active
    harc[11774]: 2006/08/30_10:52:19 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:19 info: Exiting status process 11774 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:19 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:21 info: Status update for node test02: status active
    harc[11784]: 2006/08/30_10:52:21 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:21 info: Exiting status process 11784 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:21 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:23 info: Status update for node test02: status active
    harc[11794]: 2006/08/30_10:52:23 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:23 info: Exiting status process 11794 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:23 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:25 info: Status update for node test02: status active
    harc[11804]: 2006/08/30_10:52:25 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:25 info: Exiting status process 11804 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:25 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:27 info: Status update for node test02: status active
    harc[11814]: 2006/08/30_10:52:27 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:27 info: Exiting status process 11814 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:27 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:29 info: Status update for node test02: status active
    harc[11824]: 2006/08/30_10:52:29 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:29 info: Exiting status process 11824 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:29 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:31 info: Status update for node test02: status active
    harc[11834]: 2006/08/30_10:52:31 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:31 info: Exiting status process 11834 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:31 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:33 info: Status update for node test02: status active
    harc[11844]: 2006/08/30_10:52:33 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:33 info: Exiting status process 11844 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:33 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:35 info: Status update for node test02: status active
    harc[11854]: 2006/08/30_10:52:35 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:35 info: Exiting status process 11854 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:35 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:36 info: Status update for node test02: status active
    harc[11864]: 2006/08/30_10:52:36 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:36 info: Exiting status process 11864 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:37 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:38 info: Status update for node test02: status active
    harc[11874]: 2006/08/30_10:52:38 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:38 info: Exiting status process 11874 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:39 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:40 info: Status update for node test02: status active
    harc[11884]: 2006/08/30_10:52:40 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:40 info: Exiting status process 11884 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:41 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:42 info: Status update for node test02: status active
    harc[11894]: 2006/08/30_10:52:42 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:42 info: Exiting status process 11894 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:43 info: Status update for node test02: status ping
    heartbeat[8382]: 2006/08/30_10:52:44 info: Status update for node test02: status active
    harc[11904]: 2006/08/30_10:52:44 info: Running /etc/ha.d/rc.d/status status
    heartbeat[8382]: 2006/08/30_10:52:44 info: Exiting status process 11904 returned rc 0.
    heartbeat[8382]: 2006/08/30_10:52:45 info: Status update for node test02: status ping
     
    Last edited: Sep 1, 2006
  10. djalex

    djalex New Member

    Hi Falko,

    Logs have been posted on the forum for your review. Your assistance is greatly appreciated.

    Regards,
    Alex
     
  11. falko

    falko Super Moderator Howtoforge Staff

    I think this is the first problem you should try to fix. Does the user hacluster exist in /etc/passwd?

    On a side note: I'd disable SELinux for now because it can cause huge problems...
     
  12. djalex

    djalex New Member

    Hi Falko,

    Thanks for your reply. I will check the file /etc/passwd
    If I find the user hacluster, should I delete the corresponding entry ? Please confirm.

    Also, in order to disable SELinux - should I make the following entry ?
    SELINUX=disabled in /etc/selinux/config
    Please confirm if both steps are correct.

    Regards,
    Alex
     
  13. falko

    falko Super Moderator Howtoforge Staff

    The problem is that the user seems to be missing, so please don't delete it if you find it.

    Yes, and afterwards you must reboot the system.
     
  14. djalex

    djalex New Member

    Hi Falko,

    I made the following entry in /etc/selinux/config for test01 and test02
    SELINUX=disabled

    After the change was made, I rebooted both linux servers.

    However, its still crashing. Please advice.

    Regards,
    Alex

    (P.S: There are no entries for hacluster in /etc/passwd on both test01 and test02)
     
  15. falko

    falko Super Moderator Howtoforge Staff

    Then create that user and the appropriate group first:
    Code:
    groupadd hacluster
    useradd -g hacluster -d /home/hacluster -m hacluster
     
  16. djalex

    djalex New Member

    Hi Falko,

    I typed the following commands on the Linux terminal for both servers, namely test01 and test02.
    groupadd hacluster
    useradd -g hacluster -d /home/hacluster -m hacluster


    On test01, the following entry was found in /etc/passwd
    hacluster:x:501:502::/home/hacluster:/bin/bash

    On test02, the following entry was found in /etc/passwd
    hacluster:x:500:501::/home/hacluster:/bin/bash

    I rebooted both test01 and test02. After reboot, I confirmed that the entries were still available in /etc/passwd for both servers. However the crash still occurs.

    Regards,
    Alex
     
  17. djalex

    djalex New Member

    Hi Falko,

    I managed to get the setup working now. The systems have been renamed as follows:

    Primary server - PRI_SRVR
    Secondary server - SEC_SRVR
    Windows client - WIN_CLNT
    Samba service - SMB_SRVC

    First, I entered the following commands on both primary and secondary linux servers.

    groupadd hacluster
    useradd -g hacluster -d /home/hacluster -m hacluster
    groupadd haclient
    useradd -g haclient -d /home/haclient -m haclient


    I edited the configuration files as follows:

    hosts [present in /etc/hosts and C:/Windows/system32/drivers/etc/hosts]
    ====
    192.168.50.151 PRI_SRVR
    192.168.50.152 SEC_SRVR
    192.168.50.153 WIN_CLNT
    192.168.50.195 SMB_SRVC

    drbd.conf [present in /etc]
    =======
    resource r0
    {
    protocol C;

    startup
    {
    degr-wfc-timeout 120; # 2 minutes
    }
    disk
    {
    on-io-error detach;
    }
    net
    {
    }
    syncer
    {
    rate 10M;
    group 1;
    al-extents 257;
    }
    on PRI_SRVR
    {
    device /dev/drbd0;
    disk /dev/hda5;
    address 192.168.50.151:7789;
    meta-disk internal;
    }
    on SEC_SRVR
    {
    device /dev/drbd0;
    disk /dev/hda5;
    address 192.168.50.153:7789;
    meta-disk internal;
    }
    }

    ha.cf [/etc/ha.d]
    ====
    Logfacility local0
    logfile /var/log/ha-log
    debug 1
    bcast eth0
    deadtime 10
    auto_failback off
    node PRI_SRVR SEC_SRVR

    haresources [/etc/ha.d]
    =========
    PRI_SRVR IPaddr::192.168.50.195

    authkeys [/etc/ha.d]
    =======
    auth 3
    3 md5 goose

    smb.conf [/etc/samba]
    =======
    [global]
    workgroup = workgroup
    admin users = root
    share modes = yes
    browseable = yes
    username map = /etc/samba/smbusers
    password server = None
    guest ok = yes
    guest account = haclient
    interfaces = 192.168.50.195

    [files]
    path = /mnt/files
    writeable = yes

    smbusers [/etc/samba]
    =======
    root = root
    haclient = user01

    I started up DRBD, heartbeat and SAMBA on both primary and secondary servers. On the windows system, I clicked on Start - Run – typed the address \\192.168.50.195. I then logged in with the user account user01. After authentication, I was able to see the Samba share files on the Linux server - even had the ability to modify and save information in the files.
    Then I shut down the primary server. SEC_SRVR stood in for the primary hosting the SAMBA service IP address 192.168.50.195. I then logged in to the SAMBA share with the service IP address and login user user01. I was able to see that the file was still available along with the information saved, prior to the crash. Due to time restrictions, I have to end the experimental study at this juncture. But this can be used as a model for future research and investigation. Falko, I would like to thank you for the efforts you took to troubleshoot the problem. Although the solution was not easily attainable, you tried your best. Thank you for taking the interest in my experimental study; it is greatly appreciated.

    Best regards,
    Alex
     
  18. falko

    falko Super Moderator Howtoforge Staff

    I'm glad it's working! :)
     
  19. avi123

    avi123 New Member

    High Available Samba with ADS

    I am trying to create a high available samba service with active directory support. What changes would I have to make to achive this? I've configured samba to work with ADS on both machines. Both machines show up on the windows 2003 server as clients, and I am able to setup a share folder that only authorized users can use. Is this possible?
     

Share This Page