Forum Discussion

Geoff_Thomas_32's avatar
Geoff_Thomas_32
Icon for Nimbostratus rankNimbostratus
Jun 30, 2007

Can I get the VirtualServerDefinition without using get_stats?

Hi,

 

 

I need to get the Common::VirtualServerDefinition information. Currently in order to get this informatoin we have to do a get_statistics. This is call causes a huge amount of network traffic (~22,000) and also causes iControlPortal memory usage to grow over 330 MB in size.

 

 

All we need is the VIP and Port for each of the Virtual Server. However it causes a huge amount of traffic and memory usage on the BigIP. This stress is keeping us from running our User Self Service system.

 

 

Is there any other way to get the Virtual Server IP and it's Port?

 

 

Thanks,

 

Geoff Thomas

 

 

Here is the portion of the code that gets the stats.

 

 

/// Get the stats -- it's called from another function.

 

 

string [] vipList;

 

 

vipList=oVirtualServer.get_list(); //ping

 

 

iControl.LocalLBVirtualServerVirtualServerStatistics vs_stats = oVirtualServer.get_statistics(vipList); //ping

 

 

return vs_stats;

 

 

 

/// Now we get the information from the stats

 

 

for(int i=0; i{

 

iControl.CommonVirtualServerDefinition vs_def =

 

vs_stats.statistics.virtual_server;

 

 

DataRow drResult= dtResult.NewRow();

 

drResult["VIP"]= vs_def.address.ToString();

 

drResult["VIPPort"]= vs_def.port.ToString();

 

drResult["VirtualServer"] = vipList;

 

drResult.Rows.Add(drResult);}

 

 

}

 

 

 

No RepliesBe the first to reply