[Linux-HA] Problem with STONITH and heartbeat 2

Alan Robertson alanr at unix.sh
Thu Oct 20 08:56:53 MDT 2005

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 

The set of STONITH resources which could have done the job should be in 
the logs - reported as failures.

If it doesn't work this way, it should.

     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 

More information about the Linux-HA mailing list