Forum Discussion
vgeorge_113186
Feb 07, 2012Nimbostratus
creation of LocalLB::VirtualServer not reflecting in /config/*.conf files
I am creating a LocalLB::VirtualServer & it successfully created. I can see the newly created Virtual Server in the GUI. But I am unable to see the difference in /config/*.conf files.
Basica...
Feb 07, 2012
Posted By snovakov on 02/07/2012 09:39 AM
Hi mhite!
No, one must do a System.ConfigSync.save_configuration() call to save the config change you've made.
It is quite slow, mostly because (as I found out the other day), the 'SaveMode' type that is listed as 'SAVE_HIGH_LEVEL_CONFIG' is not supported anymore, at least in the Perl version of iControl that I am using (10.2.0).
I have to use the 'SAVE_FULL' mode, which can take quite long if the configuration is "large" on the F5 Big IP box you're targeting.
I just checked the code for v10.2 and from what I can tell, System.ConfigSync.save_configuration() supports the SAVE_FULL, SAVE_HIGH_LEVEL_CONFIG, and SAVE_BASE_LEVEL_CONFIG parameters. For SAVE_HIGH_LEVEL_CONFIG, it will issue a "bigpipe save" command. For SAVE_BASE_LEVEL_CONFIG, it will issue a "bigpipe base save" command. For SAVE_FULL, it does some other calls to "bigpipe config save" with optional encryption parameters.
For v11 and above, it uses the tmsh equivalents.
Are you seeing errors when trying to run save_configuration() with SAVE_BASE_LEVEL_CONFIG?
-Joe
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