This site best when viewed with a modern standards-compliant browser. We recommend Firefox Get Firefox!.

Linux-HA project logo
Providing Open Source High-Availability Software for Linux and other OSes since 1999.

USA Flag UK Flag

Japanese Flag

Homepage

About Us

Contact Us

Legal Info

How To Contribute

Security Issues

21 December 2007 Heartbeat release 2.1.3 is now out Download it and install it!

11 October 2007 NEW educational HA/DR Blog hosted by Alan Robertson

9 April 2007 Check out the Cool Heartbeat Screencasts: Installation, Intro to the GUI Part of the Heartbeat Education project

Last site update:
2008-05-12 16:07:31

stonith_host directive

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.