Re: Can a 2-node Cluster boot-up with only one active node?

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

 



In a two node cluster I believe you want to use:
<cman expected_votes="1" two_node="1"/>
in cluster.conf.

Randy

Celso K. Webber wrote:
Hello all,

Sorry for asking this basic question, I've checked the Cluster FAQ and did not find anything related to this.

I have set up a 2-node Cluster, with quorum/qdiskd configured, and everything goes fine.

But in the case where I need to shut down the whole cluster, and then for some reason I can boot up only one of the nodes, it does not come up, staying always at the "Inquorate" status.

What is the correct behaviour? Shouldn't my Cluster come up because I have two votes active? In this case each node counts one vote in the cluster, and the quorum counts another one.

By the way, I'm setting up qdiskd with no heuristics at all, I have no "pingable" router in this network.

Here is the relevant parts of the cluster.conf file:

<?xml version="1.0"?>
<cluster config_version="9" name="clu_NAME">
<quorumd log_facility="local6" device="/dev/emcpowere1" interval="1" min_score="0" tko="10" votes="1"/>
    <fence_daemon post_fail_delay="10" post_join_delay="3"/>
    <clusternodes>
        <clusternode name="node1" votes="1">
            <fence>
                <method name="1">
                    <device lanplus="" name="node1-ipmi"/>
                </method>
            </fence>
        </clusternode>
        <clusternode name="node2" votes="1">
            <fence>
                <method name="1">
                    <device lanplus="" name="node2-ipmi"/>
                </method>
            </fence>
        </clusternode>
    </clusternodes>
    <cman/>
    <fencedevices>
<fencedevice agent="fence_ipmilan" auth="none" ipaddr="node1-ipmi" login="root" name="node1-ipmi" passwd="PASS"/> <fencedevice agent="fence_ipmilan" auth="none" ipaddr="node2-ipmi" login="root" name="node2-ipmi" passwd="PASS"/>
    </fencedevices>
    <rm log_facility="local6">
...
    </rm>
</cluster>


--
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