Forum Discussion

Charles_Harris's avatar
Charles_Harris
Icon for Nimbostratus rankNimbostratus
Feb 05, 2008

Is it advisable to config sync after iControl updates?

Just a quick question....

 

 

We use iControl to manipulate node session states & pool member states from within our applications: Is it a good idea (time / resources / performance etc) to do a sync after each state change and if so which level will preserve the configuration if something caused a failover?

 

 

Any pointers or tips gladly received!

 

 

Cheers

 

 

-=ChaZ=-

 

 

2 Replies

  • If you're disabling a node on one unit, it would make sense to synchronize the change to the peer to ensure it has the same configuration in case you needed to fail over to it. If you're only making changes to the high level configuration (the bigip.conf), you could just save that (like running a 'b save') and then sync the config (like running 'b config sync').

     

     

     

    http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&forumid=1&postid=2655

     

     

    System.ConfigSync.save_configuration (SaveMode), where

     

    SaveMode = SAVE_HIGH_LEVEL_CONFIG will save the configuration to /config/bigip.conf (similar to "b save")

     

    SaveMode = SAVE_BASE_LEVEL_CONFIG will save the configuration to /config/bigip_base.conf (similar to "b base save")

     

     

     

     

    Aaron
  • Hi Aaron,

     

     

    Thanks for the quick reply, I suspected it would be a good idea so I'll check your leads in the SDK and add it to our application(s).

     

     

    Cheers!

     

     

    -=ChaZ=-