lyuaong2013 2017-06-08 09:12 采纳率: 0%
浏览 2319

lvs+keepalived 虚拟机配置了请求不能跳转

我只配置了主服务器 和一台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
    }
}

}

我浏览器输入我配置的虚拟地址后 报错
图片说明

各位大神 这是什么原因啊

  • 写回答

悬赏问题

  • ¥15 我这模型写的不对吗?为什么lingo解出来的下面影子价格这一溜少一个变量
  • ¥50 树莓派安卓APK系统签名
  • ¥15 maple软件,用solve求反函数出现rootof,怎么办?
  • ¥65 汇编语言除法溢出问题
  • ¥15 Visual Studio问题
  • ¥20 求一个html代码,有偿
  • ¥100 关于使用MATLAB中copularnd函数的问题
  • ¥20 在虚拟机的pycharm上
  • ¥15 jupyterthemes 设置完毕后没有效果
  • ¥15 matlab图像高斯低通滤波