Forum Discussion
Krzysztof_Kozlo
Nimbostratus
Aug 03, 2007lb::reselect fails to select another node
I stripped out everything fancy and this still doesn't work. The behavior is peculiar:
rule reselect_test {
when LB_FAILED {
LB::reselect
}
}
poo...
Deb_Allen_18
Aug 09, 2007Historic F5 Account
LB::reselect chooses a node based on the LB algorithm for the pool, which may or may not be a "different" server. It reselects only once, but if the server fails to respond, you will loop on the LB_FAILED event endlessly unless you include some count/stop logic in your iRule.
When you say "every other time the connection hangs", that would seem to indicate that one of your pool members is not responding. I don't see that you have any monitoring in place.
I'm not sure why the other node isn't selected on failure, though, since you have default LB method Round Robin configured.
I'd start by applying a monitor to the pool. You should see better behaviour then. If you continue to have difficulty, post back & we can try to help further.
/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
