Re: Halt nodes in cluster with cable disconnect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Miguel

Talking about the problem when both nodes gets poweroff, this is called fencing-race, Redhat has this problem from so much time and the only fix was made it

fence delay

delay="30"

man fence_ipmilan

And I thinks you can look for a quorum qdisk


2012/1/24 Miguel Angel Guerrero <kortux@xxxxxxxxx>
Hi i'm trying to setup a centos cluster with two nodes with cman, drbd, gfs2 and i'm using ipmi for fencing. DRBD is set up between the nodes using a dedicated interface. So, when I unplug the drbd network cable, both nodes power off immediatly (i tried using crossover cable and both nodes connected to a switch, but both scenarios fail), and the logs doesn't seem to show something useful. In a previous thread on this list, it is recommended to deactivate ACPID daemon, even at BIOS level, but I'm still having troubles.

If I simulate a physical disconnection with ifdown command in some node, this node reboots with no hassle, but unpluging the cable kills both nodes. I think the first scenario is correct, but the second one is not what I expect.

Thanks for your help the next are my cluster.conf

  <?xml version="1.0"?>
<cluster config_version="2" name="WSGClust">
        <cman expected_votes="1" two_node="1"/>
        <clusternodes>
                <clusternode name="wsguardian1" nodeid="1">
                        <fence>
                                <method name="wsguardian1_ipmi">
                                        <device name="ipmi1" action="">
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="wsguardian2" nodeid="2">
                        <fence>
                                <method name="wsguardian2_ipmi">
                                        <device name="ipmi2" action="">
                                </method>
                        </fence>
                </clusternode>
        </clusternodes>
        <fencedevices>
                <fencedevice agent="fence_ipmilan" ipaddr="192.168.201.220" lanplus="1" login="ADMIN" name="ipmi1" passwd="itac321"/>
                <fencedevice agent="fence_ipmilan" ipaddr="192.168.201.186" lanplus="1" login="ADMIN" name="ipmi2" passwd="itac321"/>
        </fencedevices>
</cluster>


--
Att:
------------------------------------
Miguel Angel Guerrero
Usuario GNU/Linux Registrado #353531
------------------------------------

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster



--
esta es mi vida e me la vivo hasta que dios quiera
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux