Forum Discussion

bigipjr28_13978's avatar
bigipjr28_13978
Icon for Nimbostratus rankNimbostratus
Apr 11, 2016

Renaming multiple VIPS 11.6 LTM

Hey guys,

 

I was curious as to what the best way rename multiple VIPs in 11.6 without having re-create configurations. I am looking for the least invasive way to approach this on how to go about doing it.

 

I also sent the question to our FSE and one to support here are both of their suggestions:

 

FSE:

 

You could probably still do this in an automated way via iControl. Essentially you could probably build a script that takes a list of vip names and their new names then loop through, grab the virtual server configuration and store it in memory, delete it on the big IP, then write a new one with the new name using the data you stored previously.

 

f5 support:

 

There is no official method to rename Virtual Servers or pools in 11.6.0. This is by design, as Product development has determined that updating the name of these traffic objects in all places they are used is not possible with 100% certainty after a rename. That is why the recommended method is to delete a Virtual server or pool traffic object and create a new one with the name you want.

 

As you noted it is possible to modify the configuration in the CLI, however this could introduce issues if any errors are made. For some more detail on this please see SOL15767.

 

SOL15767: The BIG-IP configuration may fail to load after you rename a virtual server https://support.f5.com/kb/en-us/solutions/public/15000/700/sol15767.html?sr=52767923

 

One other option would be to enable the mcpd.mvenabled feature, which allows you to move and rename objects in Big-IP.

 

"Warning: Currently, the ability to move certain BIG-IP objects to other folders and to rename those objects is an experimental feature. F5 Networks recommends that you disable this feature after you have moved or renamed any BIG-IP objects. Also, use of this feature could result in a loss of statistics and a disruption in BIG-IP Global Traffic Manager GTM) service. If you plan to move or rename a virtual server, please contact your GTM administrator before doing so."

 

Has anyone attempted either of these? If so, I would like to hear your results. As far as the icontrol suggestion, I never really worked with icontrol api just did some basic info gathering nothing crazy. How would one approach the icontrol suggestion?

 

Any help is welcomed. Thanks

 

1 Reply

  • In the past when I've needed to rename objects i have edited the configuration files (bigip.conf), after making a backup of course. I always do a verify before i load it back in though.