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 ...
pjcampbell_7243
Cirrus
Apr 21, 2009Can anyone shine any light for me as to why this may not be working:
when HTTP_RESPONSE {
if { [HTTP::status] > 500 }{
set failure 1
}
}
when LB_SELECTED {
if { $failure > 0 } {
LB::detach
LB::mode rr
LB::reselect pool [LB::server pool]
}
}
When I do this I am getting a The connection to the server was reset while the page was loading, as if it doesn't like either server.
One thing I am noticing, in my logs, our basic health check is getting a 500, every other check:
- - - [21/Apr/2009:14:29:49 -0700] "GET /" 200 108 "-" "-"
- - - [21/Apr/2009:14:29:50 -0700] "GET /" 500 3328 "-" "-"
However, the page I am going to is not yielding a 500.
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
