Willy,

Just a quick thank you for the new stick table feature:

Brief testing has show this works really well, especially the option persist
and option redispatch which when combined provide a very graceful shutdown
of the server for maintenance.

listen    VIP_Name 192.168.2.194:80
    mode    tcp
    stick-table type ip size 200k expire 30m
    stick on src
    server RIP_Name 192.168.2.99:80 weight 1 check  inter 2000 rise 2 fall 3
    server RIP_Name2 192.168.2.111:80 weight 1 check  inter 2000 rise 2 fall
3
    server    backup 127.0.0.1:9081 backup
    option persist
    option redispatch
    option abortonclose

printf "enable server VIP_Name/RIP_Name2\n" | socat
unix-connect:/var/run/haproxy.stat stdio
or
printf "disable server VIP_Name/RIP_Name2\n" | socat
unix-connect:/var/run/haproxy.stat stdio

Thanks very much for this new feature.


-- 
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/

Reply via email to