Forum Discussion
Creating 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 while, I will create a new partition and copy the virtual servers to new partition. Is it possible to copy-edit and paste the virtual server configuration using bigip.conf file? Should I edit the /config/bigip.conf file or the bigip.conf file under new partition folder? What is your recommended course of action
1 Reply
- Hannes_Rapp
Nimbostratus
Hello,
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
* 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
