[Linux-HA] heartbeat 2.0.2 + stonith

Dave Blaschke debltc at us.ibm.com
Wed Oct 5 08:30:21 MDT 2005


announces at genos.es wrote:

>>How about if you run:
>>
>>stonith -d -t external/test -p "heartbeat1" -T reset heartbeat1
>>
>>from the command line and capture the output.  This should provide some 
>>interesting debug output...
>>
>>    
>>
>
>Well, test script is almost the same as external/ssh. I think from
>command line works:
>
>** (process:4196): DEBUG: NewPILPluginUniv(0x804c008)
>** (process:4196): DEBUG: PILS: Plugin path =
>/usr/lib/stonith/plugins:/usr/lib/pils/plugins
>** (process:4196): DEBUG: NewPILInterfaceUniv(0x80560f8)
>** (process:4196): DEBUG: NewPILPlugintype(0x80562e0)
>** (process:4196): DEBUG: NewPILPlugin(0x80562f8)
>** (process:4196): DEBUG: NewPILInterface(0x8056130)
>** (process:4196): DEBUG:
>NewPILInterface(0x8056130:InterfaceMgr/InterfaceMgr)*** user_data: 0x0
>*******
>** (process:4196): DEBUG:
>InterfaceManager_plugin_init(0x8056130/InterfaceMgr)
>** (process:4196): DEBUG: Registering Implementation manager for
>Interface type 'InterfaceMgr'
>** (process:4196): DEBUG: PILS: Looking for InterfaceMgr/generic =>
>[/usr/lib/stonith/plugins/InterfaceMgr/generic.so]
>** (process:4196): DEBUG: Plugin file
>/usr/lib/stonith/plugins/InterfaceMgr/generic.so does not exist
>** (process:4196): DEBUG: PILS: Looking for InterfaceMgr/generic =>
>[/usr/lib/pils/plugins/InterfaceMgr/generic.so]
>** (process:4196): DEBUG: Plugin path for InterfaceMgr/generic =>
>[/usr/lib/pils/plugins/InterfaceMgr/generic.so]
>** (process:4196): DEBUG: PluginType InterfaceMgr already present
>** (process:4196): DEBUG: Plugin InterfaceMgr/generic  init function:
>InterfaceMgr_LTX_generic_pil_plugin_init
>** (process:4196): DEBUG: NewPILPlugin(0x8056480)
>** (process:4196): DEBUG: Plugin InterfaceMgr/generic loaded and
>constructed.
>** (process:4196): DEBUG: Calling init function in plugin
>InterfaceMgr/generic.
>** (process:4196): DEBUG: NewPILInterface(0x8056938)
>** (process:4196): DEBUG:
>NewPILInterface(0x8056938:InterfaceMgr/stonith2)*** user_data: 0x8056320
>*******
>** (process:4196): DEBUG: Registering Implementation manager for
>Interface type 'stonith2'
>** (process:4196): DEBUG: IfIncrRefCount(1 + 1 )
>** (process:4196): DEBUG: PluginIncrRefCount(0 + 1 )
>** (process:4196): DEBUG: IfIncrRefCount(1 + 100 )
>** (process:4196): DEBUG: PILS: Looking for stonith2/external =>
>[/usr/lib/stonith/plugins/stonith2/external.so]
>** (process:4196): DEBUG: Plugin path for stonith2/external =>
>[/usr/lib/stonith/plugins/stonith2/external.so]
>** (process:4196): DEBUG: Creating PluginType for stonith2
>** (process:4196): DEBUG: NewPILPlugintype(0x8056a80)
>** (process:4196): DEBUG: Plugin stonith2/external  init function:
>stonith2_LTX_external_pil_plugin_init
>** (process:4196): DEBUG: NewPILPlugin(0x8056a58)
>** (process:4196): DEBUG: Plugin stonith2/external loaded and
>constructed.
>** (process:4196): DEBUG: Calling init function in plugin
>stonith2/external.
>** (process:4196): DEBUG: NewPILInterface(0x8056ac0)
>** (process:4196): DEBUG:
>NewPILInterface(0x8056ac0:stonith2/external)*** user_data: 0x40217a98
>*******
>** (process:4196): DEBUG: IfIncrRefCount(101 + 1 )
>** (process:4196): DEBUG: PluginIncrRefCount(0 + 1 )
>** (process:4196): DEBUG: external_get_confignames: called.
>** (process:4196): DEBUG: external_run_cmd: Calling
>'/usr/lib/stonith/plugins/external/test getconfignames'
>** (process:4196): DEBUG: external_get_confignames: 'test
>getconfignames' returned 0
>** (process:4196): DEBUG: external_set_config: called.
>** (process:4196): DEBUG: external_status: called.
>** (process:4196): DEBUG: external_run_cmd: Calling
>'/usr/lib/stonith/plugins/external/test status'
>** (process:4196): DEBUG: external_status: running 'test status'
>returned 0
>** (process:4196): DEBUG: external_getinfo: called.
>** (process:4196): DEBUG: external_run_cmd: Calling
>'/usr/lib/stonith/plugins/external/test getinfo-devid'
>** (process:4196): DEBUG: external_getinfo: 'test getinfo-devid'
>returned 0
>** (process:4196): DEBUG: external_reset_req: called.
>** (process:4196): DEBUG: Host external-reset initiating on heartbeat1
>** (process:4196): DEBUG: external_run_cmd: Calling
>'/usr/lib/stonith/plugins/external/test reset heartbeat1'
>Password:
>** (process:4196): DEBUG: external_reset_req: running 'test reset'
>returned 0
>** (process:4196): DEBUG: external_destroy: called.
>** (process:4196): DEBUG: IfIncrRefCount(1 + -1 )
>** (process:4196): DEBUG: RemoveAPILInterface(0x8056ac0/external)
>** (process:4196): DEBUG: RmAPILInterface(0x8056ac0/external)
>** (process:4196): DEBUG: PILunregister_interface(stonith2/external)
>** (process:4196): DEBUG: Calling InterfaceClose on stonith2/external
>** (process:4196): DEBUG: IfIncrRefCount(102 + -1 )
>** (process:4196): DEBUG: PluginIncrRefCount(1 + -1 )
>** (process:4196): DEBUG: RemoveAPILPlugin(stonith2/external)
>** (process:4196): DEBUG: RmAPILPlugin(stonith2/external)
>** (process:4196): DEBUG: Closing dlhandle for (stonith2/external)
>** (process:4196): DEBUG: RmAPILPluginType(stonith2)
>** (process:4196): DEBUG: DelPILPluginType(stonith2)
>** (process:4196): DEBUG: DelPILInterface(0x8056ac0/external)
>
>
>But I do know that plugin external/test is never called with the
>parameter "reset".... Any ideas?
>  
>
Hmmm, not without more debugging info.  It appears from above as though 
the STONITH external plugin handler is working fine, so the problem 
might be farther up the chain, perhaps in stonithd or stonith.  Do you 
have "debug 1" in your ha.cf?  Perhaps you can tar up and attach all of 
the pertinent output, there may be something there that is helpful.

>Thanks
>
>
>
>  
>
>>>_______________________________________________
>>>Linux-HA mailing list
>>>Linux-HA at lists.linux-ha.org
>>>http://lists.linux-ha.org/mailman/listinfo/linux-ha
>>>See also: http://linux-ha.org/ReportingProblems
>>>
>>>
>>> 
>>>
>>>      
>>>
>>_______________________________________________
>>Linux-HA mailing list
>>Linux-HA at lists.linux-ha.org
>>http://lists.linux-ha.org/mailman/listinfo/linux-ha
>>See also: http://linux-ha.org/ReportingProblems
>>    
>>
>
>_______________________________________________
>Linux-HA mailing list
>Linux-HA at lists.linux-ha.org
>http://lists.linux-ha.org/mailman/listinfo/linux-ha
>See also: http://linux-ha.org/ReportingProblems
>
>
>  
>




More information about the Linux-HA mailing list