<div dir="ltr">In 2 node cluster you should use a quorum disk to solve the split brain problem.<br>after you create a quorum disk change this line in you cluster.conf<br>from <cman expected_votes="1" two_node="1"/><br>
to  <cman expected_votes="3" two_node="0"/><br><br>Grisha<br><div class="gmail_quote"><br><br>On Tue, Sep 23, 2008 at 7:27 PM, Stevan Colaco <span dir="ltr"><<a href="mailto:stevan.colaco@gmail.com">stevan.colaco@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello<br>
<br>
issue: Fencing using fence_ipmilan, each node keeps fencing the other<br>
node ending in a fence loop.....<br>
<br>
We have implemented RH Cluster on RHEL5.2 64bit.<br>
Server Hardware: SUN X4150<br>
Storage: SUN 6140<br>
Fencing Machnism: fence_ipmilan<br>
<br>
 We have downloaded the IPMI fence_ipmilan and configured two node<br>
cluster with ipmi fencing. But..<br>
<br>
when we ifdown the NIC interface, the node gets fenced but the service<br>
does not relocate to the other node. at the same time when the<br>
initially fenced node joins back the cluster it fences the other<br>
node......<br>
this keeps on ending in a loop.<br>
<br>
We downloaded and followed the intructions from the ipmi site<br>
mentioned below<br>
<a href="http://docs.sun.com/source/819-6588-13/ipmi_com.html#0_74891" target="_blank">http://docs.sun.com/source/819-6588-13/ipmi_com.html#0_74891</a><br>
<br>
we tested with following  Cmd line method which works fine.<br>
#fence_ipmilan -a "ip addr" -l root -p <Passkey> -o <on|off|reboot><br>
<br>
here is my cluster.conf<br>
<br>
<?xml version="1.0"?><br>
<cluster alias="tibcouat" config_version="12" name="tibcouat"><br>
        <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/><br>
        <clusternodes><br>
                <clusternode name="<a href="http://tibco-node1-uat.kmefic.com.kw" target="_blank">tibco-node1-uat.kmefic.com.kw</a>" nodeid="1" votes="1"><br>
                        <fence><br>
                                <method name="1"><br>
                                        <device name="tibco-node1"/><br>
                                </method><br>
                        </fence><br>
                </clusternode><br>
                <clusternode name="<a href="http://tibco-node2-uat.kmefic.com.kw" target="_blank">tibco-node2-uat.kmefic.com.kw</a>" nodeid="2" votes="1"><br>
                        <fence><br>
                                <method name="1"><br>
                                        <device name="tibco-node2"/><br>
                                </method><br>
                        </fence><br>
                </clusternode><br>
        </clusternodes><br>
        <cman expected_votes="1" two_node="1"/><br>
        <fencedevices><br>
                <fencedevice agent="fence_ipmilan" ipaddr="<a href="http://172.16.71.41" target="_blank">172.16.71.41</a>"<br>
login="root" name="tibco-node1" passwd="changeme"/><br>
                <fencedevice agent="fence_ipmilan" ipaddr="<a href="http://172.16.71.42" target="_blank">172.16.71.42</a>"<br>
login="root" name="tibco-node2" passwd="changeme"/><br>
        </fencedevices><br>
        <rm><br>
                <failoverdomains><br>
                        <failoverdomain name="prefer_node1" nofailback="0" ordered="1"<br>
restricted="1"><br>
                                <failoverdomainnode name="<a href="http://tibco-node1-uat.kmefic.com.kw" target="_blank">tibco-node1-uat.kmefic.com.kw</a>" priority="1"/><br>
                                <failoverdomainnode name="<a href="http://tibco-node2-uat.kmefic.com.kw" target="_blank">tibco-node2-uat.kmefic.com.kw</a>" priority="2"/><br>
                        </failoverdomain><br>
                </failoverdomains><br>
                <resources><br>
                        <ip address="<a href="http://172.16.71.55" target="_blank">172.16.71.55</a>" monitor_link="1"/><br>
                        <clusterfs device="/dev/vg0/gfsdata" force_unmount="0" fsid="63282"<br>
fstype="gfs" mountpoint="/var/www/html" name="gfsdata"<br>
self_fence="0"/><br>
                        <apache config_file="conf/httpd.conf" name="docroot"<br>
server_root="/etc/httpd" shutdown_wait="0"/><br>
                </resources><br>
                <service autostart="1" domain="prefer_node1" exclusive="0"<br>
name="webby" recovery="relocate"><br>
                        <ip ref="<a href="http://172.16.71.55" target="_blank">172.16.71.55</a>"/><br>
                </service><br>
        </rm><br>
</cluster><br>
<br>
<br>
Kindly investigate and provide us the solution at the earliest.<br>
<br>
Thanks & Best Regards,<br>
<font color="#888888"><br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</font></blockquote></div><br></div>