mdserver-web/plugins/lvs
Mr Chen c9f03c0f69 修改引入公共方法方式 2024-11-24 06:02:41 +08:00
..
js
ico.png
index.html
index.py 修改引入公共方法方式 2024-11-24 06:02:41 +08:00
info.json
install.sh
readme.md

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