Hi Thorvald,

Are all the servers up in the farm?

Baptiste

On Wed, Jan 29, 2014 at 12:08 PM, Thorvald Hallvardsson
<[email protected]> wrote:
> Hi guys,
>
> I have set up a TCP load balancer in haproxy and set the balance to round
> robin. Looking at the stats page and the test pages I have got it doesn't
> seem to work and it always goes to the first node from the list.
>
> When I switched that to haproxy 1.5 for a test with the same config it did
> work without any problems.
>
> Any ideas ? Maybe I'm missing something ?
>
> My config:
> global
>   log 127.0.0.1 local0
>   user        haproxy
>   group       haproxy
>   chroot      /var/lib/haproxy
>   pidfile     /var/run/haproxy.pid
>
> defaults
>   option  dontlognull
>   option  redispatch
>   option  contstats
>   retries 3
>   timeout connect 5s
>   timeout queue 30s
>   timeout tarpit 1m
>   backlog 10000
>   balance roundrobin
>   mode tcp
>   option tcpka
>   option tcplog
>   option redispatch
>   log global
>   timeout client 300s
>   timeout server 300s
>   default-server inter 3s rise 2 fall 3
>
> listen FRONTEND
>   mode tcp
>   bind *:443
>   balance roundrobin
>   server cas1 IP1:443 check port 443
>   server cas2 IP2:443 check port 443
>   server cas3 IP3:443 check port 443
>   server cas4 IP4:443 check port 443
>   maxconn 10000
>
> Thank you for your help in advance.

Reply via email to