Forum Discussion

Juanya_Williams's avatar
Juanya_Williams
Icon for Nimbostratus rankNimbostratus
May 29, 2009

VirtualAddress -> VirtualServer

Hello, we have a scenario where we have the VIP information and need to be able to lookup the virtual server name. So far, we've only been able to find a way of getting the VirtualAddress to VirtualServer mapping by retrieving all virtual servers and then retreiving all the destinations for those virtual servers and then performing a linear search to find the VIP. We were wondering if there was a more direct way of performing this lookup because as the total number of virtual servers grow on the LB, this API call gets relatively slower each time.
  • Unfortunately, we don't have reverse lookup methods in the API for those objects that are represented by their user friendly names (although this would likely be a good addition). For now, you will likely have to do what you have been doing by enumerating through the destination addresses and doing a search.

     

     

    -Joe