STONITH(8) | System administration utilitie | STONITH(8) |
NAME¶
stonith - extensible interface for remotely powering down a node in the clusterSYNOPSIS¶
stonith
-h
stonith
[ -s] [-h] -L
stonith
[ -s] [-h] -t stonith-device-type
-n
stonith
[ -s] [-h] -t stonith-device-type
{name= value... |
-p stonith-device-parameters |
-F stonith-device-parameters-file} [
-c count] [ -l] [-S]
stonith
[ -s] [-h] -t stonith-device-type
{name= value... |
-p stonith-device-parameters |
-F stonith-device-parameters-file} [
-c count] [
-T {reset | on | off}] [
nodename]
DESCRIPTION¶
The STONITH module provides an extensible interface for remotely powering down a node in the cluster (STONITH = Shoot The Other Node In The Head). The idea is quite simple: when the software running on one machine wants to make sure another machine in the cluster is not using a resource, pull the plug on the other machine. It's simple and reliable, albeit admittedly brutal.OPTIONS¶
The following options are supported: -c countPerform any actions identified by the
-l, -S and -T options count times.
-F stonith-device-parameters-file
Path of file specifying parameters for a
stonith device. To determine the syntax of the parameters file for a given
device type run:
All of the listed parameters need to appear in order on a single line in the
parameters file and be delimited by whitespace.
-h
# stonith -t stonith-device-type -n
Display detailed information about a stonith
device including description, configuration information, parameters and any
other related information. When specified without a stonith-device-type,
detailed information on all stonith devices is displayed.
If you don't yet own a stonith device and want to know more about the ones we
support, this information is likely to be helpful.
-L
List the valid stonith device types, suitable
for passing as an argument to the -t option.
-l
List the hosts controlled by the stonith
device.
-n
Output the parameter names of the stonith
device.
name=value
Parameter, in the form of a name/value pair,
to pass directly to the stonith device. To determine the syntax of the
parameters for a given device type run:
All of the listed parameter names need to be passed with their corresponding
values.
-p stonith-device-parameters
# stonith -t stonith-device-type -n
Parameters to pass directly to the stonith
device. To determine the syntax of the parameters for a given device type run:
All of the listed parameter names need to appear in order and be delimited by
whitespace.
-S
# stonith -t stonith-device-type -n
Show the status of the stonith device.
-s
Silent operation. Suppress logging of error
messages to standard error.
-T action
The stonith action to perform on the node
identified by nodename. Chosen from reset, on, and off.
Note
If a nodename is specified without the -T option, the stonith action
defaults to reset.
-t stonith-device-type
The type of the stonith device to be used to
effect stonith. A list of supported devices for an installation may be
obtained using the -L option.
-v
Ignored.
EXAMPLES¶
To determine which stonith devices are available on your installation, use the -L option:# stonith -L
# stonith -t wti_nps -h
# stonith -t wti_nps -n
ipaddr password
# stonith -t wti_nps ipaddr=my-dev-ip password=my-dev-pw ...
# stonith -t wti_nps -p "my-dev-ip my-dev-pw" ...
my-dev-ip my-dev-pw
# stonith -t wti_nps -F ~/my-wtinps-config ...
# stonith -t wti_nps ipaddr=my-dev-ip password=my-dev-pw -S
stonith: wti_nps device OK.
# stonith -t wti_nps ipaddr=my-dev-ip password=my-dev-pw -l
node1 node2 node3
# stonith -t wti_nps ipaddr=my-dev-ip password=my-dev-pw -T off node
SEE ALSO¶
AUTHORS¶
Alan Robertson <alanr@unix.sh>stonith
Simon Horman <horms@vergenet.net>
man page
Florian Haas <florian.haas@linbit.com>
man page
December 7, 2009 | cluster-glue 1.0.9 |