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
Oh. Im running the VE in StandAlone mode on ESX 4.1, if that helps.
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?
Where in the API docs does it detail this information? Would you mind posting either that or the solution?
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”}’
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”}’