Forum Discussion
DFresh4130_2492
Apr 10, 2012Nimbostratus
Script to identify if unit is active or standby
Hi All,
I currently have basic operator privileges to our F5 systems. I haven't worked with F5s much in the past and have never written scripts to interact with them before.
I'm b...
Hamish
Apr 19, 2012Cirrocumulus
And also to sync from the current unit to the peer...
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";
}
H
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