[Linux-HA] Question regarding the stonith resources

Peter Kruse pk at q-leap.com
Mon Oct 31 04:17:17 MST 2005


Hello,

Andrew Beekhof wrote:
> On 10/31/05, Peter Kruse <pk at q-leap.com> wrote:
> 
>>>
>>I still don't understand the reasoning behind this.  Why do you
>>request a node to shoot itself at all?
> 
> 
> a resource might have failed to stop.

sorry, didn't make it clear, the question shoud read:
Why do you request a node to shoot _itself_ at all?
shouldn't a node always stonith another node?
That's what the name (shoot THE OTHER node ...)
suggests, no?

> 
> 
>>How do you
>>know that it suceeded?  I mean, a node cannot declare itself
>>dead.  How can you know that a stonith operation failed?
> 
> 
> it doesn't really matter - if it succeeds then the node will reboot itself.
> the only time this will happen is if the node is in a cluster
> partition of size 1,
> so there isnt really anyone else to notify anyway.
> 

hm, that is a one-node-cluster?  are you saying that
in a two-node cluster it's always one node fencing the other?

Also, this sounds like you don't check the success of the
stonith operation, although I see in the log messages:

info: Succeeded to STONITH the node ha-test-1: optype=1. whodoit: ha-test-2

Are you ignoring the result?

	Peter


More information about the Linux-HA mailing list