mdserver-web/plugins/lvs
Mr Chen 6619ae0bc5 haproxy 配置检查 2023-11-18 20:13:39 +08:00
..
js Update lvs.js 2023-11-18 17:32:43 +08:00
ico.png 初始化lvs插件 2023-11-17 17:40:58 +08:00
index.html update 2023-11-17 23:35:23 +08:00
index.py update 2023-11-17 23:35:23 +08:00
info.json Update info.json 2023-11-18 19:37:14 +08:00
install.sh Update install.sh 2023-11-17 18:33:39 +08:00
readme.md haproxy 配置检查 2023-11-18 20:13:39 +08:00

readme.md

debian

查看网卡

ls /sys/class/net/

ifconfig ens256 172.16.204.100 netmask 255.255.255.255 broadcast 192.168.212.100 up

route add -host 172.16.204.100 dev ens256

ipvsadm -A -t 172.16.204.100:80 -s rr ipvsadm -a -t 172.16.204.100:80 -r 172.16.204.129:80 -m

清空LVS规则

ipvsadm -C

查看LVS

ipvsadm -L -n