Forum Discussion
Johnmec_45780
Nimbostratus
Mar 30, 2005BIGIP remote config file transfer
Hi !
I hope this has not been asked already..
Is there any way to easily transfer and load bigip main config files (bigip_base.conf and bigip.conf) from a remote host? I ...
Mar 30, 2005
David, The System::ConfigSync interface contains a method to do just this. Take a look at the download_file() and upload_file() methods.
FileTransferContext download_file(
in String file_name,
in long chunk_size,
inout long file_offset
);
void upload_file(
in String file_name,
in FileTransferContext file_context
);
We also have the methods upload_configuration() and download_configuration() that are shortcuts for downloading the full configuration archives (*.ucs files).
As for sample code, you are in luck! Take a peek at the /sdk/samples/soap/perl/soaplite/System/ConfigSync.pl sample application. It illustrates most of the methods in the ConfigSync interface including the download_file() and upload_file() methods.
As for the bigip.conf file, if you run the script as follows
./ConfigSync.pl bigip_address 443 username password download_file /config/bigip.conf bigip.conf
it will download the bigip.conf file into the local directory.
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects