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

Jacob Nikom JNikom at kivasystems.com
Wed Jun 4 14:24:39 EDT 2014


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





More information about the Pacemaker mailing list