Forum Discussion
MarkM_63051
Dec 02, 2011Nimbostratus
How to remove a virtual server from a pool
Hello,
I am really glad that this forum exists! I have been searching the web and the iControl SDK but I cannot figure out how to delete a pool after it has been assigned to a virtual server...
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.
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