[lvs-users] sync daemon timeout with stickyness

David Coulson david at davidcoulson.net
Wed Jul 16 03:59:42 BST 2008

I have a pretty simple ipvs config.

Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP wrr persistent 1800
  ->              Route   1      0          0        
  ->              Route   1      0          0        
  ->              Route   1      0          0   

The stickyness works fine on the local server, however when it syncs 
over to the backup, the timeout is wrong.

On master:
TCP 29:53  NONE

On slave:
TCP 02:57  NONE

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?


More information about the lvs-users mailing list