From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Teigland Date: Mon, 5 Nov 2012 11:10:17 -0500 Subject: [Cluster-devel] cluster4 dlm dlm_stonith ??? should it really fence by turning node off? In-Reply-To: <20121103145828.GA2852@lolek.nigdzie> References: <20121103145828.GA2852@lolek.nigdzie> Message-ID: <20121105161017.GA27466@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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