Valentine_96813
Jan 30, 2012Nimbostratus
Forcing Priority Group Usage
When I was searching though priority group posts, I founf a refernce someone made to an iRule that will force incoming connections back from the secondary server when the primaries come back up. Here is what I mean
sticky = sourceIP 10 min
lb method = least conn
Pool webapp
appserver1 priority 10
appserver2 priority 10
appserver3 priority 10
SorryPage server priority1
So when all is good, users get the appservers. When they appservers go down they get the SorryPage server. Problem is, when they appservers come back up, they have to timeout to the Sorrypage server, then they get the appservers.
Since I do not care about breaking the connection to Sorrypage as its static and does not require login, stickiness, etc, I want an iRule that will force connections back the higher priority servers immediately as the monitors mark them active.
I know I can do this with a pool redirect if I move the sorrypage server, but I dont want to rebuild everything for all the VSs. Anyone got this?