~ampelbein/ubuntu/oneiric/heartbeat/lp-770743

« back to all changes in this revision

Viewing changes to lib/stonith/README

  • Committer: Bazaar Package Importer
  • Author(s): Ante Karamatic
  • Date: 2010-02-17 21:59:18 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100217215918-06paxph5do4saw8v
Tags: 3.0.2-0ubuntu1
* New upstream release
* Drop hard dep on pacemaker for heartbet; moved to Recommends
* debian/heartbeat.install:
  - follow upstream changes
* debian/control:
  - added docbook-xsl and xsltproc to build depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
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.
6
 
 
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.
10
 
 
11
 
stonith -t rps10 -p "/dev/ttyS5 nodeb 0 " nodeb
12
 
 
13
 
Currently supported devices:
14
 
 
15
 
 apcsmart:     APCSmart (tested with 2 old 900XLI)
16
 
 baytech:      Baytech RPC5
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)
21
 
 
22
 
 
23
 
To see the parameter syntax for a module, run the 'stonith' command and omit the 
24
 
-p parameter.  For example:
25
 
 
26
 
$ /usr/sbin/stonith -t rps10 test
27
 
 
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