Is anyone using haproxy/keepaliveD as their software load balancer in a HA search head environment?
I am configuring my haproxy.cfg and having some trouble getting sticky sessions and proper load balancing working. This is on a pair of load balancers using haproxy/keepaliveD to 3 splunk search heads.
Here is what i currently have, my sessions seem to stick to spweb3 even when i bring it offline, Possibly i need some sort of check option or cookie but the params i've used only work with http not https.
> listen http_proxy :8001
> mode tcp
> balance roundrobin
> stick-table type ip size 200k expire 30m
> stick on src
> server srv1 spweb1sb-w1-inf.shared-bo.mtv1.vrsn.com:8001
> server srv2 spweb2sb-w2-inf.shared-bo.mtv1.vrsn.com:8001
> server srv2 spweb3sb-w1-inf.shared-bo.mtv1.vrsn.com:8001