Alexander_Stewa
May 02, 2007Nimbostratus
Help with PoolMember get_object_status on dozens of pools
So I'm writing an iControl program in perl that essentially recreates the network map that was the main page of BigIP 4.x I have the following working:
All VIPs
Status of all VIPs
All Pools in each VIP
Status of all Pools
All Nodes (PoolMembers) in each pool.
The problem is getting the status of all PoolsMembers in each pool; not because I can't do so but rather because I have to make a new soap call for each Pool.
$soap -> uri ('urn:iControl:LocalLB/PoolMember');
my $PoolMemberStatus = $soap->get_object_status(SOAP::Data->name(pool_names => [$PoolName]),
SOAP::Data->name(members => [@ArrayOfPoolMembers]));
We have ~150 Pools, so that's ~150 soaps calls, and this makes loading the page take like a minute which really defeats the purpose of getting the status of ever VIP/Pool/Node at a glance in real time.
So finally my question: Is there anyway to speed this up? Getting the status of all PoolMembers at the same time, or maybe sending multiple requests with only one Soap call?
Thanks,
Alex