Hi guys,
I'm trying to setup HAP to balance in tcp mode, but it does seem to fail over
when I shutdown the service on one of the servers.
Any ideas what I might be missing?
Seems like it's checking that the IP is alive, not that the port responds.
global
maxconn 99999
nbproc 1
chroot /var/haproxy
user hap
group hap
daemon
listen BAL
bind 0.0.0.0:7000
mode tcp
log global
option dontlognull
maxconn 4000
clitimeout 50000
balance roundrobin
contimeout 50000
srvtimeout 50000
retries 1
server srv1 192.168.1.20:7000 check inter 1000 weight
10
server srv2 192.168.1.21:7000 check inter 1000 weight
10