The stonith directive is used to configure Heartbeat's (release 1 only), STONITH configuration. It assumes you're going to put in a STONITH configuration file on each machine in the cluster to configure the (single) STONITH device that this node 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 directive.