Red Hat Training
A Red Hat training course is available for Red Hat Enterprise Linux
5.7. Managing Nodes with Fence Devices
You can fence a node manually with the following command. If you specify
--offthis will use the
offAPI call to stonith which will turn the node off instead of rebooting it.
pcs stonith fence node [--off]
In a situation where no stonith device is able to fence a node even if it is no longer active, the cluster may not be able to recover the resources on the node. If this occurs, after manually ensuring that the node is powered down you can enter the following command to confirm to the cluster that the node is powered down and free its resources for recovery.
If the node you specify is not actually off, but running the cluster software or services normally controlled by the cluster, data corruption/cluster failure will occur.
pcs stonith confirm node