[Pacemaker] display order in crm_mon output

Andrew Beekhof andrew at beekhof.net
Mon Feb 17 01:10:44 UTC 2014


On 11 Feb 2014, at 8:23 pm, Bauer, Stefan (IZLBW Extern) <Stefan.Bauer at iz.bwl.de> wrote:

> Hi List,
>  
> we’ve recovered a cluster after a failure and used a previously exported cib.xml. Everything is back to normal state.
> The strange thing is, that the order in the output of crm_mon is not like before.
>  
> Can anyone bring some light into this please? What is affecting the order of the displayed ressources?

I'm reasonably sure its the order they are listed in the cib.

> Can we rearrange it somehow?

You could set resource priority, but that might affect other things too.

>  
> Before the failure:
>  
> Resource Group: cluster1
>      p_bond0    (ocf::heartbeat:IPaddr2):       Started node1
>      p_vlan100   (ocf::heartbeat:IPaddr2):       Started node1
>      p_vlan200   (ocf::heartbeat:IPaddr2):       Started node1
>      p_route      (ocf::heartbeat:Route): Started node1
>      p_conntrackd       (lsb:conntrackd-sync):  Started node1
> Clone Set: pingclone [p_ping]
>      Started: [ node1 ]
>      Stopped: [ p_ping:1 ]
> p_vpn_B   (ocf::heartbeat:anything):      Started node1
> p_vpn_C    (ocf::heartbeat:anything):      Started node1
> p_vpn_H    (ocf::heartbeat:anything):      Started node1
> p_vpn_K    (ocf::heartbeat:anything):      Started node1
> p_vpn_L1 (ocf::heartbeat:anything):      Started node1
> p_vpn_LS (ocf::heartbeat:anything):      Started node1
> p_vpn_M    (ocf::heartbeat:anything):      Started node1
>  
> After the recovery:
>  
> p_vpn_H    (ocf::heartbeat:anything):      Started node1
> p_vpn_K    (ocf::heartbeat:anything):      Started node1
> p_vpn_L1 (ocf::heartbeat:anything):      Started node1
> p_vpn_LS (ocf::heartbeat:anything):      Started node1
> p_vpn_M    (ocf::heartbeat:anything):      Started node1
> Resource Group: cluster1
>      p_bond    (ocf::heartbeat:IPaddr2):       Started node1
>      p_vlan100   (ocf::heartbeat:IPaddr2):       Started node1
>      p_vlan200   (ocf::heartbeat:IPaddr2):       Started node1
>      p_route      (ocf::heartbeat:Route): Started node1
>      p_conntrackd       (lsb:conntrackd-sync):  Started node1
> Clone Set: pingclone [p_ping]
>      Started: [ node1 ]
>      Stopped: [ p_ping:1 ]
> p_vpn_B   (ocf::heartbeat:anything):      Started node1
> p_vpn_C    (ocf::heartbeat:anything):      Started node1
>  
> Stefan
>  
> _______________________________________________
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140217/95477502/attachment-0004.sig>


More information about the Pacemaker mailing list