Submitted by 123yph321 on 周四, 2012-06-21 05:48
lvs+keepalived+dr+nginx反向代理架构,lvs访问网站很慢。
之后我把lvs去掉,直接让用户通过nginx反向代理去访问站点,就恢复正常了。我就是找不出哪里是什么原因导致速度过慢了。请教各位朋友帮帮我:
配置文件如下:
! Configuration File for keepalived
global_defs {
router_id LVS_MASTER
}
vrrp_sync_group http {
group {
nginx
}
}
vrrp_instance nginx {
state MASTER
interface eth1
virtual_router_id 51
priority 101
advert_int 1
authentication {