Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

3.5. Testing the APC Fence Device Configuration

To check whether the configuration you have defined works as expected, you can use the fence_node to fence a node manually. The fence_node program reads the fencing settings from the cluster.conf file for the given node and then runs the configured fencing agent against the node.
To test whether the APC switch has been successfully configured as a fence device for the three nodes in cluster apcclust, execute the following commands and check whether the nodes have been fenced.
# /sbin/fence_node clusternode1.example.com
# /sbin/fence_node clusternode2.example.com
# /sbin/fence_node clusternode3.example.com