IPMI (Intelligent Platform Management Interface) defines a set of common interfaces to a computer system which can be used to monitor system health and manage the system. Used with STONITH, it allows the cluster software to instruct the switch via a serial or network connection to power off a cluster node that appears to have died thus ensuring that the unhealthy node cannot access or corrupt any shared data.
Package Requirements
- IPMI tools package on each server in the cluster(e.g. ipmitool-1.8.11-6.el6.x86_64.rpm)
Configure Baseboard Management Controller (BMC)
Using BIOS or the ipmitool command on each server in the cluster (example using ipmitool):
- Use Static IP: ipmitool lan set 1 ipsrc static
- Add IP address: ipmitool lan set 1 ipaddr 192.168.0.1
- Set Sub netmask: ipmitool lan set 1 netmask 255.0.0.0
- Set User name: ipmitool user set name 1 root
- Set Password: ipmitool user set password 1 secret
- Add administrator privilege level to the user: ipmitool user priv 1 4
- Enable network access to the user: ipmitool user enable 1
(For detailed information, see the ipmitool man page.)
STONITH Installation
Install the LifeKeeper STONITH script on each server where LifeKeeper is installed and communication paths are configured to all servers by running the following command:
# /opt/LifeKeeper/samples/STONITH/stonith-install
Update /opt/LifeKeeper/config/stonith.conf
Add entries to the stonith.conf file for each server in the cluster.
# LifeKeeper STONITH configuration # # Example: <host> ipmitool -l <interface> -H <ip> -U root -P secret power off minute-maid ipmitool -I lanplus -H 192.168.0.1 -U root -P secret power off kool-aid ipmitool -I lanplus -H 192.168.0.2 -U root -P secret power off
Post your comment on this topic.