Tag Archives: lvs

lvs DR模式均衡读请求

By | 2015-05-20

env环境: Director IP: 10.0.21.100 vitrual IP: 10.0.21.222 Real server1: 10.0.21.7 Real server2: 10.0.21.17 Director配置: net.ipv4.ip_forward = 1 # 开启ip转发 ip addr add 10.0.21.222/32 dev eth0; arping -c 3 -U 10.0.21.222 -I eth0 #配置vip并通告网络 ipvsadm -A -t 10.0.21.222:3301 -s rr #选择轮询调度模式 ipvsadm -a -t 10.0.21.222:3301 -r 10.0.21.7:3301 -g ipvsadm -a -t 10.0.21.222:3301 -r 10.0.21.17:3301 -g ipvsadm-save… Read More »