On Wed, May 18, 2011 at 05:06:25PM +0200, Ulrich Windl wrote:
> >>> Dejan Muhamedagic <[email protected]> schrieb am 18.05.2011 um 16:47 in
> Nachricht <20110518144724.GA3661@squib>:
> > Hi,
> > 
> > On Wed, May 18, 2011 at 09:03:29AM +0200, Ulrich Windl wrote:
> > > >>> Lars Marowsky-Bree <[email protected]> schrieb am 17.05.2011 um 22:39 in 
> > > >>> Nachricht
> > > <[email protected]>:
> > > > On 2011-05-17T17:16:51, Ulrich Windl 
> > > > <[email protected]> wrote:
> > > > 
> > > > > I think that pacemaker is logging too much all the time, so you 
> > > > > hardly 
> > can 
> > > > find out if there really is a problem. For example external/sbd is 
> > > > logging 
> > a 
> > > > message every time the shared disk is OK, that is every 30s or so.
> > > > 
> > > > It should not - the external/sbd status code path doesn't have any log
> > > > messages? What do you see?
> > > 
> > > Apr 28 17:10:11 host2 stonith: [7890]: info: external/sbd device OK.
> > > Apr 28 17:10:42 host2 stonith: [7951]: info: external/sbd device OK.
> > > Apr 28 17:11:13 host2 stonith: [8007]: info: external/sbd device OK.
> > > Apr 28 17:11:44 host2 stonith: [8063]: info: external/sbd device OK.
> > 
> > This happens because the plugin is invoked via stonith(8) (the
> > program) and stonith does the logging. I did notice that before,
> > but didn't remove the message because the best practice for
> > monitoring fencing devices is to do that every once in a while
> > (say every few hours).
> 
> Hi!
> 
> So this is a "success" message for a monitor operation?

To be more precise, for the stonith status operation.

> Why not
> using the primitive name (instead of the RA name) and a

Unfortunately, the stonith program doesn't know the primitive
name, probably because it doesn't need to know it.

> different wording like "info: monitoring primitive reported
> success"?

Well, we could do that, though the current wording seems
unequivocal to me too.

The stonith(8) program, when created, was just an auxiliary
program and never part of a running cluster. Now it got rather
abruptly into that role and it shows here and there that its use
was interactive.

Thanks,

Dejan

> Regards,
> Ulrich
> 
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to