<HTML>
<HEAD>
<TITLE>RedHat Clustering Services does not fence when DRBD breaks</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hey all, we are attempting to roll out DRBD in our environment. The issue we are encountering is not with DRBD itself but with RHCS. Does the DRBD device need to be defined as a resource in order for it’s breaking to trigger fencing? The DRBD nodes are VM’s, and the DRBD devices are incorporated into LVM’s with GFS2 formatting.<BR>
<BR>
Should I use the DRBD fence-peer handler script to call fence_vm?<BR>
<BR>
Here is the cluster.conf file we are using:<BR>
<BR>
<?xml version="1.0"?><BR>
<cluster alias="studio2.sacpa" config_version="12" name="studio2.sacpa"><BR>
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/><BR>
<clusternodes><BR>
<clusternode name="studio104.sacpa.videoegg.com" nodeid="1" votes="1"><BR>
<fence> <BR>
<method name="1"><BR>
<device name="fence_node2"/><BR>
</method><BR>
</fence><BR>
</clusternode><BR>
<clusternode name="studio103.sacpa.videoegg.com" nodeid="2" votes="1"><BR>
<fence> <BR>
<method name="1"><BR>
<device name="fence_node1"/><BR>
</method><BR>
</fence><BR>
</clusternode><BR>
</clusternodes><BR>
<fencedevices><BR>
<fencedevice agent="fence_vmware" ipaddr="10.1.69.105:8333" login="xxx" name="fence_node2" passwd_script="xxx" port="[standard] studio104.sacpa/studio104.sacpa.vmx" vmware_type="server2"/><BR>
<fencedevice agent="fence_vmware" ipaddr="10.1.69.106:8333" login="root" name="fence_node1" passwd_script="xxx" port="[standard] studio103.sacpa/studio103.sacpa.vmx" vmware_type="server2"/><BR>
</fencedevices><BR>
<cman expected_votes="1" two_node="1"/><BR>
<rm><BR>
<resources><BR>
</resources><BR>
<failoverdomains/><BR>
<service autostart="1" name="httpd_drive"><BR>
<drbd name="drbd-httpd" resource="apache"><BR>
<fs device="/dev/studio-vg/studio-lv" mountpoint="/export/www/html" fstype="gfs2" name="httpd_drive" options="noatime,nodiratime,data=writeback"/><BR>
</drbd><BR>
<apache config_file="conf/httpd.conf" name="studio_server" server_root="/etc/httpd" shutdown_wait="0"/><BR>
</service><BR>
</rm><BR>
<dlm plock_ownership="1" plock_rate_limit="0"/><BR>
<gfs_controld plock_rate_limit="0"/><BR>
</cluster></SPAN></FONT>
</BODY>
</HTML>