Forum Discussion

Daniel_M_119317's avatar
Daniel_M_119317
Icon for Nimbostratus rankNimbostratus
Jul 08, 2013

BIG:IP Config Back-up

I have written code so that every day the configuration files are daily backed up onto an external system; however, every once in a while, I recieve an error that the uploading of the config files has timed out. I am assuming this is because of normal wait times, or the fact that there is a lot of data. I implemented a second try/catch function so that the application tries twice before erroring out but it still times out every so often. Is there any way I can fix this error. All of my iControl/iControl.dll files are up to date, and like I said, it works sometimes but not others.

 

Thanks,

 

mcclaidw

 

4 Replies

  • I'm a little confused. You said you are "backing" up the config files to a external system but that the error is during the "uploading" of the files? Are you "downloading" the configs to a local system and then "uploading" them to a backup server? Or are you "uploading" them from the BIG-IP to the backup server? Also, how are you doing the download/uploads?

     

     

    If you can explain the process in a little more detail, that may help shed some light on to things.

     

     

    -Joe
  • I am downloading the configs to a local system and then uploading them to a backup server by retrieving the liconfiguration list via this line:

     

     

    SystemConfigSyncConfigFileEntry[] f5ConfigList = f5Interface.SystemConfigSync.get_configuration_list();

     

     

    Then saving them via:

     

     

    f5Interface.SystemConfigSync.save_configuration(strConfigName, SystemConfigSyncSaveMode.SAVE_FULL);

     

     

    the error occurs during the get configs line above because it times out.

     

    hope this helps.

     

     

    -mcclaidw
  • The get_configuration_list() method should be a fairly low-overhead method so I'm not sure why that would be timing out. I believe the .Net bindings have a 3-minute connection timeout which should be way more than adequate to retrieve a list of configuration files. You don't by chance have another iControl app monitoring the BIG-IP you are pulling configuration from do you? iControl is single threaded so if you have another long-lived request occurring when the config list method is called, that will wait until the existing command is finished.

     

     

    I'll look into the source and see if anything pops up that could cause a server lock during that time.
  • Hey Joe, this brings up a question... are there any plans to make iControl multi-threaded?