Forum Discussion
Festus_50639
Nimbostratus
Dec 01, 2008"Select pool based on uri content" iRule doesn't seem to be working
Good morning,
I have an iRule that is designed to select a pool based on a string found in the uri and it doesn't seem to be working. I have a log that collects the uri for reference....
Festus_50639
Nimbostratus
Dec 03, 2008Aaron,
BigIP version information below:
Kernel:
Linux 2.4.21-9.3.0.178.0smp
Package:
BIG-IP Version 9.3.0 192.0
Hotfix HF2 Edition
In going over the iRule and DevCentral documentation regarding HTTP_REQUEST and LB_SELECTED, I'm finding that "LB::status" is not an allowed command for either of those two events. If I am reading the documentation correctly, I can only get LB::status under the LB_FAILED event.
Is there another event that happens BEFORE the request is processed where I can get LB::status of the LB::server?
What I need to do before the request is processed is to determine if the status of the selected node is "up" for both health monitors.
=========update=========
I thought that I might try using using "active_members -list" but found that I'm a few versions behind on that one.
Is there an alternative to "active_members -list" that would return the same information?
Also, is LB::status slated to be a valid command for LB_SELECTED?
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