[ClusterLabs] Antw: [EXT] Move a resource only where another has Started

martin doc db1280 at hotmail.com
Fri Oct 8 03:24:25 EDT 2021


Hi,

Yes, the suggestion to use a rule helped some. I had tried that but what I got wrong is that the name for the score stored by ping is not ping but pingd (yay backwards compat.) Thanks Ken for the pointer and getting me to go back to that.

Now I'm stuck with the problem of getting resources to rebalance when all of the clones are available. If I arbitrarily set the node utilization of cpu to 8 and memory to 10000 and then assign cpu=5 and memory=5000 to each resource, it does not rebalance once all of the pingd resources have a value > 0. A "crm_simulate" shows one node with 10 cpu & 10000 memory free, one with 0 cpu/memory free and one half used. The utilization will prevent over allocation but doesn't balance out resources.

A change in the state of pingd's value does cause the policy engine to do something but it just decides to keep all of the resources where they are.

I don't know anything about pcs colors.

I will keep trying variations.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20211008/1e4555ed/attachment-0001.htm>


More information about the Users mailing list