Forum Discussion
JG_249184
Altocumulus
Apr 04, 2016Looking for best practices on creating iRules for pool members redirection
Hi,
I am new to F5 BIG-IP LTM and creating iRules. I came from the Citrix Netscaler world. Creating redirect policies seemed to be a lot easier on the Netscaler when using their content switchin...
Josiah_39459
Apr 04, 2016Historic F5 Account
Yes, using the switch command is much more efficient. You might also look at the http class profile which allows you to assign pools based on uris without an irule.
https://devcentral.f5.com/wiki/iRules.switch.ashx
JG_249184
Altocumulus
Apr 04, 2016Thank you. I've just tested out using traffic policy in version 11.6. I've created generic1-vip-443_policy and nested all of my rules which pertain to each separate application. I wanted to make sure going forward, that I can keep adding separate rules to this policy for different applications to be forwarded to different backend pools and if it make sense to create multiple policies for common applications. If it's going to check a top down order and it doesn't matter, then I'll just use generic1 for all of my forwarding decisions.
Is the new traffic-policy the preferred method over iRules based on performance or just ease of use without writing complex iRules?
Thanks again for your help.
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