Forum Discussion
Omer_Iqbal_6912
Apr 25, 2011Nimbostratus
save_configuration questions
Hi folks,
I am synchronizing active & passive F5 switches using iControl.dll via the following piece of code:
interfaces.SystemConfigSync.save_configuration("/config/bigip.conf", iControl.SystemConfigSyncSaveMode.SAVE_HIGH_LEVEL_CONFIG);
Three questions:
1) This code does not seem to be working, i.e. no error thrown but sync does not happen -- what is the best way to find out any error that may have been encountered during the process.
2) Does sync require full admin access or can the sync be granted to any account? We would not like to have admin access to the script that does the sync as it takes machines out of rotation and puts them back in.
3) I am taking machines out of rotation (i.e. out of service), and putting them back in, I think high level sync is sufficient, but is there a way to find out whether it is, or do I need full sync?
Thanks,
Omer
- First off, the save_configuration() method does not issue a config sync. It merely flushes the configuration from the configuration engines memory to the disk configuration files (bigip.conf and bigip_base.conf). Essentially the save_configuration call is issuing the equivalent of the "bigpipe save" and "bigpipe base save" CLI commands.
- Omer_Iqbal_6912NimbostratusAh. That explains. Thanks a lot. I was wondering if I could still understand the difference between basic & full sync, and if admin privileges are necessary for the operation?
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