All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lon Hohberger <lhh@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] qdisk and fence race
Date: Mon, 18 Feb 2013 14:33:13 -0500	[thread overview]
Message-ID: <512281F9.9080901@redhat.com> (raw)
In-Reply-To: <24E144B8C0207547AD09C467A8259F7557A510DA@lisa.maurer-it.com>

On 02/13/2013 12:32 PM, Dietmar Maurer wrote:
> The following example is copied from 'man qdisk':
> 
>        <cman two_node="0" expected_votes="3" .../>
>         <clusternodes>
>             <clusternode name="node1" votes="1" ... />
>             <clusternode name="node2" votes="1" ... />
>         </clusternodes>
>         <quorumd interval="1" tko="10" votes="1" label="testing">
>             <heuristic   program="ping  A  -c1  -w1"  score="1"  interval="2" tko="3"/>
>         </quorumd>
> 
> Is it true that this can still result is a fence race?
> 
> If so, what is the suggested way to avoid that? Should I configure with  master_wins="1" instead?

It's best to use master_wins over a heuristic.  Ping as a tiebreaker
seems good in practice, but the problem is that there are certain
network failures where two nodes can see the thing they're pinging - but
not each other (e.g. some switch loops).

master_wins protects against this.

-- Lon



  reply	other threads:[~2013-02-18 19:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-13 17:32 [Cluster-devel] qdisk and fence race Dietmar Maurer
2013-02-18 19:33 ` Lon Hohberger [this message]
2013-02-19  4:51   ` Dietmar Maurer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=512281F9.9080901@redhat.com \
    --to=lhh@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.