-A |
--Add-service add a new virtual service |
-E |
--Edit-service Edit virtual service |
-D |
--Delete-service delete virtual service |
-C |
--Clear clear all virtual service rules |
-R |
--Restore restore virtual service rules |
-a |
--Add-server add a new real server to a virtual service |
-e |
--Edit-server edit a real server |
-d |
--Delete-server delete a real server |
-r |
–real |
-L |
-l --list show virtual service rules in the kernel |
-n |
--Numeric displays the IP port in digital form |
-c |
-Connection displays the current connection in ipvs, and can also be used to analyze the scheduling situation |
-WITH |
-Zero clear the statistics of forwarded messages |
-p |
--Persistent configure the persistence time |
–set tcp tcpfin udp |
Configure three timeout periods (tcp/tcpfin/udp) |
-t |
-u TCP/UDP protocol virtual service |
-g -m |
-i LVS mode is: DR |
-w |
Configure the weight of the real server |
-s |
Configure load balancing algorithms, such as: rr, wrr, lc, etc. |
–timeout |
Display the configured tcp/tcpfin/udp timeout time |
–stats |
Display historical forwarded message statistics (accumulated value) |
–rate |
Display forwarding rate information (instantaneous value) |