Forum Discussion
way to change the name of pool, VIP name in F5
Is there any way to rename the name of pool, VIP name in F5.
3 Replies
- Hannes_Rapp
Nimbostratus
You will have to modify the bigip.conf file, using a text editor. Having applied the changes, load the system configuration.
1) Cmd:"vi /config/bigip.conf" ; replace the virtual server names as you wish
2) Cmd: "tmsh load sys config" ; in case of an error, the previous configuration will be retained - Victor_142239
Nimbostratus
There is a change in the new image 11.6 that should make it possible.
[https://support.f5.com/kb/en-us/products/big-ip_ltm/releasenotes/product/relnote-ltm-11-6-0.html]
Object move and rename (early access)
This release provides early access to the feature that enables move/rename of specific BIG-IP object types, such as virtual servers, virtual addresses, pools (implicitly moves pool members), nodes, monitors, profiles, iRules, iApps, device names, self IP addresses, iCall, and folders. Note that this functionality is not provided for VLANs or Partitions.
- Michael_Jenkins
Cirrostratus
You can check out this question which is pretty similar, but basically it depends on your version.
In versions previous to 11.6, I've heard that you can edit the bigip.conf file manually and save it, but from what I gather, that's not the most stable way to do it, and could cause some undesired headaches. From 11.6 there is the ability to change names on some objects. Here's a question about how to rename objects in 11.6, if you were to upgrade.
The way I've had to handle renaming objects in 11.5 is to find out what what all is referencing your pool (virtuals, irules, etc...), create the pool with the new name, and then update the configs to point to the new pool. Then you can delete the old pool. One simpler way to find that would be with the command
(ortmsh list ltm virtual
, etc...), copy the configs that come up, find the ones referencing your pool, update the pool name, and then use withinrule
thetmsh
command to paste and verify your changes. Then take off theload sys config from-terminal merge verify
and you can merge your changes into the config. Then you could run the commandverify
. Should error if there's still existing (known) associations with anything Once those are resolves, you can delete it successfully.tmsh delete ltm pool POOL_NAME_ORIGINALHope this helps
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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