Tuesday, December 18, 2012

VMM doesn't show hosts performance

.... or Hyper-V doesn’t report performance to VMM.

One of my customers where having some issues in their development environment today, using Hyper-V in Windows Server 2012 and System Center 2012 SP1 Virtual Machine Manager (BETA).
The issue was that in the VMM console, the performance view was static, and didn’t show any changes at all.

Since I have some experience with SQL servers over the years, I was guessing there was something wrong with the performance counters on the hosts itself, since everything else was working as expected (all management operations initiated from the VMM console).

How to rebuild the performance counters in Windows Server

Open a command prompt (Run as Administrator) and fire the following commands:

1)      Lodctr /R (this will resbuild the perf counters from system backup store)

2)      Winmgmt /resyncperf (this will register the system performance libraries with WMI)

The last thing we did, just to have everything straight, was to reinstall the VMM agent on the hosts.
Remove - and add the hosts to a host group in VMM.

Once this had completed, VMM reported hosts performance as expected.

No comments: