Solved

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

Posted on 2014-12-03
3
360 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 120

Accepted Solution

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

732 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