Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

Run a sync-config from iCall

Hi,

I am wrinting a iCall which modify the configuration with tmsh::modify.

I have a cluster of Big-IP so after the command tmsh::modify change the configuration, I have to run a config-sync.

My question is how to run a config-sync from a iCall? I can not find any command unless maybe with exec.

Thank you.

Regards,

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

You could try this:

tmsh::modify cm device-group <dg name> devices modify { <device name> { set-sync-leader } }

or on version 12.1.0 and above:

tmsh::run cm config-sync force-full-load-push to-group <group name>

More information on running a sync from the command line can be found here: https://support.f5.com/csp/article/K13887

0
Comments on this Answer
Comment made 31-Jan-2017 by Renji 1

I will run tests with this command: tmsh::run cm config-sync to-group <device-group>

Thank you for your answer.

0