Roundrobin: not confirming that it works

From: Matthew Pettis <matthew.pettis#gmail.com>
Date: Mon, 27 Oct 2008 16:00:49 -0500


Hi,

I set my haproxy.cfg file as below, but when I repeatedly refreshed my browser on a given file, I found out that I was not being roundrobined between the two boxes. Shouldn't I expect to be roundrobined between the two boxes with the setup I have below, or is something on my client side preventing that?

Thanks,
Matt

----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+ global

    daemon
    quiet
    nbproc 2
    pidfile /var/run/haproxy-private.pid

defaults

    log xxx.xxx.xxx.xxx local0 debug     mode http
    option httplog
    option dontlognull
    retries 3
    redispatch
    maxconn 2000
    contimeout 5000
    clitimeout 50000
    srvtimeout 50000

listen http_proxy_gisvote :81

    balance roundrobin

    server    aws_2 ec2-75-101-239-184.compute-1.amazonaws.com:80
    server    aws_1 ec2-67-202-11-121.compute-1.amazonaws.com:80
----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+----+



--

It is from the wellspring of our despair and the places that we are broken that we come to repair the world.
-- Murray Waas
Received on 2008/10/27 22:00

This archive was generated by hypermail 2.2.0 : 2008/10/27 22:16 CET