Installation guide

7. Run the cman_too l versi o n -r command to propagate the configuration to the rest of the
cluster nodes.
8. Verify that the updated configuration file has been propagated.
9. Proceed to Section 7.5.2, “ Adding a Cluster Service to the Cluster.
Examp le 7.9 . cl uster. co nf File wit h Reso u rces Ad d ed
<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>
</fence>
</clusternode>
<clusternode name="node-02.example.com" nodeid="2">
<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>
<failoverdomains>
<failoverdomain name="example_pri" nofailback="0"
ordered="1" restricted="0">
<failoverdomainnode name="node-01.example.com"
priority="1"/>
<failoverdomainnode name="node-02.example.com"
priority="2"/>
<failoverdomainnode name="node-03.example.com"
priority="3"/>
</failoverdomain>
</failoverdomains>
<resources>
<fs name="web_fs" device="/dev/sdd2" mountpoint="/var/www"
fstype="ext3"/>
<ip address="127.143.131.100" monitor_link="yes"
sleeptime="10"/>
Red Hat Ent erprise Linux 6 Clust er Administ rat ion
120