[Linux-cluster] A few GFS newbie questions: journals, etc

Jon Scottorn jscottorn at possibilityforge.com
Thu Jun 30 14:09:14 UTC 2005


I lowered my votes to 0 and that didn't work for me.

Here is my current cluster.conf

<?xml version="1.0"?>
<cluster name="SAN1" config_version="1">

<cman two_node="1" expected_votes="1">
</cman>

<clusternodes>
<clusternode name="data" votes="1">
        <fence>
                <method name="manual">
                        <device name="human" agent="fence_manual"/>
                </method>

        </fence>
</clusternode>

<clusternode name="front0" votes="1">
        <fence>
                <method name="single">
                        <device name="human" agent="fence_manual"/>
                </method>
        </fence>
</clusternode>

<clusternode name="front1" votes="0">
        <fence>
                <method name="single">
                        <device name="human" agent="fence_manual"/>
                </method>
        </fence>
</clusternode>

</clusternodes>

<fence_devices>
        <device name="apc1" agent="fence_apc" ipaddr="10.1.1.1"
login="apc" passwd="apc"/>
        <device name="brocade1" agent="fence_brocade" ipaddr="10.1.1.2"
login="user" passwd="pw"/>
        <device name="brocade2" agent="fence_brocade" ipaddr="10.1.1.3"
login="user" passwd="pw"/>
        <device name="human" agent="fence_manual"/>
</fence_devices>

</cluster>

This is the error that I get still.

Starting Cluster (ccsd, fence, clvm, gnbd): cluster/sbin/cman_tool: the
two-node option requires exactly two nodes with one vote each and
expected votes of 1 (node_count=3 vote_sum=2)

Am I misunderstanding a step or something.

Thanks,
 
Jon

Nate Carlson wrote:

> On Thu, 30 Jun 2005, Patrick Caulfield wrote:
>
>> That is right. What you have here is cman correcting an incorrect
>> configuration. You've told it to expect only 10 votes but provided it
>> with 101 votes. It knows when you're lying to it ;-)
>
>
> But darn it, I *want* to be able to lie to it! :)
>
>> What you actually have here is a special case of a two-node cluster,
>> because there are only two "real" nodes involved. Unfortunately the
>> cman "two_node" mode is no use here because it enforces the 2-node
>> restriction which would prevent you bringing any VMs online once the
>> two real machines were up.
>
>
> I've only got two physical boxes right now, but will be adding 2 more
> in the near future (once I migrate all the services off the boxes in
> my old colo to the new one.)
>
>> One little-known feature is that you can set votes to zero (only in
>> CCS, not from the cman_tool command-line) which may go a little way
>> to helping out. it would, at least, work for 3 or more Xen host nodes
>> if all the VMs had zero votes.
>
>
> I'm not sure how that would help - if I lose another physical host,
> won't it still lose quorum? But sounds like a good idea anyways - I'll
> drop the VM's down to 0 votes.
>
>> Perhaps we should change "2-node" mode to allow >2 nodes provided the
>> extra nodes all had zero votes ?
>
>
> If possible, an option that would let me say "here's the number
> required for a quorum, I know I'm lying to you, but do it anyways"
> would be nice. :)
>
> ------------------------------------------------------------------------
> | nate carlson | natecars at natecarlson.com | http://www.natecarlson.com |
> |       depriving some poor village of its idiot since 1981            |
> ------------------------------------------------------------------------
>
> -- 
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> http://www.redhat.com/mailman/listinfo/linux-cluster
>




More information about the Linux-cluster mailing list