Get the App
SLTechnology News&Howtos  ›  Servers  › 

LVS persistent connection

Shulou Source: shulou.com Published: 2022-06-03 02:04:38 11月14日 Update

LVS Persistent Connection

ipvsadm -L --persistent-conn #Show persistent connections

ipvsadm -L -c#Show persistent connection table

1. PPC: persistent port connection, the same port is directed to the same RS within a certain period of time:

ipvsadm -A -t 192.168.1.10:80 -s rr -p 300

Within 300s, port 80 accessed by the same client is directed to the same RS

PCC: Persistent client connection, within a certain period of time, all ports accessed by the same client are directed to the same RS:

ipvsadm -A -t 192.168.1.10:0 -s rr -p 300

Within 300s, all ports accessed by the same client are directed to the same RS, 0 indicates all ports

PNMPP: persistent firewall tag, within a certain period of time, ports with the same tag are directed to the same RS

Tags: Port customer client time tag Firewall Fire Protection Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft NVidia Shulou Technology MySQL Xiaomi