Patching of Hyper-V Hosts
Many of you may be using Hyper-V technology as the part of your move towards server virtualization. When you want to patch the Hyper-V hosts which are not equipped with a GUI (Server Core) and not connected to internet, we may want to get the help of WSUS server.
I have employed a manual patching of Windows Server 2008R2 Hyper-V host using a WSUS Server. As the first step, I have setup , configured the WSUS server as the part of the domain (See the link http://technet.microsoft.com/en-us/library/cc708574(v=ws.10).aspx) to see how to configure the Group Policy for this). I have connected my WSUS server to the internet and synced with Microsoft Repository of patches. Now everything is ready to deploy the patches to the Hyper-V Host. Cross check the WSUS console and make sure that the Hyper-V host is visible there (You may want to forcefully apply the Group Policy)
RDP to the Hyper-V Host and I’m going to work on the PowerShell console as shown below (which comes by default when you RDP the Host):
I have opted the option 5 by typing 5 and press enter.
Now the ‘Windows Script Host’ console will open and process the connection to the WSUS Server as shown below:
After a few minutes, we can see the list of available patches at the same window. Again, the program will ask to select the updates needed to install as follows:
Type the option for you from A,N or S and press Enter.
Finally, we will get the progress as shown below. Some of the updates are not found as successful. Let me try those again, after restarting the host