Forum Discussion
Ravi_Rajan_7549
Nimbostratus
Mar 17, 2008Redirection with Multiple pools
Hi,
I am not very experienced with irules and have few queries as below -
I have two pools ex. poola and poolb. Each pool has few servers like -
poola - server1, server2
poolb - server3, server4.
Server1 & Server2 -
These servers are hosting web applications with URI - /abc and /xyz
Server3 & Server4-
These servers are hosting web applications with URI /pqr and /def
Now i have a single virtual server and i need an irule which does something like this -
For each incoming request, the irule should check the URI and based on URI, it should use the appropriate pool.
For ex - In case URI is /abc, then the virtual server should poola and If URI is /def then the virtual server should use poolb.
TIA,
Regards,
Ravi
14 Replies
- The_Bhattman
Nimbostratus
Now if only we F5 can get Boolean Shortcut method to work on iRULES, in theory it should be faster then switch arguements. :-)
/CB - Nicolas_Menant
Employee
that would improve the analysis for sure but i'm afraid i didn't saw this in the roadmap of iRules (actually it was more some ideas to implement than a roadmap ^^)
And i'm not sure we have a lots of request for such an implementation :'( - The_Bhattman
Nimbostratus
I sure can use it. :-) - Ravi_Rajan_7549
Nimbostratus
Thanks everyone, this is working fine. Now adding one more requirement to this -
I have a different virtual server for HTTPS access. I want to have a datagroup list with selected set of applications which i need to redirect to the HTTPS virtual server. Can this be accomodated in the same irule ?
TIA,
Ravi
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
