Patching Hyper-V Hosts with SCVMM 2012 R2 – Part 2: WSUS Configurations

In our last article we reviewed and setup the Prerequisites. In this article, we will finish with WSUS configuration, synchronize the updates, and connect WSUS to VMM.

Synchronize WSUS Updates

Now that we have WSUS installed, we need to sync updates with Microsoft.

Start by launching the Windows Server Update Services console.

Sync Updates - 01 - Launch WSUS Console

The WSUS Console may take a moment to load, but eventually you should see the following.

Sync Updates - 02 - WSUS Console

In the menu on the left, select Options. Within the Options menu in the center, click on Products and Classifications.

Sync Updates - 03 - Options - Products and Classifications

On the Products and Classifications dialog, only enable the updates you require, then click OK. For example, if you only have Windows Server 2012 R2 Hyper-V Hosts, you will not need to sync the updates for Windows Server 2003, etc. So do not synchronize these ones. The same principal applies to the Classifications as well.

Sync Updates - 04 - Options - Products

Sync Updates - 05 - Options - Classifications

Back in the WSUS Console, select Synchronizations in the menu on the left, and  then in the Actions menu on the right, click Synchronize Now. It will take a while for the metadata from Microsoft to be sync’d with the WSUS server.

Sync Updates - 07 - Synchronizations - Complete

Now that the Updates are synchronized, we can move onto the next part.

Install WSUS Console on VMM Server

Unless you installed WSUS on the VMM server, you will need to install the WSUS Console on the VMM Management Server in order for it to be able to communicate with, and thus use WSUS for updates.

You can download the Windows Server Update Services 3.0 Service Pack 2 installation files from the following location: http://www.microsoft.com/en-us/download/details.aspx?id=5216.

Important: If you are following these steps on Windows Server 2012, you cannot install the WSUS Console with this installation file. Rather, you have to use the Add Server Roles and Features option instead (Features > Remote Server Administration Tools > Role Administration Tools > Windows Server Update Services Tools > User Interface Management Console).

Install WSUS Console on WS2012

When you run this installation file, ONLY choose the Console option, and not any server-components.

After the WSUS Console has been installed on the VMM Management Server, you will need to restart the System Center Virtual Machine Manager Service.

VMM Service

Connect VMM To WSUS

Now that we have the WSUS Console installed on the VMM Management Server, and have restarted the VMM Service, start by launching the VMM Console.

Navigate to the Fabric Workspace, expand Servers > Infrastructure and select Update Server.

VMM Console - Fabric - Update Server

Either from the top menu (via Add Resources > Update Server), or by right-clicking on Update Server (Add Update Server), launch the Add Windows Server Update Services Server dialog.

Add Resources - Update Server

Add Update Server (Right-Click)

On the Add Windows Server Update Services Server dialog, provide the details about your WSUS Server (FQDN Name, and TCP Port). If you performed the default installation of WSUS, and are using the default Web Site configuration, the TCP port should be set to 80. You can also specify to use an existing Run As Account, or provide credentials to the WSUS Server to SCVMM. After supplying all this information, click Add.

Add Windows Server Update Services Server

After the WSUS server is successfully added in SCVMM, you will be able to manage the WSUS settings from the SCVMM console (i.e. the Update Products, Classifications, etc.).

Update Server Added

Update Server Added - Console

In the next part of this series, we will Create Update Baselines and apply updates.

%d bloggers like this: