Forum Discussion
Randy_Johnson_1
Nimbostratus
Feb 08, 2006Newbie to IRules - HELP PLEASE !
Hi group -
This is my first venture into the world of IRules, and I'm hoping for some direction.
The basic situation is this -
I have a webfarm runing several applications. Some of thes...
Feb 08, 2006
You can leave it at that as long as all your other urls are going to a single pool. If you need to filter out more urls to different pools (as it seems from your post), then you'll have to account for them in the rule (or use multiple virtuals with a single pool on each).
The best way to approach this is to set the default pool for the virtual to the one that covers most cases and then add code to the iRules to override the behavior for the less frequent cases. Since I don't know your configuration, I can't really help out any more with optimization tips.
If you have a large number of urls, you can also look at storing the groups of urls into external classes (or data groups) and then use those groups in conjuction with the "matchclass" command. You can search the forums or wiki for examples of using that command. This is really only useful when dealing with a large number of comparisons.
-Joe
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