[Linux-cluster] Avoiding fencing loops with startup quorum (patch)

Federico Simoncelli federico.simoncelli at gmail.com
Fri Oct 17 16:56:32 UTC 2008


On Fri, Oct 17, 2008 at 6:09 PM, David Teigland <teigland at redhat.com> wrote:
>> I tried this before but the downsides were:
>>
>> - long waits due not  being in quorum (fence timeout is 600 seconds by
>> default)
>
> cman_tool join -w can will possibly wait a long time if the other node
> is not up or is partitioned.  That's the price you pay for avoiding the
> potential back-and-forth fencing loop.

I'll pay :-)
I quickly made a patch (in attachment).

Tested with:

# cat /etc/sysconfig/cman
CMAN_QUORUM_TIMEOUT=10
CMAN_EXPECTED_QUORUM=1

Working fine for now. More testing after the weekend. :-)
Comments are welcome.

--
Federico.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cman_expected_quorum.patch
Type: application/octet-stream
Size: 858 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20081017/99195039/attachment.obj>


More information about the Linux-cluster mailing list