Removing a real server with ipvsadm utility does not remove it from Piranha configuration in RHEL

Solution Verified - Updated -

Issue

  • The system administrator wishes to remove one of three real servers from a Piranha Linux Virtual Server (LVS) load balancing cluster to perform maintenance on it.

  • The system administrator is using ipvsadm -d to remove the real server

  • Example ipvsadm command output

    • List of real servers before removing one

# ipvsadm -l
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP virtualserver.local:http wlc persistent 32400
-> realserver1.local:http Route 1 0 0
-> realserver2.local:http Route 1 0 0
-> realserver3.local:http Local 1 0 0
  • Real server 2 removed

# ipvsadm -d -t virtualserver.local:http -r realserver2.local
  • List of real servers after removal

# ipvsadm -l
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP virtualserver.local:http wlc persistent 32400
-> realserver1.local:http Route 1 0 0
-> realserver3.local:http Local 1 0 0
  • Real server 2 is removed from the LVS cluster correctly, but piranha does not stop the nanny monitor process for this real server

Environment

  • Red Hat Enterprise Linux (RHEL) - all releases
  • piranha Linux Virtual Server cluster

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