[Pacemaker] added a function to show crm_mon a ticket.

Andrew Beekhof andrew at beekhof.net
Tue Mar 20 22:17:54 EDT 2012


We might want to hold off on this, Yan is thinking about some changes
to the status section which would impact this.

On Wed, Mar 21, 2012 at 1:13 PM, Yuusuke Iida
<iidayuus at intellilink.co.jp> wrote:
> Hi, Andrew
>
> I increased a function to display the information of the ticket in crm_mon.
>
> How to use is as follows.
> A short option: -c
> A long option: --show-tickets
>
> Example of the indication
> # crm_mon -c1
> ============
> Last updated: Mon Mar 19 14:36:25 2012
> Last change: Mon Mar 19 13:52:43 2012 via crmd on pm1
> Stack: Heartbeat
> Current DC: pm1 (ec8fdebc-112f-4af1-828a-d4612f514a32) - partition with
> quorum
> Version: 1.1.6-31f6ca3
> 2 Nodes configured, 2 expected votes
> 8 Resources configured.
> ============
>
> Online: [ pm1 pm2 ]
>
>  dummy1 (ocf::pacemaker:Dummy): Started pm1
>  dummy2 (ocf::pacemaker:Dummy): Started pm2
>  Resource Group: grp1
>     vip        (ocf::heartbeat:IPaddr2):       Started pm1
>     booth      (ocf::pacemaker:booth-site):    Started pm1
>  Master/Slave Set: ms-stateful [stateful]
>     Masters: [ pm2 ]
>     Slaves: [ pm1 ]
>  Clone Set: clnStonith1 [stonith1]
>     Started: [ pm2 pm1 ]
>
> Cluster Tickets            : Status        'Last granted time'
> * ticketA                  : granted       'Mon Mar 19 14:35:46 2012'
> * ticketB                  : revoked       'Mon Mar 19 14:35:22 2012'
>
>
>
> I want a repository to merge this function by all means.
> https://github.com/ClusterLabs/pacemaker/pull/49
>
> Best, regards,
> Yuusuke
> --
> ----------------------------------------
> METRO SYSTEMS CO., LTD
>
> Yuusuke Iida
> Mail: iidayuus at intellilink.co.jp
> ----------------------------------------
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org




More information about the Pacemaker mailing list