How does Altiris identify VMWare boxes in Inventory?
Last Updated July 21, 2009
Question How does Altiris identify VMWare boxes in Inventory? When I attempt to create a collection to exclude the Virtual Machines collection, I still end up with a number of computers in the virtual machine list.
Answer When AeXMachinv.exe runs on a computer, an API call is used to determine OS. A nsi called virtualmachine.nsi is created containing this data. This populates in the database in the Inv_AeX_VirtualMachine table.
There is a schedule task called NS.Modify.VirtualMachine Item Resource Type that runs every day that changes the resource type of the virtual computers from a computer (493435F7-3B17-4C4C-B07F-C23E7AB7781F) to a virtual Machine (2C3CB3BB-FEE9-48DF-804F-90856198B600).
For some reason there were 5 computers in the vcomputerresource table with resourcetypeguid of 2C3CB3BB-FEE9-48DF-804F-90856198B600 that are not listed in the Inv_AeX_VirtualComputer table. Deleting these computers and allowing them to repopulate the database should fix this. It should also be fixed when a CleanBeforeRun full inventory is completed.
In any case it is probably best to create your collection based upon computers in the vcomputerresource view with resourcetypeguid of 2C3CB3BB-FEE9-48DF-804F-90856198B600 rather than the Inv_AeX_VirtualMachines table.
Imported Document ID: HOWTO7194
Subscribing will provide email updates when this Article is updated. Login is required to Subscribe