Forum Discussion
David_Bradley_2
Nimbostratus
Apr 10, 2007LB::reselect not working as expected
I'm got an LB_SELECTED that is checking if the choice made by the LB is acceptable, and doing an LB::reselect if not. I setup an artificial condition in my lab in which no choice is acceptable. Base...
JRahm
Admin
Apr 12, 2007I was thinking this could be done within the LB_SELECTED event:
when LB_SELECTED {
set current_pool [LB::server pool]
LB::detach
foreach i in $::pool_members {
pool $current_pool member $i
set current_ratio [LB::server ratio]
BUILD ARRAY LOGIC HERE
LB::detach
}
EXTRACT APPROPRIATE SELECTION FROM ARRAY HERE
pool $current_pool member $best_selection
}Sorry, my TCL is fairly limited. Also, this is just a guess as to what's possible. I'm not sure the pool setting matters much until the event is finished, so it could all be for not.
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