cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Jacek Konieczny <jajcus@jajcus.net>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster4 dlm dlm_stonith – should it really fence by turning node off?
Date: Sat, 3 Nov 2012 15:58:28 +0100	[thread overview]
Message-ID: <20121103145828.GA2852@lolek.nigdzie> (raw)

Hello,

The dlm_stonith fencing helper is really convenient when Pacemaker is in
use. Though, it doesn't quite work as I would expect ? when fencing 
is needed it requests a node to be turned off instead of rebooting. And
it doesn't handle unfencing ? so automatic recovery is not possible
(rebooted node could join the cluster cleanly later, provided quorum
handling is properly configured in the cluster stack).

Preferably this behaviour should be configurable. I have hacked a
work-around by (ab)using argv[0] ? when 'dlm_stonith' is called as
'dlm_stonith_reboot' the node would be rebooted instead of halting 
? this works for me well-enough, but I don't think this is the right
solution.

Any ideas how to solve that properly? An argument for the helper to be
included in the config file? Or, maybe, just change the default
behaviour?

Greets,
        Jacek



             reply	other threads:[~2012-11-03 14:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-03 14:58 Jacek Konieczny [this message]
2012-11-05 16:10 ` [Cluster-devel] cluster4 dlm dlm_stonith ??? should it really fence by turning node off? David Teigland
2012-11-05 17:47   ` Jacek Konieczny
2012-11-05 18:05     ` Jacek Konieczny
2012-11-05 18:05       ` [Cluster-devel] [PATCH] dlm_stonith_{off, reboot} aliases for fence helper Jacek Konieczny
2012-11-05 19:30         ` David Teigland
2012-11-05 20:46           ` Jacek Konieczny

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=20121103145828.GA2852@lolek.nigdzie \
    --to=jajcus@jajcus.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).