How can I prevent a managed resource from failing back to its original location automatically when the preferred node rejoins a RHEL 6 or 7 High Availability cluster with pacemaker?
Issue
- I have a resource with a location constraint that prefers one node over the other, and when that primary node fails, the resource fails over to the backup node. However, after the primary node is fenced and rejoins the cluster after a reboot, my application suffers another outage when the cluster fails the resource back to the primary node.
- Is there an equivalent in
pacemakertorgmanager'snofailbackfailoverdomainoption? - How can I prevent a resource group having to move twice when a node fails and again when it joins the cluster because there was a location constraint?
Environment
- Red Hat Enterprise Linux (RHEL) 6 or 7 with the High Availability Add On
pacemaker- One or more location constraints defined in the cluster CIB (
<cib><configuration><constraints><rsc_location/></constraints></configuration></cib>)
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.
