Forum Discussion
Sarnoth_81568
Nimbostratus
Aug 01, 2008LB::reselect problem
Let me give you some background before I get in to the problem.
We have a web application that uses session replication. A node can fail in such a way that it always return 5xx error pages. We ...
dennypayne
Employee
Apr 22, 2009Thinking about this again, I think the problem is that the LB_SELECTED event happens before HTTP_RESPONSE, so this approach won't work. I think you need something more along the lines of the passive health monitoring as described here ( Click here ). You probably don't need all the timing logic in that post though. So something like this:
when HTTP_RESPONSE {
if { [HTTP::status] eq "503" } {
LB::down
LB::reselect pool [LB::server pool]
}
}
That way everything gets done in the same event.
Denny
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
