Forum Discussion
Jim_Jack_103645
Nimbostratus
Apr 03, 2007redirect from table
I need an iRule (v9) to direct incoming traffic to one of my pools based on the virtual server calling the irule.
I have table like this:
christmasgifts101.comMIS-WEB20-1
closepro...
hoolio
Cirrostratus
Apr 04, 2007Hi,
Is there a compelling reason to not just configure a standard virtual server pointing to a pool for this?
If you did want to use a rule, you could create a datagroup (called a class in the bigip.conf) with the virtual server name (or virtual server IP address) and the pool, get the virtual server name with [virtual name], and then use the findclass command to look up the pool for the corresponding virtual server name.
Try checking the wiki pages for:
virtual name (Click here)
findclass (Click here)
Reply here if you have any questions.
Aaron
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