[Pacemaker] Resource Status from the CIB
Michael Schwartzkopff
ms at sys4.de
Mon Jan 20 15:09:20 UTC 2014
Am Montag, 20. Januar 2014, 09:57:28 schrieb David Vossel:
> ----- Original Message -----
>
> > From: "Michael Schwartzkopff" <ms at sys4.de>
> > To: pacemaker at oss.clusterlabs.org
> > Sent: Monday, January 20, 2014 8:23:25 AM
> > Subject: [Pacemaker] Resource Status from the CIB
> >
> > Hi,
> >
> > is it possible to read the status of a resource from the status part of
> > the
> > CIB?
> >
> > I can see a attribute rc-code="0" in lrm_rsc_op_<resourceID...>
> > on an active node and direct
>
> yes, you can read the status if you want. It would be better to use crm_mon
> to interpret the status for you though.
>
> Here's some info on the status section.
> http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html-single/Pacemaker_Exp
> lained/index.html#_operation_history
>
> -- Vossel
Thanks. That documents te whole thing a little bit.
Mit freundlichen Grüßen,
Michael Schwartzkopff
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140120/b8ee11ad/attachment-0004.sig>
More information about the Pacemaker
mailing list