我只配置了主服务器 和一台web服务器,
主服务器的keepalived.cof配置如下:
! Configuration File for keepalived
global_defs {
notification_email {
xxx@qq.com
}
notification_email_from root
smtp_server 127.0.0.1
smtp_connect_timeout 30
router_id LVS_DEVEL
}
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
10.206.14.200
}
}
virtual_server 10.206.14.200 80 {
delay_loop 6
lb_algo rr
lb_kind NAT
nat_mask 255.255.255.0
#persistence_timeout 50
protocol TCP
real_server 10.206.14.171 80 {
weight 1
HTTP_GET {
url {
path /
status_code 200
}
connect_timeout 2
nb_get_retry 3
delay_before_retry 1
}
}
}
我浏览器输入我配置的虚拟地址后 报错
各位大神 这是什么原因啊