[Pacemaker] How to calculate manually the score of the node by yourself using cibadmin command

2014-06-04 Thread Jacob Nikom
Hi,

I have problem with highest preferred node score calculation.

I have two exactly the same resources resource1 and resource2
with the same colocation constraints.
However, during the execution resource1 goes to node1, but another
resource - resource2 - goes to node2, while it should go to the same
node1.

I would like to check the score calculation.

I can ran commands:
cibadmin --query --obj_type constraints
cibadmin --query --obj_type resources

Is it possible to calculate the each node score manually

using the output of those commands?

Best regards,

Jacob Nikom


___
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] Question about Pacemaker resource configuration troubleshooting

2014-05-08 Thread Jacob Nikom
Hi,

I created Pacemaker resource configuration file, but it does not accepts it.
It complanes:
/home/jnikom/Kiva/dev/Prod/flvr/pace loadConstraintsXML 
clu_con_init_2014_05_08_001.xml
   error: unpack_rsc_op:No further recovery can be attempted for 
mysqlres: stop action failed with 'not installed' (5)
   error: unpack_rsc_op:No further recovery can be attempted for 
mysqlres: stop action failed with 'not installed' (5)
   error: unpack_rsc_op:No further recovery can be attempted for 
mysqlres: stop action failed with 'not installed' (5)
   error: native_create_actions:Resource mysqlres 
(lsb::my_db_res_master) is active on 3 nodes attempting recovery
/home/jnikom/Kiva/dev/Prod/flvr/pace

Is there any tool that could help to find out what specifically Pacemaker does 
not like in the resource configuration?

Best regards,

Jacob Nikom
___
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] Question about symmetricity of the colocation constraints

2014-05-06 Thread Jacob Nikom
Hi,

I have question about colocation constraints – are they symmetrical 
(commutative) or not?

What I mean is the following.

If we have the colocation constraint like
  

Does it produces the same behavior as the constraint
  

Thank you,

Jacob Nikom
___
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