Forum Discussion
Pushkar_73645
Nimbostratus
Sep 03, 2011Config Sync between load balancers using icontrol
I have two devices in active-active configuration and want to sync between configuration. I am using the web gui configsync option at the moment.
I found following soap call System->ConfigSy...
Hamish
Cirrocumulus
Sep 08, 2011And the (Very siple) call to do the sync is
----------------------------------------------------------------------------
sub syncConfig
----------------------------------------------------------------------------
sub syncConfig {
my($configAPI, $synctype)=@_;
print "syncConfig:\n";
my $soapResponse = $configAPI->synchronize_configuration(SOAP::Data->name(sync_flag => $synctype));
my($status,$text)=&checkResponse($soapResponse);
if(($status!=1)||($text ne "OK")) {
print "syncConfig: status $status error [$text] from synchronize_configuration($synctype)\n";
return;
}
print "syncConfig: status $status success [$text] from synchronize_configuration($synctype)\n";
print "syncConfig:\n";
}
And called by...
syncConfig($configAPI, "CONFIGSYNC_ALL");
H
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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