VMM agent disappeared on hyper-v host during update
This week I was working with a customer environment and after successfully upgraded their test VMM environment to UR4 it was now time for the production environment.
The UR4 installation went fine and without issues. After that I wanted to update the agents on the Hyper-V hosts. I used PowerShell of course and all agents except one was successfully updated and started reporting to VMM.
I started to examine the one that failed and could see in jobs that it had timed-out:
![Screen Shot 2014-11-28 at 15.50.15](http://vniklas.djungeln.se/wp-content/uploads/2014/11/Screen-Shot-2014-11-28-at-15.50.15.png)
And checking on the host I could see that the uninstall of the old agent had been done as the vmm agent service was gone. As this was a hyper-v host in a cluster and the cluster was slightly over allocated I could not remove the node from vmm and then add it in again so,
![Screen Shot 2014-11-28 at 15.43.50](http://vniklas.djungeln.se/wp-content/uploads/2014/11/Screen-Shot-2014-11-28-at-15.43.50-1024x263.png)
Based on this post I went for the way to try to do a manual install on the host and copied the latest agent that i could find in the vmm folder C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\agents\Amd64\3.2.7768.0 to the host c:\temp
![Screen Shot 2014-11-28 at 15.43.10](http://vniklas.djungeln.se/wp-content/uploads/2014/11/Screen-Shot-2014-11-28-at-15.43.10-1024x358.png)
Important during the installation wizard was to let the perimiter host dialog checkbox to be unchecked as this was a host already in vmm and also in the same domain.
![Screen Shot 2014-11-28 at 15.44.42](http://vniklas.djungeln.se/wp-content/uploads/2014/11/Screen-Shot-2014-11-28-at-15.44.42-1024x780.png)
And doing a check on the services after the install was finished I could see that the VMM agent was installed and now running
![Screen Shot 2014-11-28 at 15.45.36](http://vniklas.djungeln.se/wp-content/uploads/2014/11/Screen-Shot-2014-11-28-at-15.45.36-1024x269.png)
Once that was completed I could do a refresh in VMM and the host was reporting again and could be managed 🙂