<HTML>
<HEAD>
<TITLE>RedHat Cluster with DRBD and GFS2</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Good afternoon all. I would imagine this is a topic which comes up regularly, but I have researched this topic fairly extenisively on the internet, and I have been unable to find anything which actually describes how to configure a cluster in the manner we are attempting. Any ideas, or advice would be deeply appreciated! <BR>
<BR>
We have two VMWare virtual machines which are members of a two node cluster, sitting behind a load balanced VIP. When DRBD breaks, GFS locks up, because it is worried about corrupting the data on the shared device. This is good, but the nodes do not fence each other.<BR>
<BR>
It was my guess that this was because, although fencing is configured, DRBD is not defined as a resource (is this accurate?). I have edited my cluster.conf file thusly, and updated the clusters configuration.<BR>
<BR>
<?xml version="1.0"?><BR>
<cluster alias="studio2.sacpa" config_version="8" 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.106: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.105:8333" login="xxx" 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="httpd"><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>
                </service><BR>
        </rm><BR>
</cluster><BR>
<BR>
I have also tried this with <fs device> directed at the underlying DRBD device. However, the drive will not mount, and the service will not start. Can anyone shed any light on this issue? Is Pacemaker a better bet for DRBD Primary / Primary configurations?<BR>
<BR>
Thanks!<BR>
------ End of Forwarded Message<BR>
</SPAN></FONT>
</BODY>
</HTML>