Starting and stopping the fenced
This document describes steps to start and restart the fenced in a open-sharedroot enviroment
Description:
This script starts the fenced in the changeroot specified in /etc/sysconfig/cluster. Therefore /etc/init.d/fenced is disabled.
Defining options:
If you want to start the fenced with special options you can either specify then at start time or via the file /etc/sysconfig/cluster and the variable FENCE_OPTS
Let's suppose you want to start the fenced with a special waittime while fencing. The appropriate parameter would be -f and the timeout could be any time given in seconds. In this example we propose 10secs failtime. So the two ways would be either restart the fenced:
/etc/init.d/fenced-chroot restart -f 10
or add the line:
FENCE_OPTS="-c -w -f 10"
to /etc/sysconfig/cluster and restart the fenced:
/etc/init.d/fenced-chroot restart