On Wednesday 17 September 2008 16:12:49 Dejan Muhamedagic wrote: > There's no good reason for that change to make any difference. > Otherwise, in a two-node cluster, if only one node is running > it should run the resources. The answer is hopefully in the logs.
Thanks, I've atached the relevant section of my logs. The log is from only one host because the other is in a hard halt. Basically openvpn startup script is giving a 127 code because its trying to start and its already started. > udpport 694 > ucast eth5 10.40.0.1 > ucast eth5 10.40.0.2 > debug 1 > use_logd on > keepalive 2 > warntime 15 > deadtime 30 > initdead 45 > auto_failback off > node nikki > node asia > crm off -- Regards Wayne Gemmell Flash Media Group Tel: 27 (0)12 430 7597 (Ext 04) Cell: 27 (0)83 666 3342
Sep 16 01:23:21 asia heartbeat: [11038]: debug: process_resources(2): other now unstable Sep 16 01:23:21 asia heartbeat: [11038]: info: other_holds_resources: 0 Sep 16 01:23:21 asia heartbeat: [11038]: debug: hb_rsc_isstable: ResourceMgmt_child_count: 0, other_is_stable: 0, takeover_in_progress: 0 , going_standby: 0, standby running(ms): 0, resourcestate: 4 Sep 16 01:23:22 asia heartbeat: [11038]: debug: process_resources(4): other now stable - T_SHUTDONE Sep 16 01:23:22 asia heartbeat: [11038]: debug: Process [go_standby] started pid 30376 Sep 16 01:23:22 asia heartbeat: [11038]: debug: hb_rsc_isstable: ResourceMgmt_child_count: 1, other_is_stable: 1, takeover_in_progress: 0 , going_standby: 3, standby running(ms): 0, resourcestate: 4 Sep 16 01:23:22 asia heartbeat: [11038]: info: Received shutdown notice from 'nikki'. Sep 16 01:23:22 asia heartbeat: [11038]: info: Resources being acquired from nikki. Sep 16 01:23:22 asia heartbeat: [11038]: debug: StartNextRemoteRscReq(): child count 1 Sep 16 01:23:22 asia heartbeat: [11038]: debug: process_resources(4): other now stable - T_SHUTDONE Sep 16 01:23:22 asia heartbeat: [11038]: debug: Process [go_standby] started pid 30376 Sep 16 01:23:22 asia heartbeat: [11038]: debug: hb_rsc_isstable: ResourceMgmt_child_count: 1, other_is_stable: 1, takeover_in_progress: 0 , going_standby: 3, standby running(ms): 0, resourcestate: 4 Sep 16 01:23:22 asia heartbeat: [11038]: info: Received shutdown notice from 'nikki'. Sep 16 01:23:22 asia heartbeat: [11038]: info: Resources being acquired from nikki. Sep 16 01:23:22 asia heartbeat: [11038]: debug: StartNextRemoteRscReq(): child count 1 Sep 16 01:23:22 asia heartbeat: [11038]: debug: takeover_from_node: other now stable Sep 16 01:23:22 asia heartbeat: [11038]: debug: Process [req_our_resources(ask)] started pid 30377 Sep 16 01:23:22 asia heartbeat: [30376]: info: acquire local HA resources (standby). Sep 16 01:23:22 asia heartbeat: [30376]: info: go_standby: who: 2 resource set: local Sep 16 01:23:22 asia heartbeat: [30376]: info: go_standby: (query/action): (ourkeys/takegroup) Sep 16 01:23:22 asia heartbeat: [30377]: debug: req_our_resources(/usr/share/heartbeat/ResourceManager listkeys asia) Sep 16 01:23:22 asia heartbeat: [30377]: debug: req_our_resources(): running [/usr/share/heartbeat/req_resource IPaddr2::****] Sep 16 01:23:22 asia ResourceManager[30404]: [30428]: info: Acquiring resource group: asia IPaddr2::**** IPaddr2::**** IPsrcaddr::**** openvpn Sep 16 01:23:22 asia IPaddr2[30452]: [30555]: INFO: Running OK Sep 16 01:23:22 asia IPaddr2[30441]: [30556]: INFO: Running OK Sep 16 01:23:22 asia heartbeat: [30377]: info: 1 local resources from [/usr/share/heartbeat/ResourceManager listkeys asia] Sep 16 01:23:22 asia heartbeat: [30377]: info: Local Resource acquisition completed. Sep 16 01:23:22 asia heartbeat: [30377]: debug: Sending hold resources msg: all, stable=1 # req_our_resources() Sep 16 01:23:22 asia heartbeat: [30377]: info: FIFO message [type resource] written rc=79 Sep 16 01:23:22 asia heartbeat: [11038]: info: AnnounceTakeover(local 1, foreign 1, reason 'T_RESOURCES(us)' (1)) Sep 16 01:23:22 asia heartbeat: [11038]: debug: hb_rsc_isstable: ResourceMgmt_child_count: 2, other_is_stable: 1, takeover_in_progress: 1 , going_standby: 3, standby running(ms): 0, resourcestate: 4 Sep 16 01:23:22 asia heartbeat: [11038]: info: Managed req_our_resources(ask) process 30377 exited with return code 0. Sep 16 01:23:22 asia heartbeat: [11038]: debug: RscMgmtProc 'req_our_resources(ask)' exited code 0 Sep 16 01:23:22 asia heartbeat: [11038]: debug: StartNextRemoteRscReq(): child count 1 Sep 16 01:23:22 asia IPaddr2[30568]: [30610]: INFO: Running OK Sep 16 01:23:22 asia IPsrcaddr[30622]: [30649]: INFO: Running OK Sep 16 01:23:22 asia IPaddr[30661]: [30689]: INFO: Running OK Sep 16 01:23:22 asia ResourceManager[30404]: [30705]: info: Running /etc/init.d/openvpn start Sep 16 01:23:22 asia ResourceManager[30404]: [30706]: debug: Starting /etc/init.d/openvpn start Sep 16 01:23:22 asia ResourceManager[30404]: [30726]: debug: /etc/init.d/openvpn start done. RC=127 Sep 16 01:23:22 asia ResourceManager[30404]: [30727]: ERROR: Return code 127 from /etc/init.d/openvpn Sep 16 01:23:22 asia ResourceManager[30404]: [30728]: CRIT: Giving up resources due to failure of openvpn Sep 16 01:23:22 asia ResourceManager[30404]: [30729]: info: Releasing resource group: asia IPaddr2::**** IPaddr2::**** IPsrcaddr::**** **** openvpn
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
