Forum Discussion

Brian_123250's avatar
Brian_123250
Icon for Nimbostratus rankNimbostratus
Oct 24, 2017

Rebalance the load when a down server becomes active again

Say you have 10 clients connecting to a virtual server all split between 2 pool members (5 and 5) using least connection members as the load balancing method and source address persistence. Say a pool member goes down and all 10 clients shift to the active pool member, then some time later the recently down pool member becomes active again. However, the 10 clients continue to send enough traffic to keep the source address persistence timer active thus never expiring. How can I dynamically rebalance the servers in this situation without clearing the persistence table?

 

1 Reply

  • Hi Brian,

     

    you could switch to a CARP persistence profile based on the Source-IP of the connecting client.

     

    By using CARP the load will be evenly hash distributed between your members with build-in failover and automatic failback support.

     

    The only limitation is, that CARP does not provide an as good job as "least connection" load balancing for just a few clients. But the more clients you have the better gets the result...

     

    Cheers, Kai