How can I configure my RHEL High Availability cluster with pacemaker to monitor the link status of a network interface and relocate resources if a failure occurs?

Solution Verified - Updated -

Issue

  • I am running an IPaddr2 resource in my cluster, but it doesn't react when the link goes down. How can I tell pacemaker to monitor the link and run this resource on a node that has an active link?
  • I'm using the ethmonitor resource agent and it logs monitor failures when the link goes down, but the resource doesn't fail or move to another location.
  • How can I configure my cluster to monitor a network link and move resources somewhere else if the link fails?

Environment

  • Red Hat Enterprise Linux (RHEL) 6, 7, 8 and 9 with the High Availability Add On
  • pacemaker
  • One or more network interfaces that need to be monitored for health

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