1
The STONITH module (a.k.a. STOMITH) provides an extensible interface
2
for remotely powering down a node in the cluster. The idea is quite simple:
3
When the software running on one machine wants to make sure another
4
machine in the cluster is not using a resource, pull the plug on the other
5
machine. It's simple and reliable, albiet admittedly brutal.
7
Here's an example command line invocation used to power off a machine
8
named 'nodeb'. The parameters are dependent on the type of device you
9
are using for this capability.
11
stonith -t rps10 -p "/dev/ttyS5 nodeb 0 " nodeb
13
Currently supported devices:
15
apcsmart: APCSmart (tested with 2 old 900XLI)
17
meatware: Alerts an operator to manually turn off a device.
18
nw_rpc100s: Micro Energetics Night/Ware RPC100S
19
rps10: Western Telematics RPS10
20
vacm_stonith: VA Linux Cluster Manager (see README.vacm)
23
To see the parameter syntax for a module, run the 'stonith' command and omit the
24
-p parameter. For example:
26
$ /usr/sbin/stonith -t rps10 test
28
stonith: Invalid config file for rps10 device.
29
stonith: Config file syntax: <serial_device> <node> <outlet> [ <node> <outlet> [...] ]
30
All tokens are white-space delimited.
31
Blank lines and lines beginning with # are ignored