Forum Discussion
LB::reselect sometimes not reselecting
Hi I have such irule part
when LB_FAILED {
log local0. "LB Failed [LB::server]"
LB::reselect pool Pool-SecGW-crypt
log local0. "LB FAILED. Pool member $PoolMember re-selected = [LB::server]"
table set -subtable "Source_Map" $ClientIP "[LB::server]" 1200
}
when a poolmember goes down, sometimes it works (my LB::server value is showing new poolmember IP), sometimes not (no IP).
I read in the LB::reselect documentation (old, for v9.x) the following "Note that the reselect may not happen immediately; it may wait until the current iRule event is completely finished executing."
Any workaround to have it selected immediately (v11.x)? Thanks Alexandre
- nitassEmployee
when a poolmember goes down, sometimes it works (my LB::server value is showing new poolmember IP), sometimes not (no IP).
when no ip, does it not work indeed (e.g. connection is resetted)? or is it only cosmetic?
if it does not work, i think it may not be about the note you mentioned. can you try to call LB::reselect again if LB::server returns null?
- amolariCirrostratus
it's not working means,
showslog local0. "LB FAILED. Pool member $PoolMember re-selected = [LB::server]"
where it should be: LB FAILED. Pool member 172.18.136.60 re-selected = /Common/Pool-SecGW-crypt 0
/Common/Pool-SecGW-crypt 0
Recent Discussions
Related Content
* 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