Forum Discussion
REST Api and Config sync question.
I got some support from the folks at F5. It looks like my issue was that I was using REST V11.4 to make the above call (which I believe is supported in 11.5) 11.4 wasn't an option for me (in the timeframe I was looking at), so they sent me a command that works even though they advise against deploying a production app against REST in 11.4
Make a POST to '/mgmt/tm/actions/cm/config-sync/run' with the following payload: {"apiOptions": "to-group sync-failover-1"}
where "sync-failover-1" is the name of the device group.
that command allowed me to successfully sync the device to the group, now I just need to learn how to sync the group back to the device (with the overwrite option enabled)
In case the configurations are inconsistent (changes to both devices w/ sync status "red") you may want to try the following, please (tested in TMOS v12.1.2):
curl -svk -H "X-F5-Auth-Token: ${token}" -H 'Content-Type: application/json' -X POST -d '{"command":"run","options":[{"force-full-load-push to-group":"devicegroup_lab-01"}]}' "https://${bigip}/mgmt/tm/cm/config-sync" | json-format
Recent Discussions
Related Content
* 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