
The stonith directive is used to configure Heartbeat[1]'s (release 1 only), STONITH[2] configuration. It assumes you're going to put in a STONITH configuration file on each machine in the cluster[3] to configure the (single) STONITH device that this node[4] will use to reset the other node in the cluster.
Sample stonith directive
stonith {stonith-device-type} {stonith-configuration-file}
where {stonith-device-type} is the type of (supported) STONITH device being configured, and {stonith-configuration-file} is the name of the file in which you put the STONITH configuration information for this particular STONITH device.
To get a list of valid {stonith-device-type}s, issue this command:
stonith -L
To get a list of how to configure each type of STONITH device, issue the following command:
stonith -h
NOTE: This command is mutually exclusive with the stonith_host[5] directive.
| [1] | http://www.linux-ha.org/HeartbeatProgram |
| [2] | http://www.linux-ha.org/STONITH |
| [3] | http://en.wikipedia.org/wiki/Computer_cluster |
| [4] | http://www.linux-ha.org/node |
| [5] | http://www.linux-ha.org/ha.cf/StonithHostDirective |
This information provided courtesy of the Linux-HA project at http://linux-ha.org/