Hi,
> I am trying to configure Stonith Device using IPMI , I was
> just wondering if someone has any pointers about how it is
> configured using the external/ipmi stonith Directive in the
> hb_gui
Prerequisites (general, not just for the gui):
* you'll need ipmitool installed on your server - the external/ipmi
plugin uses this for actually sending ipmi commands.
* you should check that communication with the ipmi devices actually
works by trying ipmitool from the commandline;
ipmitool -I lan -H 10.192.64.20 -U admin -P the_password power
status
Obviously use the IP address, username and password for one of your IPMI
Controllers.
If all is well (and the box you're querying is actually turned on) you
sould get "Chassis Power is on" as a response. Once this works, you can
go on to heartbeat configuration:
You have to configure a seperate stonith device for each IPMI Controller
(i.e for each box you want to control).
For version 1 that would look like this:
--------- ha.cf ---------
node webc-neu1
node webc-neu2
stonith_host webc-neu2 external/ipmi webc-neu1 10.92.64.20 admin
the_password
stonith_host webc-neu1 external/ipmi webc-neu2 10.92.64.22 admin
the_password
--------- ha.cf ---------
The Ip adresses are for the management interface (=IPMI Controller) of
the node to be reset.
The above allows webc-neu2 to use ipmi to reset webc-neu1 using the
management controller of webc-neu1 located at 10.92.64.20.
Similarly; for version 2 you configure
* one resource can shoot webc-neu1 and can run everywbere BUT
webc-neu1
* one resource can shoot webc-neu2 and can run everywhere BUT
webc-neu2
So the resource that resets webc-neu1 has a location constraint with
uname != webc-neu1 and score INFINITY
The parameters should be fairly obvious:
hostname
Node name of the node being managed by this IPMI device
(i.e the node you want to shoot)
(also the node this recouce MUST NOT be run on.)
ipaddr
IP address of the IPMI Cotroller
userid
Username for the IPMI device
passwd
Password for the IPMI device
Let me know if you've got further questions on the configuration of the
external/ipmi stonith plugin.
Bye, Martin
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems