How do I to rename a Virtual Server/Pool name on a F5 LTM ?
How do I rename a Virtual Server/Pool name on a F5 LTM ?
Can you please help me with commands with example .
BIG-IP version details : Sys::Version
Main Package
Product BIG-IP
Version 11.6.2
Build 1.0.507
Edition Hotfix HF1
Date Mon Nov 13 18:40:11 PST 2017
HERE is a link explaining that in order to rename VIPS through CLI, you must enable the MV (move) command. I just tested this on Ver 13, and it works the same with Pools. That link references THIS one, which is an official F5 doc and has some good info too.
Do that by running the command in TMSH
modify /sys db mcpd.mvenabled value true
You can then "rename" your VIP by MOVING it to another name
mv ltm virtual
Or rename your pool in the same manner
mv ltm pool
Then disable the MV command so no mistakes are made later by running
modify /sys db mcpd.mvenabled value false
Hope that helps! If it does, please up-vote and select this answer, it would be greatly appreciated!
-Dylan
NOTE There is a chance that TMM will restart after that change is made, so be aware of that.