Forum Discussion
Nizlin_109172
Nimbostratus
Sep 05, 2018Reselect pool based http response
I am looking for an Irule with reselect the members if there is 503 http response code from the server instead of giving the response to the client. We are using the dns pool.
- Vijay_E
Cirrus
I have never tried this. You may have to test it out in a test VIP before implementing it:
when HTTP_RESPONSE { if { [HTTP::status] contains "503" } { persist none LB::detach LB::reselect pool <> } }
- Kevin_Stewart
Employee
Both examples in the wiki article for HTTP::retry show how to do this:
https://devcentral.f5.com/wiki/iRules.HTTP__retry.ashx
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