VMM Service Crashes Repeatedly

In this case sysadmins were patching with latest firmware and drivers one of the Hyper V cluster hosts, due to unexpected server reboots. HPE support has recommended patching the server DL 380 Gen8 with latest firmware and drivers. So, latest PSP from HPE has been downloaded, and drivers and firmwares were installed.
Few hours later, after the installation of updated drivers and firmwares on the Hyper V host, VMM console of the VMM server which was managing the host has become unavailable. Also, System Center Virtual Machine Manager service on VMM server was terminating unexpectedly and event id 7034 was logged in system event log with information:
The System Center Virtual Machine Manager service terminated unexpectedly.  It has done this 3 time(s).
Since, the event doesn't say much about why the service was crushing, VMM debug logging has to be enabled using the following article https://support.microsoft.com/en-us/help/2913445/how-to-enable-debug-logging-in-virtual-machine-manager .
After enabling debug logging, the log was showing that error was generated whenever VMM was trying to reach the affected Hyper V server using WinRM and querying the WMI, for example (content truncated):
[Microsoft-VirtualMachineManager-Debug]4,4,WsmanAPIWrapper.cs,1913,WinRM: URL: [http:\\affected.hyperv.host]… 
[Microsoft-VirtualMachineManager-Debug]4,1,WsmanAPIWrapper.cs,3148,Retrieving underlying WMI error to throw. Got string ...
So, going back to the "updated" server and checking the update log, I've found that HPE Insight Management WBEM Providers were updated, and checked the following HPE article https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-a00053606en_us .
If Hyper-V is installed before Downgrade/Upgrade/fresh installation of HPE WBEM Providers, run the following steps after installing HPE WBEM Providers:
  • net stop vmms
  • mofcomp %SYSTEMROOT%\System32\WindowsVirtualizationUninstall.mof
  • mofcomp %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof
  • net start vmms
This will restore the Msvm_ classes under root\interop namespace that had been overwritten by HPE WBEM Providers.
After recompiling the "original" mof files, VMM functionality was back, and VMM was able to query the affected Hyper V host.

I hope this article will save some of your "precious" admin time in debugging of this kind of combination of Hyper V, HPE Updates and VMM, and … Happy patching :)

5 comments:

  1. Do you require HP printer setup for your mac operating system? Is your printer driver not suitable for macOS? Then visit the 123.hp.com/setup to get the software and driver for better functioning of your printer. You can also call our expert HP support team for services.

    ReplyDelete
  2. Hi this is SaiVijay, I'am from Chennai. I'am a technical writer for a digital marketing company in Chennai for more than five years. And its my own passion to choose this field. I have to write a creative articles, novels, documents. My hobbies are drawing, playing foot ball and playing cricket also. My most favorite one is "Be Tvastra" which one is the most memorable one in my works. I have suggest you to read the articles.
    Digital Marketing Company in Chennai
    Digital Marketing Agency in Chennai
    SEO services in Chennai
    SEO company in Chennai
    Web Design Company in Chennai
    Web Development Company in Chennai
    top 10 digital marketing companies in chennai
    digital marketing companies in chennai
    best digital marketing agency in chennai
    digital marketing companies in anna nagar
    seo services company in chennai
    Best SEO Companies In Chennai
    cheap seo in chennai

    ReplyDelete
  3. According to Stanford Medical, It's really the SINGLE reason this country's women live 10 years longer and weigh an average of 42 pounds less than we do.

    (Just so you know, it really has NOTHING to do with genetics or some secret exercise and absolutely EVERYTHING around "how" they eat.)

    BTW, What I said is "HOW", and not "what"...

    Click on this link to uncover if this brief questionnaire can help you release your true weight loss possibilities

    ReplyDelete
  4. Do you realize there is a 12 word phrase you can communicate to your partner... that will trigger intense feelings of love and instinctual attractiveness to you deep within his heart?

    That's because hidden in these 12 words is a "secret signal" that fuels a man's instinct to love, cherish and protect you with all his heart...

    12 Words Will Fuel A Man's Love Impulse

    This instinct is so hardwired into a man's mind that it will drive him to try better than before to love and admire you.

    In fact, fueling this dominant instinct is so binding to having the best possible relationship with your man that the second you send your man one of the "Secret Signals"...

    ...You'll soon find him expose his soul and mind to you in a way he never experienced before and he'll recognize you as the one and only woman in the galaxy who has ever truly tempted him.

    ReplyDelete

Checking Cisco WSA For New Updates Availablity

In this post I will share my PowerShell code for querying the availability of new updates for Cisco WSA (Web Security Virtual Appliance). U...