Forum Discussion
cebeci_259856
Nimbostratus
Oct 04, 2016Creating Duplicate Virtual Servers with different destination adresses
Hello all,
Our organization has started using a new IP space and I need to create a copy of our existing VSs with the new corresponding destination address.
We are going to keep the old servers for a...
Hannes_Rapp
Nimbostratus
Oct 04, 2016Hello,
You can use these steps for the task at hand
Write all Virtual Server configuration to a temp file
(bash) tmsh list ltm virtual >> /var/tmp/vs.txt
Open the output file for modification in Vi
(bash) vi /var/tmp/vs.txt
Modify the VS configuration file in Vi (Search & Replace)
(vi) :%s/destination 99.99.99/destination 88.88.88
(vi) :wq
Sample above is assuming that all your virtual servers are currently in 99.99.99.*, and the new desired address is 88.88.88.* where the last octet value is retained
Append new configuration to the existing
(bash) tmsh load sys config merge file /var/tmp/vs.txt
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
