Forum Discussion
ianmercer_37853
Nimbostratus
Apr 20, 2007Using iControl to archive BigIP config to a text file under version control
Has anyone done this?
Essentially we would like to be able to keep track of all configuration and rule changes in our version control system. To do that we'd like to dump the configuration to a text file and check it into SubVersion. We are already copying the iRules over manually so we have a history of who changed what and when, but we'd like to automate the process and capture *all* of the configuration data. The output needs to be one or more text files so we can use diff to see the changes easily, ideally one text file for each VIP, pool, monitor, iRule, ....
Before I spend any time putting something together like that I wanted to check see if someone had already done it.
Ian
1 Reply
Sort By
- You can get a very large portion of the configuration data from the configuration files (/config/bigip.conf, /config/bigip_base.conf). You can use the iControl System::ConfigSync::download_file() method to download the files. This will give you two files that you can easily diff. If you want the entire configuration in a binary package, you can use the System::ConfigSync::save_configuration() method to save a .im package and use the System::ConfigSync::download_configuration() method to download it.
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