Obviously you should try to set the resource-stickiness to 0 temporarily and 
see what happens. You could even automate this to have it at specific times of 
the day.
Once we had a similar thing to redistribute the VMs in the evening hours only 😉

Kind regards,
Ulrich Windl

From: Users <[email protected]> On Behalf Of lejeczek via Users
Sent: Monday, November 16, 2026 11:58 AM
To: Cluster Labs - All topics related to open-source clustering welcomed 
<[email protected]>
Cc: lejeczek <[email protected]>
Subject: [EXT] [EXT] [ClusterLabs] constraint set & VM ?

Hi guys.

I have a constraint:

  Set Constraint: colocation_set_vmvmvm
    score=-INFINITY
    Resource Set: colocation_set_coeocs_set
      Resources: 'vm1', 'vm2', 'vm3'
      sequential=0 require-all=0


I expected cluster to re-shuffle & live-migrate VM so on three cluster nodes 
each, node would run singe virtual machine - but it does not happen.
Seems that I have to manually _move_ resource or dis/enable VM resource - 
meaning VM shuts down - only then cluster would start vm resource on an 
"available" node.

I have: resource-stickiness=101

What am I missing or if _constraint set_ does not work the way I thought - how 
do you do this?
I do not see any errors, nothing obvious, cluster reports & like I mentioned, 
live-migration does work.

thanks, L.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/

Reply via email to