VMware Cloud Community
qc4vmware
Virtuoso
Virtuoso

Search for a vm by ip address

Is there any way in the vCAC console to look for a system based on ip address?  I know this will be useful in our environment.  I don't see that option anywhere.  It would also be nice to sort and filter on this attribute.

Paul

Tags (1)
Reply
0 Kudos
2 Replies
d-fens
Enthusiast
Enthusiast

Hi Paul, I know you asked for a setting in the vCAC console to search for VMs by IPs. I actually had the same requirement but could not find anything related, so I used the API and built a quick LightSwitch web application around it (as LightSwitch can natively consume vCAC's ODATA REST service). You would have to look for the 'StaticIPv4Adresses' property table that links each address in use to a virtual machine in the VirtualMachines properties table.
And if you don't need a web interface it is even easier to script that in PowerShell directly when using the MgmtContext (eg see here for some examples: http://d-fens.ch/2013/10/10/investigating-the-vcac-5-2-mgmtcontext/).

Hope that helps. Regards, Ronald

Ronald Rink d-fens GmbH
qc4vmware
Virtuoso
Virtuoso

Thanks Ronald I will check it out.  Sounds like a cool tool.

Reply
0 Kudos