Forum Discussion

mxu_65255's avatar
mxu_65255
Icon for Nimbostratus rankNimbostratus
Sep 03, 2009

iControl and SCF

Is there a way to generate and download the SCF through iControl?

 

 

We are currently using iControl to get configuration information from the BigIP systems, but would prefer to get the scf file instead of all the raw configuration files. I have looked through the iControl SDK for reference to the SCF, but cannot find any.

 

 

Thanks!

 

 

Jody

 

4 Replies

  • You can upload/download arbitrary files on the file system with the ConfigSync::upload_file and download_file methods. Target directories are subject to the subdomain restrictions on the iControlPortal.cgi process as defined in the /etc/subdomain.d/usr.local.www.iControl.iControlPortal.cgi configuration file on the BIG-IP.

     

     

    -Joe
  • Thanks Joe. I am familiar with that file download mechanism, but how do I go about generating the current SCF? I am only familiar with the

    bigpipe export [filename] 

    mechanism to generate the current SCF file.
  • Wow, looks like there isn't an API that wraps the "bigpipe export" command. I'll have to double check on that but for now you might be out of luck on the creation of the single config files.

     

     

    -Joe
  • You could workaround it by having a cron job to create the file for you. Or if you wanted to get really creative, configure an iRule that will log an entry to syslog when uri /exportconfig is sent that will trigger a backup action, then delay before making the icontrol call.