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

Andrew Beekhof andrew at beekhof.net
Wed Jun 4 20:06:43 EDT 2014


On 5 Jun 2014, at 4:24 am, Jacob Nikom <JNikom at kivasystems.com> wrote:

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

You tried colocation? Or is that not what you want?

> 
> I would like to check the score calculation.
> 
> I can ran commands:
> cibadmin --query --obj_type constraints
> cibadmin --query --obj_type resources

Thats good, but we cant see the output unless you attach it.

> 
> Is it possible to calculate the each node score manually
> 
> using the output of those commands?
> 
> Best regards,
> 
> Jacob Nikom
> 
> 
> _______________________________________________
> 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/20140605/dfa9f6e7/attachment-0003.sig>


More information about the Pacemaker mailing list