Forum Discussion
danielo303_1961
Feb 17, 2012Nimbostratus
iRule: redirect to pool based on app response time?
I would like to use an iRule to direct traffic based on the response time of the back-end resource pool. Under normal operations, incoming requests (these are SOAP-based queries) will go to the primar...
hooleylist
Feb 20, 2012Cirrostratus
You could use the after command in 10.0+ to set a timer and select a new pool if the currently selected server doesn't reply. I think you'd need to call LB::detach in the after script and then call the second pool using the pool command.
See the last example on the wiki page for details:
http://devcentral.f5.com/wiki/iRules.after.ashx
http://devcentral.f5.com/wiki/iRules.lb__detach.ashx
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects