Forum Discussion
Dec 02, 2011
There is just one default pool. The whole idea of having a pool of servers is to provide a mechanism to configure load balancing across that grouping of servers. If you were to be able to configure multiple default-pools, how would you expect the load distribution to occur across the pools?
Now, that isn't to say you can't have multiple pools serviced by a Virtual, just that you can't do it purely with configuration. It is trivial to write an iRule that performs some logic and then changes the currently active pool for the given connection. You could look at request characteristics like the URI, HTTP headers, Client IP, etc and then use the "pool" iRule command to change the pool for that given load balancing decision. You can also be more granular and use the "node" command to target that request for a single server (ip, port). Search through the iRules CodeShare in the wiki and you'll find several examples of this.
Hope this helps.