Forum Discussion
hotrod_127503
Nimbostratus
Jan 04, 2005Best Practice for Sync Between Primary and Failover
I am writing an auto-registration service that will allow machines to add themselves to the Load Balancer. Due to the transactional nature of this process, I am never quite sure when everyone is regi...
orangepeelbeef_
Nimbostratus
Jan 12, 2009I have the same exact problem using the perl soaplite code. if i set the timeout to 500 i get a 500 error from the bigip, else I get a SSL Read timeout.
I also have all the errors above.. I can configsync via the webgui or the bigpipe command just fine.
sub syncConfiguration()
{
print "Syncronizing Config to Backup\n";
my ($syncFlag, $quiet) = (@_);
my $success = 0;
if ( "" eq $syncFlag )
{
&usage("sync");
}
$soap_response = $cfgsync->synchronize_configuration
(
SOAP::Data->name(sync_flag => $syncFlag)
);
if ( $soap_response->fault )
{
if ( 1 != $quiet )
{
print $soap_response->faultcode, " ", $soap_response->faultstring, "\n";
}
}
else
{
$success = 1;
if ( 1 != $quiet )
{
print "Configuration synchronized successfully!\n";
}
}
return $success;
}
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