Forum Discussion
Block traffic to node during specific time period
Hi if you look at the https://devcentral.f5.com/wiki/iRules.pool.ashx you will see a syntax for pool which let's you select not only a pool, but a pool member from that pool. The expected behaviour of
pool [LB::server pool] member $member 80
is to select the member denoted by the IP in $member on port 80 (I assumed 80). It's superior to using the node command as it will look at the status of the member within the pool [LB::server pool] (which is just the currently selected pool), and if it's marked down will immediately throw LB_FAILED rather than (with node, where it's not aware of the member status) waiting until syn retransmit limit is hit before deciding the node cannot be reached.
Try adding in the following logging statements while you troubleshoot;-
when LB_FAILED {
log local0. "[HTTP::uri] [LB::server]"
}
when LB_SELECTED {
log local0. "[HTTP::uri] [LB::server]"
}
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