From: David Teigland <teigland@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster4 dlm dlm_stonith ??? should it really fence by turning node off?
Date: Mon, 5 Nov 2012 11:10:17 -0500 [thread overview]
Message-ID: <20121105161017.GA27466@redhat.com> (raw)
In-Reply-To: <20121103145828.GA2852@lolek.nigdzie>
On Sat, Nov 03, 2012 at 03:58:28PM +0100, Jacek Konieczny wrote:
> 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.
Could you send the patch? Do you think the patch is not right or reboot
is not right? If the later, what do you think is wrong with reboot?
> 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
next prev parent reply other threads:[~2012-11-05 16:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-03 14:58 [Cluster-devel] cluster4 dlm dlm_stonith – should it really fence by turning node off? Jacek Konieczny
2012-11-05 16:10 ` David Teigland [this message]
2012-11-05 17:47 ` [Cluster-devel] cluster4 dlm dlm_stonith ??? " 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=20121105161017.GA27466@redhat.com \
--to=teigland@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 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).