[Linux-HA] Problem with STONITH and heartbeat 2

Alan Robertson alanr at unix.sh
Thu Oct 20 09:32:07 MDT 2005


Andrew Beekhof wrote:
> On 10/20/05, Alan Robertson <alanr at unix.sh> wrote:
>>Andrew Beekhof wrote:
>>>On 10/18/05, Lars Marowsky-Bree <lmb at suse.de> wrote:
>>>>On 2005-10-18T13:23:44, Alan Robertson <alanr at unix.sh> wrote:
>>>>
>>>>>The problem may be in the STONITH API.  I don't see a way to redirect
>>>>>STONITH messages to the right logging interface - so they may be going
>>>>>to stdout/stderr and getting lost.
>>>>>
>>>>>The underlying plugin API provides this capability, but it isn't
>>>>>exported through the STONITH API (or so it looks to me).
>>>>Hmmm. That would need fixing ;-)
>>>>
>>>>And, what stonithd could do in any case is log when it branches into /
>>>>returns from a plugin...
>>>Well that and things like:
>>>- how many nodes could have performed the action
>>>- who (if anyone) tried but failed to perform the action
>>>
>>>Right now we just see "failed" without any idea why and I have to dig
>>>through CRM logs and try to infer what resources were active at the
>>>time.
>>It should not report failure until all eligible STONITH resources have
>>failed.
> 
> i just meant something in the logs, perhaps a WARNING.

See note below.  By "report" I meant "to the caller" not "to the logs".

>>The set of STONITH resources which could have done the job should be in
>>the logs - reported as failures.
> 
> and if there were none - that would also be helpful to report.

Agreed.


-- 
     Alan Robertson <alanr at unix.sh>

"Openness is the foundation and preservative of friendship...  Let me 
claim from you at all times your undisguised opinions." - William 
Wilberforce



More information about the Linux-HA mailing list