Installation guide

64 Chapter 3:Cluster Software Installation and Configuration
invoked, it checks the status of the cluster software. If the cluster software is running, the command
exits with a message to stop the cluster software.
The format of the clustonith command is as follows:
clustonith [-sSlLvr] [-t devicetype] [-F options-file] \
[-p stonith-parameters]
Options:
-s Silent mode, supresses error and log messages
-S Display switch status
-l List the hosts a switch can access
-L List the set of supported switch types
-r hostname Power cycle the specified host
-v Increases verbose debugging level
When testing power switches, the first step is to ensure that each cluster member can successfully
communicate with its attached power switch. The following example of the clustonith command
output shows that the cluster member is able to communicate with its power switch:
clustonith -S
WTI Network Power Switch device OK.
An example output of the clustonith command when it is unable
to communicate with its power switch appears below:
clustonith -S
Unable to determine power switch type.
Unable to determine default power switch type.
The above error could be indicative of the following types of problems:
For serial attached power switches:
Verify that the device special file for the remote power switch connection serial port (for ex-
ample, /dev/ttyS0) is specified correctly in the cluster database, as established via the
cluconfig command. If necessary, use a terminal emulation package such as minicom to
test if the cluster system can access the serial port.
Ensure that a non-cluster program (for example, a getty program) is not using the serial port
for the remote power switch connection. You can use the lsof command to perform this task.
Check that the cable connection to the remote power switch is correct. Verify that the correct
type of cable is used (for example, an RPS-10 power switch requires a null modem cable), and
that all connections are securely fastened.
Verify that any physical dip switches or rotary switches on the power switch are set properly.
If using an RPS-10 power switch, see Section A.1.1, Setting up RPS-10 Power Switches for
more information.
For network based power switches: