Forum Discussion
Load balancing not bypassed by 'node' nor 'pool' commands in iRule
- Feb 01, 2016
Try with a oneconnect profile on your VS to see if it changes anything?
In my lab, your irule worked as expected - that is to say:
- When I request "/refresh", the node selected is 192.168.1.20:80
- When I request "/" (or any other URI), the pool member selected is 192.168.1.10:80
Because your rule explicitly sets the node/member for every request, you should not be seeing normal load balancing (round robin in your case) at all.
I'm not able to tell from the information here why it's not working for you. It might help to add logging in an LB_SELECTED event, for example:
when LB_SELECTED {
log local0. "[LB::server] was selected"
}
Then make some curl requests from the LTM itself, to eliminate anything else that might be getting in the way
ltm curl -v http://x.x.x.x/refresh
Also, make sure you're working with the active member of the HA pair, and that the pair is in config sync
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