Cluster.conf File Example Node Resource Service Failover Domain


Storage OSS Server High Availblity Cluster Configuration /etc/cluster/cluster.conf file Example.
1)It has Two Nodes – Ost3 and ost4 – FailoverdomainNode
2)Two Failover Domain Name- OSS_Domain3- OSS_Domain4- failoverdomain name
3)Six Resource Are there Four Storage Two IP
Four Storage
a)ost5 - device - /dev/dm-0 – Mount Point –ost5
b)ost6 - device - /dev/dm-1– Mount Point –ost6
c)ost7 - device - /dev/dm-2– Mount Point –ost7
d)ost8 - device - /dev/dm-3– Mount Point –ost8
Two IP Resource
a) ip address="
b) ip address="
4)Two Service are There,
Each Service Has three Reource [ Two storage one ip]
These cluster Configured In Active - Passive Mode- What is Active Passive Mode

/etc/cluster/cluster.conf File Example
<?xml version="1.0"?>
<cluster alias="OSSS" config_version="24" name="OSSS">
<fence_daemon post_fail_delay="0" post_join_delay="3"/>
<clusternode name="oss3" nodeid="1" votes="1">
<method name="1">
<device lanplus="" name="ipmi_oss3"/>
<clusternode name="oss4" nodeid="2" votes="1">
<method name="1">
<device lanplus="" name="ipmi_oss4"/>
<cman expected_votes="1" two_node="1"/>
<fencedevice agent="fence_ipmilan" ipaddr="" login="root" name="ipmi_oss3" passwd="root123" option="off"/>
<fencedevice agent="fence_ipmilan" ipaddr="" login="root" name="ipmi_oss4" passwd="root123" option="off"/>

<failoverdomain name="OSS_Domain3" ordered="1" restricted="1">
<failoverdomainnode name="oss3" priority="1"/>
<failoverdomainnode name="oss4" priority="2"/>
<failoverdomain name="OSS_Domain4" ordered="1" restricted="1">
<failoverdomainnode name="oss3" priority="2"/>
<failoverdomainnode name="oss4" priority="1"/>
<lustrefs device="/dev/dm-0" force_fsck="0" force_unmount="0" mountpoint="/ost5" name="ost5" self_fence="1"/>
<lustrefs device="/dev/dm-1" force_fsck="0" force_unmount="0" mountpoint="/ost6" name="ost6" self_fence="1"/>
<lustrefs device="/dev/dm-2" force_fsck="0" force_unmount="0" mountpoint="/ost7" name="ost7" self_fence="1"/>
<lustrefs device="/dev/dm-3" force_fsck="0" force_unmount="0" mountpoint="/ost8" name="ost8" self_fence="1"/>
<ip address="" monitor_link="1"/>
<ip address="" monitor_link="1"/>
<service autostart="1" domain="OSS_Domain3" name="lustre_1" recovery="relocate">
<lustrefs ref="ost5"/>
<lustrefs ref="ost6"/>
<ip ref=""/>
<service autostart="1" domain="OSS_Domain4" name="lustre_2" recovery="relocate">
<lustrefs ref="ost7"/>
<lustrefs ref="ost8"/>
<ip ref=""/>

How To read the cluster.conf file.
1) Read the service tag
2) From the service tag it will refer to the failover domain and Resource tag.

No comments:
Write comments