首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

Nginx+keepalived干双机热备加tomcat负载均衡

2012-08-31 
Nginx+keepalived做双机热备加tomcat负载均衡环境说明: $http_user_agent $http_x_forwarded_for a

Nginx+keepalived做双机热备加tomcat负载均衡

环境说明:

'"$http_user_agent" "$http_x_forwarded_for"'; access_log? /usr/local/nginx/logs/access.log? access_log; }?}

4.测试配置文件

Keepalived_vrrp: VRRP_Script(Monitor_Nginx) succeededKeepalived_vrrp: VRRP_Instance(VI_1) Transition to MASTER STATEKeepalived_vrrp: VRRP_Instance(VI_1) Entering MASTER STATEKeepalived_vrrp: VRRP_Instance(VI_1) setting protocol VIPs.Keepalived_vrrp: VRRP_Instance(VI_1) Sending gratuitous ARPs on eth0 for 192.168.2.51

热点排行