Forum Discussion

Puneet_73909's avatar
Puneet_73909
Icon for Nimbostratus rankNimbostratus
Apr 24, 2009

Saving Config through CLI

Hi,

 

 

I tried to edit the pool name through cli and then saved the configuration but it is not saving. PLease help me with commadns...
  • When you say "through cli" what do you mean? Are you using bigpipe on the BIG-IP command line? Or, did you build an iControl app that you are running that is making changes? If you are using iControl, then to flush your changes to disk, you will need to use the System.ConfigSync.save_configuration() method with a SaveMode of SAVE_HIGH_LEVEL_CONFIG for bigip.conf and SAVE_BASE_LEVEL_CONFIG for bigip_base.conf changes.

     

     

    The GUI will do an auto-sync to disk, but that operation is expensive time-wise and if you are writing an iControl app that makes dozens of calls, if each call takes several seconds extra just to save the configuration, it could drive your application's speed way down.

     

     

    We see this as a pseudo-transaction approach. If you want to revert your changes, you can call the System.ConfigSync.load_configuration method before saving your current working set.

     

     

    Hope this helps...

     

     

    -Joe