Resource relocates back to its original node even though there is a resource-stickiness value configured in a RHEL 6 or 7 High Availability cluster with pacemaker
Issue
- After a node is fenced, its resources relocate to another node as expected. But when that node rejoins, the resources move back to it, even though we've configured a
resource-stickiness
value - I have a default
resource-stickiness
configured, but resources still move back to the original node. Why? - Will a
resource-stickiness
setting with a finite value be overridden by a location constraint with a score ofINFINITY
?
Environment
- Red Hat Enterprise Linux (RHEL) 6 or 7 with the High Availability Add On
pacemaker
- One or more resources configured with a location constraint
<cib><configuration><constraints><rsc_location/></constraints></configuration></cib>
in the cluster CIB
- One or more resources configured with a
resource-stickiness
value, either directly on the resource, through a cluster-wide resource default, or through the cluster propertydefault-resource-stickiness
.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.