Testing The Apc Fence Device Configuration - Red Hat ENTERPRISE LINUX 5 Configuration Manual

Fence devices
Hide thumbs Also See for ENTERPRISE LINUX 5:
Table of Contents

Advertisement

Chapter 2. Configuring an APC Switch as a Fence Device
<fencedevices>
<fencedevice agent="fence_apc" ipaddr="10.15.86.96"
login="apclogin" name="apcfence" passwd="apcpword"/>
</fencedevices>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>

2.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
10

Advertisement

Table of Contents
loading

Table of Contents