Hi,
I have found that if I use Source IP persistence with both backend servers
and a backup server. If the backend servers go down then I will be directed
to the backup server, as it should be.
However, my persistence is now change to be on the backup server and if the
backend come back online, my persistence with the backup is maintained.
<config>
listen ip_persist 192.168.30.54:10240
mode tcp
option persist
balance leastconn
stick-table type ip size 10240k expire 30m
stick on src
server server1 192.168.30.30:10240 weight 1 check inter 2000 rise 2
fall 3
server server2 192.168.30.201:10240 weight 1 check inter 2000 rise 2
fall 3
server backup 127.0.0.1:102040 backup
option redispatch
option abortonclose
</config>
Is there anyway of keeping the backup server from being persistent - when
using source IP persistence ?
Regards
John