Forum Discussion
Wil_Schultz_101
Nimbostratus
Aug 09, 2007LB_FAILED behavior, expected or not?
I have the following iRule, use if for when my nodes are down connections go to a different page.
when LB_FAILED {
switch [LB::server pool] {
default {
set remoteip [IP::remote_addr]
...
hoolio
Cirrostratus
Aug 10, 2007Hi,
That sound right...
Click here
Triggered when the system fails to select a pool member or when a selected pool member fails to respond to a connection request.
If you wanted, you could reselect a new node in the pool instead of redirecting, using LB::reselect. There are a few posts on this in the forums. I think the max retries is hardcoded to two though. I haven't tested it, but I would assume you could achieve something similar with setting the pool's 'Action on Service Down' to reselect (Click here).
If you wanted to mark the non-responding node down from the LB_FAILED event, you could using LB::status; but then in effect you're setting your monitor timeout to "one request".
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