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, server...
The_Bhattman
Nimbostratus
Mar 18, 2008nmenant beat me to it.
Here is the same method using Ravi's parameters
class dg_poolchoice {
"/abc poola"
"/xyz poola"
"/prq poolb"
"/def poolb"
}
when HTTP_REQUEST {
set choosenpool [findclass [string tolower [HTTP::uri]] $::dg_poolchoice " "]
if { $choosenpool != "" } { pool $choosenpool }
}
/CB
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