Order Constraint HA Extension

Posted on

Hi everyone,

I have a cluster and want to stop a resource running on node2 before promoting another resource to that node. I have the following constraints in place, however the second resource get's promoted without stopping the first.

What is missing?

pcs constraint location rsc_to_be_stopped avoids node01=INFINITY
pcs constraint order stop rsc_to_be_stopped then promote rsc_to_be_promoted

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.