Forum Discussion
player_72606
Nimbostratus
May 06, 2010multiple pools per VS
hi all,
how can i assign multiple pools on one VS,
is that possible and supported ?
Hamish
Cirrocumulus
May 06, 2010Well. Yes and no...
No, you can only have ONE directly associated pool to a VS. That's the 'default' pool (Configured via the GUI or the command line).
HOWEVER
You can use as many pools as you like for a VS by using an iRule to select the pool for servicing the request. The pool can be selected as a static string, or an arbitrary name made up on the fly (As long as it exists of course). If an iRule tries to assign a pool that doesn't exist, then you'll get a TCL runtime error in the iRule and the connection will be closed.
The iRule command to select a pool and over-ride the default pool is the 'pool' command. e.g.
if { [IP::client_ip] equals "10.0.0.1" } {
pool "dedicatedpool"
}
would select the pool 'dedicatedpool' for the client at 10.0.0.1, and everone else would get the default pool for the VS.
H
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