Doug Lochart wrote:
I finished flashing and configuring my IPMI devices on my two nodes so
that I can implement STONITH resources.  I have used the vendor
supplied (SuperMicro) command line and GUI tools to access and control
the IPMI devices so I know they work.  So I set about to test them
with STONITH.

For IPMI this is what you are required to have version 1 style.

stonith -t external/ipmi -p "hostname ipaddr username password"

Now the docs did not specify but I assume that hostname is the name of
the machine to be controlled AND the ipaddr is the ip of the IPMI
device on that machine.  It is the only combination that makes any
sense.  Following http://linux-ha.org/ConfiguringStonithPlugins I see
that you can run it on the command line and pass an additional -l
parameter to get a list of hosts controlled by the plugin.

When I run it I get the following error and do not know what the problem is:

** INFO: external_run_cmd: Calling
'/usr/lib64/stonith/plugins/external/ipmi status' returned 256
10.43.120.134

When I run it with -S to get the status I get the following:
** INFO: external_run_cmd: Calling
'/usr/lib64/stonith/plugins/external/ipmi status' returned 256
stonith: external/ipmi device not accessible.

Anybody have any suggestions?  I do not see anyway to turn up
verbosity nor do I see any logs laying around.
Give the almighty and undocumented -d option a try...
I am at the point where I was going to download the source for the
plugin but I know I am opening up a can of worms and I really don't
have a week to come up to speed on the code.
The plugin is a relatively simple script that has required operations which interact with the device. Check out:

http://www.linux-ha.org/ExternalStonithPlugins
Can I make stonith use the existing ipmcli program that came with the
motherboard?  I have been using it successfully to test so far.

thanks,

Doug




_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to