Forum Discussion
wayney_128269
Nimbostratus
May 11, 2005write mem?
What method do I need to call in order to do a write mem?
thanks
- Loc_Pham_101863Historic F5 AccountI'm not sure I understand what you mean by "to do a write mem". Do you mean to save the running, in-memomy config out to disk? Can you elaborate please?
- wayney_128269
Nimbostratus
Yes. I have noticed that when I take a DIP out of service, the change does not get written to disk. Therefore, if the Bigip device crashes, any state changes are lost. - Loc_Pham_101863Historic F5 AccountTo save the running configuration, you can use the System::ConfigSync::save_configuration method. The SaveMode flag indicates how much information to save. Here's the documentation from the SDK for the SaveMode flag:
- wayney_128269
Nimbostratus
Does this configsync method also cause the config to be replicated to the backup Bigip box? - Loc_Pham_101863Historic F5 AccountNo, this method just saves the configuration, it does not synchronize the configuration. If you want to synchronize the configuration, use System::ConfigSync::synchronize_configuration method. Please check the SDK documentation for further information.
- thagmann_128177
Nimbostratus
I suspect there may be some confusion as to wayney's question. Wayney is not asking how to generate a UCS file which would be the equivalent of a "b config save " command from the shell and which is the way I interpret the method you listed above. - I was writing a response and Loc beat me to it...
- We've found that in a large majority of the cases, the low level config (vlans, selfips, etc) are not changed that often beyond initial setup. The high level config (vips, pools, etc) are changed much more often and that is why bigpipe segmented the two and iControl has followed in those footsteps. It's also our belief that, in general, customers don't want to do anything with the low level config once it's set.
- thagmann_128177
Nimbostratus
I agree with you that customer make the majority of changes to the bigip_base.conf upon 1st setup so I can see that it is logical to segment the changes into 2 methods to protect the customers that don't want to accidentally change anything. I think the best option is not to combine the 2 methods into one but to simply add a 3rd method in for customers that want to write all changes at once while retaining the 2 ones you already have. - thagmann_128177
Nimbostratus
I don't claim to understand all of the ins & outs of what it would take on your side, but if you are asking what I think the ideal way to handle it would be, I would say create a seperate method that doesn't take in any filenames. Just create a seperate method and then have the right filenames to perform the save be programmed in on your side so that they are abstracted from the customer.
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