VMware Cloud Community
iaco
Contributor
Contributor

how much info about the host can we gather from the guest?

I'm working on a discovery / inventory tool that runs entirely guest side. Is there any way to correlate a guest to the host it's running on? Something alike hpvminfo from integrity virtual machines would be killer. I already checked the machine.id.get command of vm tools but it doesn't cut it out because I'd have to modify the vmx files and that's not an option in a running environment.

0 Kudos
1 Reply
VMmatty
Virtuoso
Virtuoso

I don't know of a way to do it natively, but I've seen a clever way to do it via PowerCLI.  Take a look at this blog post which describes how it works and gives you the PowerCLI code if you're interested.

http://www.kevincallanan.com/?p=41

If you're more of a Linux guy, take a look at this one (upon which the first blog post is based):

http://www.virtuallyghetto.com/2011/01/how-to-extract-host-information-from.html

Hope this helps.

Matt

http://www.thelowercasew.com

Matt | http://www.thelowercasew.com | @mattliebowitz
0 Kudos