歡迎您光臨本站 註冊首頁

haproxy配置好了,可是沒有負載均衡

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

haproxy配置好了,可是沒有負載均衡。


haproxy配置好了,可是沒有負載均衡。請問下哪裡出問題,謝謝。配置如下:
 global
     log 127.0.0.1 local0
     log 127.0.0.1 local1 notice
     maxconn 4096
     uid 99
     gid 99
     daemon
 
 defaults
     log global
     mode http
     option httplog
     option dontlognull
     retries 3
     option redispatch
     maxconn 2000
     contimeout 5000
     clitimeout 50000
     srvtimeout 50000
 
 listen  localhost 0.0.0.0:2008
     stats   uri     /haproxy-stats
     mode http
     cookie SERVERID insert indirect
     balance roundrobin
     stats realm Haproxy\ statistics
     option httpclose
     #option  httpchk GET /index.php
     server    app004 xx.xx.xx.xx:80 cookie app1inst1 check inter 2000 rise 2 fall 5  
     server    app005 yy.yy.yy.yy:80 cookie app1inst1 check inter 2000 rise 2 fall 5


[火星人 ] haproxy配置好了,可是沒有負載均衡已經有362次圍觀

http://coctec.com/docs/service/show-post-2307.html