Thanks for the note Jimmy. We were just looking for a scriptable solution inside a VM. Looks like Mischa gave us a solid direction.
--- Dustin Puryear, CEO My direct number: 225-304-6402 Main: 225-706-8414 | Fax: 800-613-5731 | www.puryear-it.com<http://www.puryear-it.com> Puryear IT, LLC - We see IT differently. Baton Rouge IT Support<http://www.puryear-it.com/computer-support/baton-rouge/> & New Orleans IT Support<http://www.puryear-it.com/computer-support/new-orleans/> Cloud, Windows, Exchange, SQL Server, Linux, UNIX 2013 Honoree of the LSU 100: Fastest Growing Tiger Businesses<http://www.lsu100.com/> 2012 Honoree of the Silicon Bayou 100<http://siliconbayounews.com/2012/12/24/2012-silicon-bayou-100-group-4/> From: owner-nolug@stoney.kellynet.org [mailto:owner-nolug@stoney.kellynet.org] On Behalf Of Jimmy Hess Sent: Thursday, October 10, 2013 6:46 AM To: nolug@nolug.org Cc: general@brlug.net Subject: Re: [Nolug] Is there a way to determine the host VMware box for a VM from inside the VM? On Wed, Oct 9, 2013 at 3:12 PM, Dustin Puryear <dpuryear@puryear-it.com<mailto: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.orgReceived on 10/10/13
This archive was generated by hypermail 2.2.0 : 10/10/13 EDT