Forum Discussion
Jason_Andres_40
Nimbostratus
Nov 27, 2007Changing Pool for multiple virtual servers
We currently have 300 Virtual Servers all assigned to 1 pool. We need to move these to 3 seperate pools. I am using the web interface to click edit on each individual VS and change the pool then I hav...
Nov 27, 2007
That's no fun...
You've got a couple of options, none of which is using the GUI.
1. Make changes directly to the /config/bigip.conf file.
The format of the virtual server definition is something like this:
virtual _virtual_name_ {
pool _pool_name_
...
}
You can go through this file in vi and make all the changes to the "_pool_name_" values for the virtuals you are concerned with. When this is done, issue a "b load" from the BIG-IP command line. This will be WAY quicker than the GUI.
2. Build an iControl app. It's just one API method that you can pass in all your virtuals and all the default pools, but you'll have to get over the hurdle of getting your client framework setup (perl, .Net, Java). For perl, you can just run it directly on your BIG-IP as we have the full client framework setup for the SOAP::Lite perl module.
It's really up to you how much time you want to invest in learning iControl. If it's just for this task, I'd suggest just editing the configuration file directly. But, if you want to start some coding, then it's really not that hard to get something up and running. Perl is the hardest to start with because you have to package up all the method call parameters manually. For Java and .Net that's done for you with the iControl Assemblies we've published on the Labs section of DevCentral.
Good luck and let us know how it goes...
-Joe
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