Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-12-03
3
Medium Priority
?
391 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 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1000 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 1000 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

971 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