Forum Discussion
Wil_Schultz_101
Nimbostratus
Jul 30, 2007Reselect pool on status code 500 or above...
So we run some Tomcat servers, when we undeploy the server will send a 503 that states that the application is unavailable. I do have a check that looks for a static page every 5 seconds and fails at ...
Deb_Allen_18
Jan 15, 2008Historic F5 Account
I think the easiest approach is to add an LB_SELECTED event in which you change the load balancing method to round robin & re-select in the same pool for retries only:
when LB_SELECTED {
if { $myretry >= 1 } {
LB::mode rr
LB::reselect pool $mypool
}
}HTH/deb
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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