ÇýÈ ¿¡ ±¸ÃàÇÑ ¼¹ö example
==============================================================
<cluster config_version="4" name="TESTDB.cs">
<clusternodes>
<clusternode name="TESTDB01.node" nodeid="1">
<fence>
<method name="1">
<device name="kdump"/>
</method>
<method name="2">
<device name="TESTDB01.ipmi"/>
</method>
</fence>
</clusternode>
<clusternode name="TESTDB02.node" nodeid="2">
<fence>
<method name="1">
<device name="kdump"/>
</method>
<method name="2">
<device name="TESTDB02.ipmi"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman expected_votes="1" quorum_dev_poll="32000" two_node="1"/>
<fencedevices>
<fencedevice agent="fence_kdump" name="kdump" timeout="90"/>
<fencedevice agent="fence_ipmilan" auth="password" delay="15" ipaddr="10.11.12.6" lanplus="on" login="rockplace" name="TESTDB01.ipmi" passwd="***" power_wait="3" privlvl="ADMINISTRATOR"/>
<fencedevice agent="fence_ipmilan" auth="password" ipaddr="10.11.12.8" lanplus="on" login="rockplace" name="TESTDB02.ipmi" passwd="***" power_wait="3" privlvl="ADMINISTRATOR"/>
</fencedevices>
<rm log_level="7">
<failoverdomains>
<failoverdomain name="TESTDB_FD" ordered="1" restricted="1">
<failoverdomainnode name="TESTDB01.node" priority="1"/>
<failoverdomainnode name="TESTDB02.node" priority="1"/>
</failoverdomain>
</failoverdomains>
<resources>
<fs device="/dev/vg_xlog_share/lv_xlog" force_fsck="0" force_unmount="on" fsid="1001" fstype="ext4" mountpoint="/pg_xlog" name="fs_xlog" self_fence="on"/>
<lvm name="halvm_xlog" self_fence="1" vg_name="vg_xlog_share"/>
<fs device="/dev/vg_data_share/lv_data" force_fsck="0" force_unmount="on" fsid="1002" fstype="ext4" mountpoint="/data" name="fs_data" self_fence="on"/>
<lvm name="halvm_data" self_fence="1" vg_name="vg_data_share"/>
<fs device="/dev/vg_archive_share/lv_archive" force_fsck="0" force_unmount="on" fsid="1003" fstype="ext4" mountpoint="/archive" name="fs_archive" self_fence="on"/>
<lvm name="halvm_archive" self_fence="1" vg_name="vg_archive_share"/>
<ip address="10.10.10.249"/>
<script file="/etc/init.d/ppas-9.4" name="ppas_script"/>
</resources>
<service domain="TESTDB_FD" name="svc_ppas" recovery="relocate">
<ip ref="10.10.10.249"/>
<lvm ref="halvm_xlog"/>
<fs ref="fs_xlog"/>
<lvm ref="halvm_data"/>
<fs ref="fs_data"/>
<lvm ref="halvm_archive"/>
<fs ref="fs_archive"/>
<script ref="ppas_script"/>
</service>
</rm>
<totem token="35000"/>
</cluster>
==============================================================
|