Forum Discussion

mElhoussini_204's avatar
mElhoussini_204
Icon for Nimbostratus rankNimbostratus
Sep 09, 2015

ACTIVE / PASSIVE preemption

Hi,

 

we have implemented active / passive load balance between 2 servers A=Active B=Passive using priority groups.

 

it works fine as all traffic (persistent traffic ) goes to A , when A goes down traffic went to B.

 

the problem is when A becomes UP the old traffic (which is persistent to B ) will continue in B ! we have to delete connections (tmsh) or manually close the connection from the server itself to move the old connections to A.

 

we need to configure the load balance so all traffic (new and old ) goes to A when it became up!

 

3 Replies

  • If you only have two servers in this scenario, you shouldn't need to use persistence. However, the issue will remain as any active connections on server B would remain on server B even if server A resumes service.

     

    What type of traffic is this? Is this something fairly short-lived, that would finish its transaction and close the connection so it would return to server A shortly after server A resumes? Or is this an application that typically holds a connection open for a long period of time?

     

  • a script sure, something simple that checks every minute or such is server A is up and then execute the delete sys connection command.

     

    an irule I have some doubts about, you often do something based on some event and what is that here? you might end up keeping closing session which aren't there anymore anyway.