The stonith_host directive is used to configure Heartbeat's (release 1 only), STONITH configuration. With this directive, you put all the STONITH configuration information for the devices in your cluster in the ha.cf file, rather than in a separate file.
You can configure multiple stonith devices using this directive. The format of the line is:
stonith_host {hostfrom} {stonith_type} {params...} {hostfrom} is the machine the stonith device is attached to or * to mean it is accessible from any host.
{stonith_type} is the type of stonith device
{params...} are the configuration parameters this STONITH device requires.
Only one stonith_host directive can have a * for {hostfrom}.
Caveats:
If you put your stonith device access information in ha.cf, and you make this file publically readable, you're inviting a denial of service attack.
To get a list of valid {stonith-device-type}s, issue this command:
stonith -L
To get a list of {params...} for each type of STONITH device, issue the following command:
stonith -h
NOTE: This command is mutually exclusive with the stonith directive.