Installation guide
<fence>
<method name="APC">
<device name="apc" port="2"/>
</method>
</fence>
</clusternode>
<clusternode name="node-03.example.com" nodeid="3">
<fence>
<method name="APC">
<device name="apc" port="3"/>
</method>
</fence>
</clusternode>
</clusternodes>
<fencedevices>
<fencedevice agent="fence_apc" ipaddr="apc_ip_example"
login="login_example" name="apc" passwd="password_example"/>
</fencedevices>
<rm>
</rm>
</cluster>
In this example, a fence method (method ) has been added to each node. The name of the fence
method (name) for each node is AP C . The device (devi ce) for the fence method in each node
specifies the name (name) as apc and a unique APC switch power port number (po rt) for each
node. For example, the port number for node-01.example.com is 1 (po rt= "1"). The device name
for each node (d evi ce name= "apc") points to the fence device by the name (name) of apc in
this line of the fenced evi ces element: fencedevi ce ag ent= "fence_apc"
i pad d r= "apc_ip_exampl e" l o g i n= "l o g i n_exampl e" name= "apc"
passwd = "password _exampl e".
Examp le 7.5. cl uster.co nf: Mu lt ip le Fen ce Met h o d s p er No d e
<cluster name="mycluster" config_version="3">
<clusternodes>
<clusternode name="node-01.example.com" nodeid="1">
<fence>
<method name="APC">
<device name="apc" port="1"/>
</method>
<method name="SAN">
<device name="sanswitch1" port="11"/>
</method>
</fence>
<unfence>
<device name="sanswitch1" port="11" action="on"/>
</unfence>
</clusternode>
<clusternode name="node-02.example.com" nodeid="2">
<fence>
<method name="APC">
<device name="apc" port="2"/>
</method>
<method name="SAN">
Red Hat Ent erprise Linux 6 Clust er Administ rat ion
112