For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

masterodeat's avatar
masterodeat
Icon for Nimbostratus rankNimbostratus
Nov 10, 2015

curl sync command with overwrite option

Hi,

 

I have a working implementation of a sync command in curl that i gleaned from another post, but what i really need in the context of our setup is to know the operator for the 'overwrite' config option. My sync command is already preceded with a check for which LTM is active so i want to force sync with the standby peer.

 

Current curl command I use is: curl -sk -u admin:admin -H "Content-Type: application/json" -X POST -d '{"command":"run","utilCmdArgs":"config-sync to-group pair-group-name"}'

 

Anyone able to point me in the right direction?

 

1 Reply

  • adityoari_14383's avatar
    adityoari_14383
    Historic F5 Account

    have you tried configuring the the active LTM device with set-sync-leader prior to the sync command?