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

Andrei Borzenkov arvidjaar at gmail.com
Sat Oct 9 02:40:27 EDT 2021


On 08.10.2021 10:24, martin doc wrote:
> 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.
> 

What is the value of placement-strategy cluster property?

> 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.
> 
> 
> 
> _______________________________________________
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
> 
> ClusterLabs home: https://www.clusterlabs.org/
> 



More information about the Users mailing list