Solved

Looking up ESX host or vcenter when yuo only have a VM name?

Posted on 2014-12-03
3
342 Views
Last Modified: 2014-12-12
Hello,
Is there a way to determine where a vm is being hosted when you only have the vm host name and IP? My company has some rogue host servers that are not documented, amazingly, but some times we have a issue with a vm and have a hard time figuring out where it is located.
0
Comment
Question by:REIUSA
3 Comments
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
ID: 40478303
So you have the Guest VM name, and Guest IP Address ?

You can also find the processors in the Guest VM, these will match the host computer.

Checking MAC Addresses of the Guest VM, on physical switch ports, and then check other traffic and MAC Addresses on those ports, ,may lead to IP Address of a Host Machine.

You can also find the information from using VMware Tools

see here

http://www.virtuallyghetto.com/2011/01/how-to-extract-host-information-from.html

Do you have access to the VM, vmx file on the server ?
0
 
LVL 2

Assisted Solution

by:itnifl
itnifl earned 250 total points
ID: 40480302
I am guessing REIUSA is asking for a way to get this information from within a guest. Andrew Hancock has already answered if that is the case. If that is not the case, here are som obvious standard ways on getting this information via the vSphere environment.

Our guest name is WIN2003x32, and I am assuming that is also the name that the operating system of the guest is using.

PowerCli:
C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> (get-vm WIN2003x32).Host

Name                 ConnectionState PowerState NumCpu CpuUsageMhz CpuTotalMhz   MemoryUsageGB   MemoryTotalGB Version
----                 --------------- ---------- ------ ----------- -----------   -------------   ------------- -------
daHostName123        Connected       PoweredOn      12        5910       29916          86,662         191,966   5.1.0

Open in new window

If you would like to get the vm guest by IP using PowerCli you can propably use this:
http://www.vnugglets.com/2013/10/get-vm-by-ip-or-mac-address-via-powercli.html

vSphere Client:
vSphere Client
vSphere Web Client:
vSphereWebClient
0
 

Author Closing Comment

by:REIUSA
ID: 40497560
Thanks for the replies, sorry for the delay.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now