lvs realserver 不切换
bal_defs {
notification_email {
[email protected]
}
notification_email_from [email protected]
smtp_server 127.0.0.1
smtp_connection_timeout 30
router_id LVS_DEVEL
}
vrrp_instance VI_1 {
state MASTER
interface eth1
virtual_router_id 51
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
192.168.20.200
}
}
virtual_server 192.168.20.200 12201 {
delay_loop 6
lb_algo rr
lb_kind DR
nat_mask 255.255.255.0
persistence_timeout 0
protocol UDP
real_server 192.168.20.206 12201 {
weight 1
UDP_CHECK {
connect_timeout 10
nb_get_retry 3
delay_before_retry 3
connect_port 12201
}
}
real_server 192.168.20.210 12201 {
weight 1
UDP_CHECK {
connect_timeout 10
nb_get_retry 3
delay_before_retry 3
connect_port 12201
}
}
}
我的配置是一个lvs-master + 2个realserver
关掉其中一个realserver后,没有看到把请求转发到第二个realserver
请问有哪位高手知道是怎么回事?
3DM06
9 years, 10 months ago