[Linux-HA] Problem with STONITH and heartbeat 2
Andrew Beekhof
beekhof at gmail.com
Thu Oct 20 09:18:13 MDT 2005
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.
>
> 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.
>
> If it doesn't work this way, it should.
>
More information about the Linux-HA
mailing list