report for VM host
Could the Kace identify the VM host? and run the report for list of vm host, group by vm host name. sample vm01, vm02,vm03's vm host is esx01 vm04, vm05 host is esx02
Answers (3)
Is HKLM\SOFTWARE\MICROSOFT\Virtual Machine populated with the info on your VMs? If so you can write a custom inventory then run the report against that data.
What VM solution are you using?
Comments:
-
It looks like that's used for Hyper-V, Virtual PC and the like:
http://blogs.msdn.com/b/virtual_pc_guy/archive/2005/01/24/359650.aspx
http://social.technet.microsoft.com/wiki/contents/articles/219.hyper-v-how-to-find-the-host-of-a-vm.aspx - jknox 12 years ago
Looks like ESX going off of what he said above.
This key would show systems that are probably VMs/have VMware Tools installed, but it wouldn't identify what host it reports to.
HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware Tools
It appears you would have to either modify the vm/.vmx file or query vCenter directly in order to be able to identify the host of a VM.
Some links that might be helpful:
http://communities.vmware.com/message/303250
http://stackoverflow.com/questions/903253/is-there-any-possibility-to-get-vmware-host-computer-name-from-guest-workstation
http://serverfault.com/questions/151176/which-esxi-server-is-a-vm-on
http://serverfault.com/questions/181637/determining-the-name-of-the-vmware-host-of-a-vm-guest-from-the-guest
If neither of those work you can always create a .reg file with the name of the host, and have Kace inventory that. I'm not sure how many VMs you have? It could be somewhat of a hassle.
Once that is created I can help you with the report.
Comments:
-
If they have unique IP ranges, you could use regex to target those machines and then install the .reg file with a machine smart label.
http://www.kace.com/support/resources/kb/article/tool-to-assist-in-building-regex-inventory - jknox 12 years ago-
A combination of that and something like "software title = vmware tools" or "system model = VMware Virtual Platform" should narrow it down. - dugullett 12 years ago
-
Nice! It hadn't occurred to me to add software title or system model, but that would certainly add another check to make sure the .reg recipient is a VM. - jknox 12 years ago
System Model = VMware Virtual Platform
OR System Model = Virtual Machine
OR System Model = VirtualBox
This will cover all VMWare, MS HyperV, and Sun VirtualBox essentially giving you a label for vms.
You can also approach it from the opposite direction when trying to narrow it down to what you have by testing a label with the following:
Chassis type != desktop AND Chassis type != laptop
careful though: MS Hypervisor defines vm as a desktop chassis
Model: Virtual Machine
Chassis Type: desktop
But it will help you narrow what kind of devices you have and make a label accordingly. - Chad_Cooper 11 years ago