[Linux-HA] Strange monitoring experience of a LSB resource

Michael Schwartzkopff misch at multinet.de
Fri Jun 26 03:08:36 MDT 2009


Am Freitag, 26. Juni 2009 11:02:09 schrieb Andrew Beekhof:
> On Tue, Jun 23, 2009 at 1:42 PM, Michael Schwartzkopff<misch at multinet.de> 
wrote:
> > Hi,
> >
> > I have a squid LSB resource on my pacemaker-1.0.4 cluster. Ok. I know
> > that there is a OCF resource, but this is for historical reasons. I
> > checked the failcounters and the resource had two errors. So I checked
> > the logfiles and I found:
> >
> > Jun 23 13:33:52 mom2 pengine: [4734]: info: unpack_rsc_op:
> > resSquid_monitor_0 on mom1 returned 1 (unknown error) instead of the
> > expected value: 7 (not running)
> > Jun 23 13:33:52 mom2 pengine: [4734]: WARN: unpack_rsc_op: Processing
> > failed op resSquid_monitor_0 on mom1: unknown error
> >
> > I thought LSB resources have to return "3" if the resource is not
> > running. But it seems that the pengine looks for a "7" and shows an error
> > with the resource returing "1".
> >
> > Can somebody please explain this to me? Thanks.
>
> The LRM hides the implementation details of the various non-OCF
> resources so that the CRM can treat them all the same (as OCF
> resources).
> The LRM would have remapped 3 to 7 in this case.

Ah!

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch at multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42


More information about the Linux-HA mailing list