Private Cloud Management with VMM 2012 (Part 3): Adding an update server and enable orchestrated update management
See the first two parts of this series here:
Private Cloud Management with VMM 2012 (Part 1): What's new with System Center Virtual Machine Manager 2012
Private Cloud Management with VMM 2012 (Part 2): Creation of a Hyper-V Cluster Using VMM 2012
(Post courtesy Iftekhar Hussain)
In my last blog post, we saw how to create a Hyper V Cluster using the VMM 2012 cluster creation wizard as a part of preparing a fabric for the cloud.
Virtual Machine Manager 2012 also provides a feature by which you can manage updates for your virtual machine hosts, library servers, PXE servers, the Windows Server Update Management (WSUS) server, and the VMM server itself in the VMM console.
When you perform update remediation on a host cluster, VMM orchestrates the updates, in turn placing each cluster node in maintenance mode, migrating virtual machines off the host by using intelligent placement, and then installing the updates. If the cluster supports live migration of Windows Server-based virtual machines, live migration is used. If the cluster does not support live migration, VMM saves state for the virtual machines and does not migrate them.
To manage updates in VMM 2012, you need a WSUS server
Here are the prerequisites:
- You must install the 64-bit version of Windows Server Update Server (WSUS) 3.0 Service Pack 2 (SP2).
- VMM requires a single, dedicated WSUS root server; downstream servers are not supported.
- If you install WSUS on a remote server, you must install a WSUS Administrator Console on the VMM management server and then restart the VMM service.
- Before you install the WSUS server ensure that the server meets all WSUS prerequisites described on the Windows Server Update Services 3.0 SP2 download page
Once you have configured the WSUS server, lets add the WSUS server in VMM 2012.
1. Open the Fabric workspace.
2. On the Home tab, in the Add group, click Add Resources, and then click Update Server.
3. My WSUS server name is sccm.dd181028.com, hence I have put SCCM as Computer name with port number and credentials.
4. Once the WSUS server is added, click on Synchronize to sync the WSUS updates with VMM.
5. You will all the update metadata showing on your VMM
Create Baseline
After you enable update management in VMM, you are ready to prepare for patching by configuring update baselines. An update baseline contains a set of required updates. During a compliance scan, computers that are assigned to a baseline are graded for compliance to their assigned baselines. After a computer is found noncompliant, an administrator brings the computer into compliance through update remediation.
6. Provide a Name and Description for your Baseline
7. Add the updates to your baseline against which your Hyper V hosts will be compared.
8. Assign the Baseline to the host groups.
9. Finish the wizard
10. You’ll see your newly created Baseline
To find out the compliance status for each baseline, you must scan the computer for compliance. When a computer is scanned for compliance, WSUS checks each update in the assigned update baselines to determine whether the update is applicable and, if the update is applicable, whether the update has been installed.
After a compliance scan, each update has a compliance status of Compliant, NonCompliant, Error, or Unknown.
1. In Compliance view of the Fabric workspace, select the computers that you want to scan.
2. On the Home tab, in the Compliance group, click Scan.
While the scan is in progress, the compliance status changes to Unknown. After the compliance scan completes, the computer's compliance status of each update is Compliant, NonCompliant, or Error.
Perform Update Remediation
To perform update remediation, the target computers must be noncompliant. To make a compliant computer noncompliant, you might need to use Add and Remove Programs to temporarily uninstall one or more of the updates listed in Compliance view.
On the Home tab, in the Compliance group, click Remediate. (The Remediate task is only available when the selected objects are noncompliant.)
If you select the host cluster by its cluster name, VMM orchestrates remediation of the hosts in the cluster.
VMM rolls through the host cluster, remediating one cluster node at a time. If a cluster node is compliant, VMM bypasses that node.
Before VMM begins remediating a host, it places the host in maintenance mode and migrates all virtual machines to other hosts in the cluster. If the cluster supports live migration, live migrations are performed. If the cluster does not support live migration, VMM saves state before migrating virtual machines.
If you prefer to restart the computers manually after remediation completes if any updates require a restart, select the Do not restart the servers after remediation check box.
Once the remediation is over, you’ll see your Hyper V cluster hosts as Compliant.
Hope this post was helpful for some of you who are evaluating VMM 2012 its update management feature.
In my next post, we’ll configure the rest of the fabric components like Logical Network, Storage and Load Balancers.
Stay tuned.
Iftekhar
Comments
Anonymous
January 01, 2003
You're right John! So, Upstream and Downstream are allowed on VMM! Thanks. JhonatanAnonymous
January 01, 2003
Private Cloud Management with VMM 2012 (Part 3): Adding an update server and enable orchestrated update management
thank youAnonymous
January 01, 2003
Hi, WSUS may have changed since this post? "VMM can use either a WSUS root server or a downstream WSUS server. VMM does not support using a WSUS replica server." technet.microsoft.com/.../gg610633.aspx Thanks, John