Resource group is moving back to original node even though stickiness is set in a RHEL 6 or 7 High Availability cluster with pacemaker
Issue
- If a resource is moved to the other node (
pcs resource moveor failing the node) then once it's node is back up it will move back despite the fact thatstickiness=100is set and there are no location constraints that would out weigh that forcing it to move back. - I've set
stickinesson a group but it still relocates back to its original node when it rejoins.
Environment
- Red Hat Enterprise Linux (RHEL) 6 or 7 with the High Availability Add On
pacemaker- A resource or group with the meta option
stickinessset above 0, or above the score of a correspondinglocation constraint- That resource does not also have
resource-stickinessset, the cluster propertydefault-resource-stickinessis at the default value of 0, and there is no resource defaultresource-stickinessset
- That resource does not also have
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
