Re: [Nolug] Is there a way to determine the host VMware box for a VM from inside the VM?

From: Jimmy Hess <mysidia_at_gmail.com>
Date: Thu, 10 Oct 2013 06:45:50 -0500
Message-ID: <CAAAwwbXzhuEWkuDLQ3uPhmohRrYQO2Wx4oWECMBH_cUTFeSi0A@mail.gmail.com>

On Wed, Oct 9, 2013 at 3:12 PM, Dustin Puryear <dpuryear@puryear-it.com>wrote:

> **
>
Good morning,

This might be achieved through the VIX API; connecting to the host from
the guest using the VMCI interface, VMware Tools commands, or through the
 "backdoor" system operations that hosts expose to VMs for
self-introspection.

In practice, if you want to find where a VM lives --- you search for its
hostname or IP address in vCenter; or through ESXi host management.

An alternative is to search by VM MAC address. Lookup the MAC address of
the virtual machine's eth0, and then script a search for VMs containing
that MAC address.

Or SSH into your switches, and start tracing the MAC address through
your L2 network, until your trace lands on a switchport that belongs to
an ESXi host

Got it?

> **
>
> ---
> Dustin Puryear, CEO
>

--
-JH
___________________
Nolug mailing list
nolug@nolug.org
Received on 10/10/13

This archive was generated by hypermail 2.2.0 : 10/10/13 EDT