提議的解答 WMI Performance Counter Error 20513

  • Thursday, March 21, 2013 11:40 PM
     
     

    We're running SCVMM 2012 SP1 with CU1 on Windows 2008 R2 SP1. A handful of our hosts are showing this error

    Error (20513)
    The VMM management server cannot retrieve performance data for the computer VHOST1.mydomain.com. This issue may occur if the performance counter provider in the Virtual Machine Manager agent is corrupted.

    Recommended Action
    Restart the System Center Virtual Machine Manager Agent service on the computer NetVHB001.net.da.ocgov.com. This automatically restarts the performance provider. If the error persists, reinstall the VMM agent on the computer VHOST1.mydomain.com.

    I've restarted the VMM service and uninstalled / reinstalled the Agent. Still seeing the errors. Is there another fix for this that someone has been successful with?


    Orange County District Attorney

All Replies

  • Sunday, April 07, 2013 3:25 PM
     
     

    Same here.

    Anyone solved this?

    Thanks.

  • Monday, April 08, 2013 7:37 AM
     
     Proposed

    HI Sandy Wood, 

    I had an issue like this, I was able to resolve it by removing the VMHOST from the database. Maybe this can solve this issue also. 

    Keep in mind that you must remove the SCVMM agent manually from your VMHOST server.

    1. Logon SCVMM server or the SQL server. (Depending the location of the database) 2. Open SQL Server Management Studio. 3. Open the VMM database, default that is virtualManagerDB. Expand tables > open the table dbo.tbl_adhc_host and choose the option Edit Top 200 rows.

    4. Check names, you must find the missing computer name over there. Remember the HostID.

    * 5. You can try to remove the row but normally it has some references into the database that has to be removed first.

    5.A Remove the rows with the host id that you found in step 4 into the following tables, but this depends on your VMMS configuration.

     

    * All the reference tables can be found at my blog site. 

    http://hyperv2012.wordpress.com/2013/03/19/how-to-solve-system-center-2012-sp1-issue-eventid-422-source-virtual-machine-manager/

    Kind regards,

    Tristan

  • Wednesday, April 17, 2013 3:59 PM
     
     

    Hi,

    Same problem here. Tried to do Winmgmt /resyncperf and vmm agent reinstall and no change.

    Even with this warning it looks like the perfs are correctly collected and appearing in the console.

    And I won't try to directly edit the VMM DB...

    Any updates ?

    Regards.


    Supervize Me ©

  • Wednesday, April 17, 2013 4:32 PM
     
     
    I had to open a support case with Microsoft to get this one fixed. We found that that running winmgmt /salvagerepository fixed my problem. We had to run it from an Administrative cmd prompt initiated from the Server 2012 Start menu. This seemed to fix my issue.

    Orange County District Attorney

  • Thursday, April 18, 2013 8:15 AM
     
     

    Hi Sandy,

    Did you have to reinstall the agents or all went well after the wmi check ?

    Regards.


    Supervize Me ©

  • Thursday, April 18, 2013 4:25 PM
     
     
    Yes, I had to reinstall the agents to get everything to work again.

    Orange County District Attorney

  • Thursday, April 18, 2013 4:50 PM
     
     

    Sorry for the missclick...

    I'll give it a try on one of our host.

    Regards.


    Supervize Me ©