Forum Discussion
Anthony_Gerace_
Feb 14, 2005Historic F5 Account
Retrieving topology records on version 4.5.9 3-DNS
Is there a limit to the max size for the topology.inc file that iControl can handle?
When I try to pull the topology records (get_entry_list) from a 4.5.9 3-DNS which as a topology.inc file of 81KB I receive a "Internal Server Error - Status 500".
I don't see this problem when I pull the topology records from another 4.5.9 3-DNS that has a topology.inc file size of 25KB.
Thanks in advance.
Anthony
$soapTopo = SOAP::Lite
-> uri('urn:iControl:ITCMGlobalLB/Topology')
-> proxy("https://$sHost/iControl/iControlPortal.cgi");
sub SOAP::Transport::HTTP::Client::get_basic_credentials
{
return "$sUID" => "$sPWD";
}
$soapTopo_response = $soapTopo->get_entry_list();
@topoList = @{$soapTopo_response->result};
foreach $rec (@topoList) {
$srv = $rec->{serv};
$Weight = $rec->{score};
$topd = $srv->{d};
$topName = $topd->{name};
$ldns = $rec->{ldns};
$ldns_type = $ldns->{type};
$topldnsd = $ldns->{d};
if ($ldns_type > 0) {
$topLDNS_Name = $topldnsd->{name};
$topLDNS_IP = "DC";
$topLDNS_Mask = $topLDNS_Name;
}
else {
$topLDNS_CIDR = $topldnsd->{c};
$topLDNS_IP = $topLDNS_CIDR->{ip};
$topLDNS_Mask = $topLDNS_CIDR->{mask};
$topRecWeight = $rec->{score};
}
$TopRec = "$topName|$topLDNS_IP|$topLDNS_Mask|$Weight\n";
print $TopRec, "\n";
}
- You may have reached a size limit on the number of topology records you are accessing. Do you know the number of records in the 81kb file? From that we can determine if this is due to a memory limit being reached.
- Anthony_Gerace_Historic F5 AccountHi 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