4.4. Cluster Configuration File with IPMI Fence Device
Configuring a cluster with Conga modifies the cluster configuration file. This section shows the cluster configuration file before and after the procedures documented in Section 4.3, “IPMI Fence Device Configuration Procedure” and were performed.
Before the cluster resources and service were configured, the
cluster.conf
file appeared as follows.
<?xml version="1.0"?> <cluster alias="ipmiclust" config_version="12" name="ipmiclust"> <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/> <clusternodes> <clusternode name="clusternode1.example.com" nodeid="1" votes="1"> <fence/> </clusternode> <clusternode name="clusternode2.example.com" nodeid="2" votes="1"> <fence/> </clusternode> <clusternode name="clusternode3.example.com" nodeid="3" votes="1"> <fence> <method name="1"/> </fence> </clusternode> </clusternodes> <cman/> <fencedevices/> <rm> <failoverdomains/> <resources/> </rm> </cluster>
After the cluster resources and service were configured, the
cluster.conf
file appears as follows.
<?xml version="1.0"?> <cluster alias="ipmiclust" config_version="27" name="ipmiclust"> <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/> <clusternodes> <clusternode name="clusternode1.example.com" nodeid="1" votes="1"> <fence> <method name="1"> <device name="ipmifence1"/> </method> </fence> </clusternode> <clusternode name="clusternode2.example.com" nodeid="2" votes="1"> <fence> <method name="1"> <device name="ipmifence2"/> </method> </fence> </clusternode> <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>