Re: [Pacemaker] display order in crm_mon output

2014-02-16 Thread Andrew Beekhof

On 11 Feb 2014, at 8:23 pm, Bauer, Stefan (IZLBW Extern) 
stefan.ba...@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@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



signature.asc
Description: Message signed with OpenPGP using GPGMail
___
Pacemaker mailing list: Pacemaker@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


[Pacemaker] display order in crm_mon output

2014-02-11 Thread Bauer, Stefan (IZLBW Extern)
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?
Can we rearrange it somehow?

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