Installation guide

<fencedevice agent="fence_apc" ipaddr="apc_ip_example"
login="login_example" name="apc2" passwd="password_example"/>
</fencedevices>
<rm>
</rm>
</cluster>
Note that when you have finished configuring all of the components of your cluster, you will need to
sync the cluster configuration file to all of the nodes, as described in Section 5.15, “ Propagating the
Configuration File to the Cluster Nodes .
5.7.5. T est ing t he Fence Configurat ion
As of Red Hat Enterprise Linux Release 6.4, you can test the fence configuration for each node in a
cluster with the fence_check utility.
The following example shows the output of a successful execution of this command.
[root@ host-098 ~]# fence_check
fence_check run at Wed Jul 23 09:13:57 CDT 2014 pid: 4769
Testing host-098 method 1: success
Testing host-099 method 1: success
Testing host-100 method 1: success
For information on this utility, see the fence_check(8) man page.
5.7.6. Removing Fence Met hods and Fence Inst ances
To remove a fence method from your cluster configuration, execute the following command:
ccs -h host --rmmethod method node
For example, to remove a fence method that you have named AP C that you have configured for
no d e0 1. exampl e. co m from the cluster configuration file on cluster node
no d e0 1. exampl e. co m, execute the following command:
ccs -h node01.example.com --rmmethod APC node01.example.com
To remove all fence instances of a fence device from a fence method, execute the following command:
ccs -h host --rmfenceinst fencedevicename node method
For example, to remove all instances of the fence device named apc1 from the method named AP C -
d ual configured for nod e0 1. example. co m from the cluster configuration file on cluster node
no d e0 1. exampl e. co m, execute the following command:
ccs -h node01.example.com --rmfenceinst apc1 node01.example.com APC-dual
5.8. Configuring a Failover Domain
Chapt er 5. Configuring Red Hat Hig h Availabilit y Add- O n Wit h t he ccs Command
87