I have a pretty simple ipvs config.
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 220.127.116.11:80 wrr persistent 1800
-> 18.104.22.168:80 Route 1 0 0
-> 22.214.171.124:80 Route 1 0 0
-> 126.96.36.199:80 Route 1 0 0
The stickyness works fine on the local server, however when it syncs
over to the backup, the timeout is wrong.
TCP 29:53 NONE 188.8.131.52:0 184.108.40.206:80 220.127.116.11:80
TCP 02:57 NONE 18.104.22.168:0 22.214.171.124:80 126.96.36.199:80
Obviously there are instances when the backup connections timeout but
they are in place on the master, so in the event the master fails, the
slave doesn't have the connections in it's table.
Is there a workaround for this? Can I extend the timeout of synched
connections via sysctl or something?