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

This web page is no longer maintained. Information presented here exists only to avoid breaking historical links.
The Project stays maintained, and lives on: see the Linux-HA Reference Documentation.
To get rid of this notice, you may want to browse the old wiki instead.

1 February 2010 Hearbeat 3.0.2 released see the Release Notes

18 January 2009 Pacemaker 1.0.7 released see the Release Notes

16 November 2009 LINBIT new Heartbeat Steward see the Announcement

Last site update:
2017-12-11 10:32:48

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.