Linux-HA Logo

stonith_host directive

The stonith_host directive is used to configure Heartbeat[1]'s (release 1 only), STONITH[2] configuration. With this directive, you put all the STONITH configuration information for the devices in your cluster[3] in the ha.cf[4] 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...} 

Only one stonith_host directive can have a * for {hostfrom}.

Caveats:
If you put your stonith device access information in ha.cf[4], 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[5] directive.


References

[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/ha.cf
[5]http://www.linux-ha.org/ha.cf/StonithDirective


This information provided courtesy of the Linux-HA project at http://linux-ha.org/