Yes, I most certainly have. The stonith command-line tool has no problem at all with the plugin. The following was run from test-1.domain. The indented log entries are from the debug log of the stonith plugin:
root:~ # stonith -t external/drac4 DRAC_ADDR=test-2.drac.domainDRAC_LOGIN=root DRAC_PASSWD=******** -lS stonith: external/drac4 device OK. test-2.drac.domain [Tue Apr 17 09:57:20 2007] Requested Action for : getconfignames [Tue Apr 17 09:57:22 2007] Requested Action for test-2.drac.domain: status [Tue Apr 17 09:57:22 2007] Success: test-2.drac.domain is reachable [Tue Apr 17 09:57:23 2007] Requested Action for : getinfo-devid [Tue Apr 17 09:57:24 2007] Requested Action for test-2.drac.domain: gethosts root:~ # stonith -t external/drac4 DRAC_ADDR=test-2.drac.domainDRAC_LOGIN=root DRAC_PASSWD=******** -T on test-2.domain [Tue Apr 17 09:57:28 2007] Requested Action for : getconfignames [Tue Apr 17 09:57:30 2007] Requested Action for test-2.drac.domain: status [Tue Apr 17 09:57:30 2007] Success: test-2.drac.domain is reachable [Tue Apr 17 09:57:31 2007] Requested Action for : getinfo-devid [Tue Apr 17 09:57:33 2007] Requested Action for test-2.drac.domain: on [Tue Apr 17 09:57:33 2007] test-2.drac.domain Initial Power Status = ON [Tue Apr 17 09:57:33 2007] Success: test-2.drac.domain Power Status = ON root:~ # stonith -t external/drac4 DRAC_ADDR=test-2.drac.domainDRAC_LOGIN=root DRAC_PASSWD=******** -T reset test-2.domain [Tue Apr 17 09:57:46 2007] Requested Action for : getconfignames [Tue Apr 17 09:57:48 2007] Requested Action for test-2.drac.domain: status [Tue Apr 17 09:57:48 2007] Success: test-2.drac.domain is reachable [Tue Apr 17 09:57:49 2007] Requested Action for : getinfo-devid [Tue Apr 17 09:57:50 2007] Requested Action for test-2.drac.domain: reset [Tue Apr 17 09:57:50 2007] test-2.drac.domain Initial Power Status = ON [Tue Apr 17 09:57:58 2007] Success: test-2.drac.domain Power Status = RESET --BO On 4/17/07, Andrew Beekhof <[EMAIL PROTECTED]> wrote:
On 4/16/07, Bjorn Oglefjorn <[EMAIL PROTECTED]> wrote: > No ideas? none at all - have you tried calling it manually using the stonith command-line tool to make sure it works? > On 4/9/07, Bjorn Oglefjorn <[EMAIL PROTECTED]> wrote: > > > > I quickly put together a STONITH plugin for testing this. It conforms to > > the heartbeat spec and always lies to heartbeat returning success no matter > > what. With this plugin in place I'm still getting this error: > > > > Apr 9 15:40:47 test-2 stonithd: [8791]: info: Failed to STONITH the node > > test-1.domain: optype=1, op_result=2 > > Apr 9 15:40:47 test-2 tengine: [8803]: info: tengine_stonith_callback: > > callbacks.c call=-4, optype=1, node_name= test-1.domain, result=2, > > node_list=, action=13;5:6eaeba12-87c3-465e-98f1-78585e71e495 > > Apr 9 15:40:47 test-2 tengine: [8803]: ERROR: tengine_stonith_callback: > > callbacks.c Stonith of test-1.domain failed (2)... aborting transition. > > > > --BO _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
