Hello...
I am very happy with the haproxy, but the result of my loadbalancing confuses me...
I believe my configuration is fine, but one of my servers are getting
hit much more than the others....
I have tried with leastconn, roundrobin, and source. All are producing
more or less the same result which is that the same one of my servers
is chosen above the others...
My main newbee question is of course.... Am i missing something?
The one usually getting hit is jettysmall1 and even lowering the weight seems to help.... The lowest weight i have tried is half as much as the others....
Many thanks
Magnus
global
log 127.0.0.1 local0 log 127.0.0.1 local1 notice #log loghost local0 info maxconn 600 user root group root defaults log global mode http option httplog option dontlognull retries 5 option redispatch contimeout 15000 clitimeout 190000 srvtimeout 190000 option httpclose option forwardfor listen webfarm 10.244.186.18:80 mode http acl url_jetty path_beg /info /um /ws /amf /sm /fm /product /game acl url_php path_end php acl url_unilogin path /um/login/unilogin.php stats enable stats hide-version stats uri /admin?stats stats realm Haproxy\ Statistics stats auth admin1:passsssswd use_backend jetty if url_jetty !url_php or url_unilogin default_backend static
backend jetty
balance source # or leastconn or rounrobin cookie HAP_SERVERID insert nocache indirect server jettysmall2 10.244.126.97:8080 cookie omega maxconn 150 weight 10 maxqueue 30 check fall 10 inter 4000 server jettysmall3 10.244.125.175:8080 cookie delta maxconn 150 weight 10 maxqueue 30 check fall 10 inter 4000 server jettysmall4 10.244.150.245:8080 cookie epsilon maxconn 150 weight 10 maxqueue 30 check fall 10 inter 4000 server jettysmall1 10.244.146.51:8080 cookie gamma maxconn 150 weight7 maxqueue 30 check fall 10 inter 4000
backend static
balance source # or whatever server apache1 10.244.186.18:81Received on 2009/08/06 16:38
This archive was generated by hypermail 2.2.0 : 2009/08/06 16:45 CEST