How to prevent keepalived vip being taken over by higher priority node when it comes back online?

Solution Verified - Updated -

Issue

  • keepalived node default behavior is once the master fails, VIP gets floated to backup server and when the master come back online the VIP is taken by the master server which will serve the internal requests.
  • If the above behavior is not what is expected i,e when the master node comes back online VIP should not failback until the backup server does not goes down.

Environment

  • Red Hat Enterprise Linux (RHEL) 6.6 and later.
  • Red Hat Enterprise Linux (RHEL) 7.
  • Keepalived.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.