Forum Discussion
Renaming Virtual Servers on 11.5.1
I've played around a little with the object renaming functionality in v11.6 and it appears to work. Keep in mind that it's considered to be 'early access' (use at your own risk). The functionality is currently available only via tmsh (not the GUI), and is disabled by default. The DB value 'mcpd.mvenabled' is used to control its enabled/disabled state.
To display current state of DB 'mcpd.mvenabled':
tmsh list /sys db mcpd.mvenabled
To enable or disable:
tmsh modify /sys db mcpd.mvenabled value [true|false]
To rename/move an object use the tmsh 'mv' command. For example, to rename pool 'test1' to 'test2', the command would be:
tmsh mv /ltm pool test1 test2
For example:
[root@f5:Active:Standalone] ~ tmsh list /ltm pool test1
ltm pool test1 { }
[root@f5:Active:Standalone] ~ tmsh mv /ltm pool test1 test2
[root@f5:Active:Standalone] ~ tmsh list /ltm pool test2
ltm pool test2 { }
[root@f5:Active:Standalone] ~ list /ltm pool test1
01020036:3: The requested Pool (/Common/test1) was not found.
Keep in mind when renaming objects that there may be dependences with other modules (e.g. GTM). For example, if you rename an LTM virtual server and the GTM refernces that object, you will most likely need to re-add that object in the GTM config.
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