Archive for Maj 2014
Microsoft System Center 2012 R2 VMM Update Rollup 2 and failed performance counters (Assigned Memory/Demanded Memory set to 0)
Strange thing happened after System Center 2012 R2 Virtual Machine Manager Rollback Update 2 – most fields with dynamic performance counters were not updated at all.
It looked like this:
- reboot of Hyper-V hosts and/or SCVMM 2012 R2 instance (no changes)
- refresh all host and virtual machines (no changes)
- remove host from SCVMM console and re-add with ‚Reassociate with this host’ option – It looks like re-installing VMM agents worked.
But in production environment, removing and re-adding all hosts is quite risky bussiness (and what about library and template servers?), so maybe we will try to force re-install scvmm agents?
Let’s look for a most recent one
As you can see on 2014-04-28 with Rollback Update 2 agent has changed to version (3.2.7634.0) but was not refreshed or upgraded on all hosts. I decided to do it manually.
Quick Solution:
- Copy vmmagent.msi from 3.2.7634.0 directory to a Hyper-V host or shared network path (for me it was users’s home mounted disk).
- RDP to Hyper-V host or do it in any remote execute way you want –
- execute (on Hyper-V host) :
wmic product where name='Microsoft System Center Virtual Machine Manager Agent (x64)' call uninstall
- execute (on Hyper-V host) :
msiexec /i your_path_to_files\vmmAgent.msi
or
msiexec /i your_path_to_files\vmmAgent.msi /passive - Wait few minutes (5-10)
- Goto SCVMM, choose Hyper-v host, choose ‚Properties/Status’, click ‚Refresh’
- Wait few minutes (5-10)
- Refresh host and virtual machines.
Dear Microsoft. I couldn’t find a proper way to do it with GPO (update failed without removing agent first) or any other way. Do you understand that doing it with a dozens or hundreds of Hyper-V host is not funny, and in a kinda way is crooked thinking?