How do I configure an IPsrcaddr resource to modify a non-default route in a Pacemaker cluster?

Solution Verified - Updated -

Issue

  • I need an IPsrcaddr resource to update the route to a particular destination or in a particular routing table, but it's updating the default route instead.
  • The preferred source IP address needs to be a VIP address when talking to a VIP address.
  • When using an IPsrcaddr resource, the route table still shows the primary address as the preferred source address when the VIP is the destination.
  • The IPsrcaddr resource agent is not updating the local route table in a Pacemaker cluster.
  • An Oracle database is receiving local connections from the primary IP address rather than from the virtual IP address.

Environment

  • Red Hat Enterprise Linux 7, 8, 9 (with the High Availability Add-on)
  • Pacemaker
  • An IPsrcaddr resource

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