Updated on 2024-05-17 GMT+08:00

LVS Automatically Isolating Faulty Backend Nodes

Objectives

When a node in the backend service cluster is faulty, LVS automatically isolates the faulty node.

Prerequisites

The LVS environment of the test cluster has been configured.

Test Methods

  1. Stop a backend node, for example, CDN-1.
  2. Run this command to check whether CDN-1 node is removed from the cluster.

    ipvsadm -L –n

    The following information is displayed:

    Prot LocalAddress:Port Scheduler Flags
      -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
    TCP  192.168.0.184:80 wrr persistent 50
      -> 192.168.0.146:80            Route   3      0          0