Virtual Machine Discovery MP for Operations Manager 2007

This MP extends existing discovery of virtual machines by Operations Manager and Essentials to include VMware guests. The MP will update the “IsVirtualMachine” property of the Windows Computer object to TRUE for VMware guests. Also disables and replaces the existing discovery rule that sets this value to false for non-MS VMs.

Works with OpsMgr 2007 SP1 and R2.

13 thoughts on “Virtual Machine Discovery MP for Operations Manager 2007

  1. Peter Nilsson

    What about the references in this MP, should one update the versionnumbers to match the currently installed packs before import or maybe it doesn´t matter?, for example:


    Microsoft.Windows.Library
    6.0.6278.0 31bf3856ad364e35

    Sincerely
    Peter

  2. Ryan Taylor

    I am truly interested in making this work and would like to know if there is an update available? I am currently checking various machines I know to be VMware guests, some show VM as true while others do not.

    Can you point me in the right direction to help resolve this?

  3. MadHatter

    Ryan, what version of VMware are you running? The MP runs modifies the default WMI query in the original MP to the following:

    SELECT * FROM Win32_BaseBoard WHERE Manufacturer <> “Microsoft Corporation” OR Manufacturer <> “VMware, Inc.”

    Run this on the affected machines and let’s see if it comes back with a match. If not, perhaps we can update the MP to accomodate your environment.

  4. cbean

    Just a heads up on this MP; If you have servers in your environment that you’ve converted to VMs from physical boxes, the baseboard property isn’t always changed to VMWare, Inc. In those cases, the VMs will show up as physical servers due to the Virtual.Machine.DiscoverIsVirtulMachineFalse discovery. Interestingly enough, the ‘true’ discovery queries the system manufacturer (which is VMWare, Inc. even on converted servers), but the false discovery queries the Baseboard manufacturer property. In our environment, I just disabled the ‘false’ discovery.

  5. Richard Kinser

    On a VMWare VM, made from scratch, I still get Intel as the BaseBoard Manufacturer, I think this may be by default.

    Discovery seems to be hit or miss though. But definitely, the P2V servers don’t show up as virtual machines using this MP.

  6. Richard Kinser

    Figured out what was causing this MP to be hit or miss.<br /><br />The WMI Query for setting IsVirtualMachine to false should be changed from:<br /><br />SELECT * FROM Win32_BaseBoard WHERE Manufacturer &lt;&gt; &quot;Microsoft Corporation&quot; OR Manufacturer &lt;&gt; &quot;VMware, Inc.&quot;<br /><br />to:<br /><br />SELECT * FROM Win32_BaseBoard WHERE Manufacturer &lt;&gt; &quot;Microsoft Corporation&quot; AND Manufacturer &lt;&gt; &quot;VMware, Inc.&quot;

    I actually changed mine to use Win32_ComputerSystem instead of Win32_BaseBoard because Manufacturer under Win32_BaseBoard was almost always some form of "Intel" instead of "VMWare, Inc.".

  7. Richard Kinser

    Figured out what was causing this MP to be hit or miss.

    The WMI Query for setting IsVirtualMachine to false should be changed from:

    SELECT * FROM Win32_BaseBoard WHERE Manufacturer <> "Microsoft Corporation" OR Manufacturer <> "VMware, Inc."

    to:

    SELECT * FROM Win32_ComputerSystem WHERE Manufacturer <> "Microsoft Corporation" AND Manufacturer <> "VMware, Inc."

    I used Win32_ComputerSystem instead of Win32_BaseBoard because Manufacturer under Win32_BaseBoard was "Intel Corporation" on all my VMWare VMs.

  8. Jason Fare

    I modified the WMI Queries based on the BPA and to ensure I got the Hyper-V guests updated too. Thanks for this as it was very helpful.
    Virtual.Machine.DiscoverIsVirtualMachineFalse
    SELECT Manufacturer FROM Win32_ComputerSystem WHERE Manufacturer <> "Microsoft Corporation" AND Manufacturer <> "VMware, Inc."

    Discover.IsVirtualMachine.True
    SELECT Manufacturer FROM Win32_ComputerSystem WHERE Manufacturer = "VMware, Inc." OR Manufacturer = "Microsoft Corporation"</

  9. Dominique

    Hello,

    I imported the MP but where is(are) the list of machines with their new attributes VM or Physical?

    the MP is showing in the Administration > management Pack list.

    I am using VMware

    I tried “Discovered Inventory (Computer) but it seems all are still mixed and I am not able to personalized the view to show the new attribute.

    What is(are) the nest step(s)?

    Thanks,
    Dom

  10. Pingback: FAQ: How can I tell which servers are physical or virtual in SCOM? - Kevin Holman's System Center Blog - Site Home - TechNet Blogs

  11. Pingback: How can I tell which servers are physical or virtual in SCOM? – Kevin Holman's Blog

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.