Forum Discussion

dfosborne2_2224's avatar
dfosborne2_2224
Icon for Nimbostratus rankNimbostratus
May 02, 2014

Persisting REST changes to bigip.conf? BigIP 11.5

Hi.

 

I have been working on cutting over from a very old 6400 chassis running 9.3 to a VE instance running 11.5 and have (painfully!) been able to port almost all of it over via REST. I am however noticing that the bigip.conf is not reflecting those changes even though the UI does. I will say that I do manually cat a few iRules into bigip.conf and then reload the config via tmsh before I go in and run about 500 REST commands against the API. The UI reflects the changes made via the API, but nowhere under /config do I see my pools/virtuals/profiles/etc...

 

Any info is greatly appreciated.

 

David

 

7 Replies

  • Ok. So I found a place in the UI where I was able to push what was in memory (and reflecting in the UI) out to disk -- /config/bigip.conf.

     

    Device Management ›› Devices ››

     

    From there I clicked update and to disk the config went! Will locate the correct API call to reflect this and post back for others who may run into this.

     

  • The answer is right in the API docs. Just look for the area about saving the config.

     

  • Where in the API docs does it detail this information? Would you mind posting either that or the solution?

     

    • Faintly_Lucky's avatar
      Faintly_Lucky
      Icon for Nimbostratus rankNimbostratus

      TO SAVE

       

      curl -k -u "username:password" -H "Content-Type: application/json" -X POST "; -d '{"command":"save"}'

       

      TO SYNC

       

      curl -k -u "username:password" -H "Content-Type: application/json" -X POST "; -d '{ "command":"run","utilCmdArgs":"config-sync to-group SYNC_GROUP_NAME"}'

       

  • Where in the API docs does it detail this information? Would you mind posting either that or the solution?

     

    • Faintly_Lucky's avatar
      Faintly_Lucky
      Icon for Nimbostratus rankNimbostratus

      TO SAVE

       

      curl -k -u "username:password" -H "Content-Type: application/json" -X POST "; -d '{"command":"save"}'

       

      TO SYNC

       

      curl -k -u "username:password" -H "Content-Type: application/json" -X POST "; -d '{ "command":"run","utilCmdArgs":"config-sync to-group SYNC_GROUP_NAME"}'