LVS persistent connection
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