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

Yuusuke Iida iidayuus at intellilink.co.jp
Tue Mar 20 22:13:33 EDT 2012

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
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.

Best, regards,

Yuusuke Iida
Mail: iidayuus at intellilink.co.jp

More information about the Pacemaker mailing list