[Pacemaker] emulate crm_mon output by xsltproc'essing cibadmin -Ql
Andrew Beekhof
andrew at beekhof.net
Wed Mar 9 08:57:13 UTC 2011
On Wed, Mar 9, 2011 at 9:51 AM, Lars Ellenberg
<lars.ellenberg at linbit.com> wrote:
> On Wed, Mar 09, 2011 at 09:42:49AM +0100, Andrew Beekhof wrote:
>> I had http://hg.clusterlabs.org/pacemaker/1.1/raw-file/tip/xml/crm.xsl
>> doing something similar.
>> Agree its an interesting capability, haven't found much practical use
>> for it yet though.
>>
>> Happy to put it in the extras directory though :-)
>
> Fine with me.
> Then at least it does not get lost.
Yep
>
> How to figure out from the cib
> pacemakers idea of the current status (and location) of a resource?
> Look at the most-recent lrm_rsc_op, and it's result?
Pretty much, but as observed earlier, crm_mon -o also does this for you :-)
More information about the Pacemaker
mailing list