Forum Discussion
Store data in variable from HTTP_REQUEST to LB_FAILED
Hi,
LB_FAILED is triggered when LTM is ready to send the request to a pool member and one hasn’t been chosen (the system failed to select a pool or a pool member), is unreachable (when no route to the target exists), has reached a queue limit, or is non-responsive (fails to respond to a connection request).
So, LB_FAILED is not only triggered when there is no pool member available in the pool but also when persistent pool member goes down.
if you want to select a new pool when no pool member is available in the default pool, check active_members in HTTP_REQUEST:
when HTTP_REQUEST {
...
set failoverPool $val
...
if { [active_members default_pool] < 1 } {
pool $failoverPool
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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