EasyManua.ls Logo

Red Hat ENTERPRISE LINUX 5 - Testing the IPMI Fence Device Configuration

Default Icon
38 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 3. Configuring IPMI Management Boards as Fencing Devices
18
<clusternode name="clusternode3.example.com" nodeid="3"
votes="1">
<fence>
<method name="1">
<device name="ipmifence3"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman/>
<fencedevices>
<fencedevice agent="fence_ipmilan" ipaddr="10.15.86.96"
login="ipmilogin" name="ipmifence1" passwd="ipmipword" />
<fencedevice agent="fence_ipmilan" ipaddr="10.15.86.97"
login="ipmilogin" name="ipmifence2" passwd="ipmipword" />
<fencedevice agent="fence_ipmilan" ipaddr="10.15.86.98"
login="ipmilogin" name="ipmifence3" passwd="ipmipword" />
</fencedevices>
<rm>
<failoverdomains/>
<resources/>
</rm>
</cluster>
3.5. Testing the IPMI 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 IPMI management boards have been successfully configured as fence devices for
the three nodes in cluster ipmiclust, 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