Forum Discussion

9 Replies

  • Hi,

    You can use crontab to plan a tmsh command.

    The tmsh command is :

    tmsh run cm config-sync to-group Your_Device_Group

  • Thanks for your answer, How to write this crontab to do the synchro every midnight? graphic or via command line?and how to activate it?

     

    my device group name is: Device-Group Active LTM name: canal_ip5_4200LB.cdn Standby LTM name: canal_th2_4200LB.cdn

     

  • I don't need your member's name but your Device-group's name.

     

    Why do you want to do the synchro every day ? Keep in mind that the synchronisation is just on configuration and not on logs.

     

    Also, for a synchro you have to choose a way (to-group or from-group). So it's not recommended to automate this.

     

    • Mazen2006_14317's avatar
      Mazen2006_14317
      Icon for Nimbostratus rankNimbostratus
      my device group name is: Device-Group It's required by our manager because guys in run dept. forget to do sychro after changes on active LTM... So we need to apply a sychro to-group every midnight from the active member
    • Mazen2006_14317's avatar
      Mazen2006_14317
      Icon for Nimbostratus rankNimbostratus
      I don't know if we can check if the device is the "Active" device before applying the config-sync to-group command...?
  • I don't need your member's name but your Device-group's name.

     

    Why do you want to do the synchro every day ? Keep in mind that the synchronisation is just on configuration and not on logs.

     

    Also, for a synchro you have to choose a way (to-group or from-group). So it's not recommended to automate this.

     

    • Mazen2006_14317's avatar
      Mazen2006_14317
      Icon for Nimbostratus rankNimbostratus
      my device group name is: Device-Group It's required by our manager because guys in run dept. forget to do sychro after changes on active LTM... So we need to apply a sychro to-group every midnight from the active member
    • Mazen2006_14317's avatar
      Mazen2006_14317
      Icon for Nimbostratus rankNimbostratus
      I don't know if we can check if the device is the "Active" device before applying the config-sync to-group command...?
  • With bash commands you can do everything.

     

    Unfortunately, I can't do it right now I'm too busy for that...

     

    Remember that you can modify configuration from active or passive member...