[ClusterLabs] Antw: [EXT] Re: Sub‑clusters / super‑clusters?

Strahil Nikolov hunter86_bg at yahoo.com
Tue Aug 3 06:12:03 EDT 2021

Won't something like this work ? Each node in LA will have same score of 5000, while other cities will be -5000.
pcs constraint location DummyRes1 rule score=5000 city eq LA
pcs constraint location DummyRes1 rule score=-5000 city ne LA
stickiness -> 10000
 Best Regards,Strahil Nikolov
Out of curiosity: Could one write a rule that demands that a resource
migration should (not) happen within the same city?
("should" means "perferably when there are alternatives")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20210803/b20bb2d8/attachment.htm>

More information about the Users mailing list