Hi,

On Thu, Feb 21, 2008 at 05:28:58PM -0500, Doug Lochart wrote:
> I have tested stonith from the command line and was able to reset the
> target PC.  On the command I used the following:
> 
> stonith  -t external/ipmi -T reset -p "capestor2 10.43.120.134 ADMIN
> mypassword" capestor2
> 
> This worked marvelously!  So then I move the stuff into the ha.cf.
> Not having much in the way of examples for ipmi this was my best guess
> 
> stonith_host capestor1 external/ipmi capestor2 10.43.120.134 ADMIN mypassword

Don't use this often, but perhaps you could try:

stonith_host * external/ipmi capestor2 10.43.120.134 ADMIN mypassword

since the device is accessible from everywhere.

Thanks,

Dejan

> 
> Syslog gives me this:
> Feb 21 17:20:24 capestor2 heartbeat: [4133]: info: Checking status of
> STONITH device [IPMI STONITH device ]
> Feb 21 17:20:24 capestor2 heartbeat: [4133]: info: glib:
> external_run_cmd: Calling '/usr/lib64/stonith/plugins/external/ipmi
> status' returned 256
> Feb 21 17:20:24 capestor2 heartbeat: [4133]: ERROR: STONITH device
> IPMI STONITH device  not operational!
> Feb 21 17:20:24 capestor2 heartbeat: [4111]: WARN: Managed
> STONITH-stat process 4133 exited with return code 1.
> Feb 21 17:20:24 capestor2 heartbeat: [4111]: ERROR: STONITH status
> operation failed.
> Feb 21 17:20:24 capestor2 heartbeat: [4111]: info: This may mean that
> the STONITH device has failed!
> 
> I even went so far as to copy the ipmi plugin to test-ipmi and
> hardcoded the values for the variables that are passed in my
> heartbeat.  That worked.
> 
> Any ideas as to what I may be doing wrong?
> 
> thanks
> 
> Doug
> 
> 
> 
> 
> -- 
> What profits a man if he gains the whole world yet loses his soul?
> _______________________________________________
> 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

Reply via email to