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

Solution Verified - Updated -

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 of INFINITY?

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 property default-resource-stickiness.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content