Forum Discussion
How to rename a virtual server in tmsh or bash ( F5 LTM 11.5.x)
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 (specifically virtuals) is to use tmsh to list the config for the virtual, and then modify the config to use another ip/port temporarily and make a copy of the config with a different name using the original server/ip combination. With this method, you do need to be cognizant of where the hooks are to that original vs so you can update them to use the new one and then remove the old VIP.
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