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-no...@stoney.kellynet.org [mailto:owner-no...@stoney.kellynet.org] On Behalf Of Jimmy Hess Sent: Thursday, October 10, 2013 6:46 AM To: no...@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 <dpury...@puryear-it.com<mailto:dpury...@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
_______________________________________________ General mailing list General@brlug.net http://brlug.net/mailman/listinfo/general_brlug.net