This is provided ‘AS IS’ with no warranties, and confers no rights. Use of included samples are subject to the terms specified at Microsoft
This article is cross posted from my original post on PTS Official Blog
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
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:
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
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.
To scan computers for compliance
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.
To perform update remediations, 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 remediations 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.
See part one of this series here: Private Cloud Management with VMM 2012 (Part 1): What's new with System Center Virtual Machine Manager 2012
Before you start deploying cloud and services, we need to first start prepare the fabric.
A cloud can also host HA applications and services and we need to setup a Hyper V cluster to enable that. VMM 2012 has now introduced inbuilt capability of deploying Hyper V Clusters.
Make sure that fabric configuration meets the following prerequisites:
1. Before you deploy Hyper V cluster, you need to add the hosts in the VMM.
Also if you are not using automated storage unmasking, you need to unmask the shared storage on these hosts.
2. Go to Fabric tab and click on Create Clusters
3. Specify the cluster name and provide your domain credentials which has rights to create clusters.
4. Select the host group where your standalone Hyper V hosts are located.
5. Select the hosts which you would like to be part of the cluster and click ADD
6. Ensure that the Network cards are picked up properly.
7. Provide a cluster IP address to the respective network card.
8. Wizard should automatically detect all the unmasked LUNs on the hosts and it will give you options to format the drives as NTFS or leave it unformatted.
9. You can also enable Cluster Shared Volume from here itself.
10. Wizard will automatically configure the volume with lowest capacity as Witness disk.
11. Now you can configure Virtual Network on all the hosts in a cluster from this wizard itself, In order to do that you need to configure Logical Network on the physical network card.
12. This way you can ensure that all the hosts has an identical Virtual Network to support HA VMs
13. Now on the summary page, click on the FINISH button and your cluster is on its way.
During the cluster creation process, VMM does the following:
14. Enabling Cluster Shared Volumes
Now your Hyper V cluster is deployed and you are ready to deploy HA VMs on it.
You can also destroy the cluster using VMM console.
If you choose to destroy cluster using VMM 2012, you need to go to your Active Directory and delete the Cluster object manually.
That’s pretty much for today. In my next post, we’ll talk about update management and how VMM 2012 helps patching clustered nodes in an orchestrated manner.
I have been delivering a lot of sessions on the all-new VMM 2012 lately to both external and internal audiences, so I thought of sharing some information with our online community as well.
I am putting together a 3-part series of blog posts to cover all the aspects of VMM 2012 and how it enables Private Cloud Management. If you are new to Private Cloud concepts and its benefits, you may want to read some of my earlier posts on the same topic:
Private Cloud– Part 1
Private Cloud– Part 2
In March at the Microsoft Management Summit 2011 held in Las Vegas, we announced the public availability of VMM 2012 Beta. I know most of you are evaluating VMM 2012 in your environment and may need some guidance—hence this blog series.
When we talk about Private Cloud, we expect following benefits:
1. Reliability and predictability: We would want our application to be highly available and fault-tolerant, the remediation from failure should be simple, and it should be simple to re-start and re-deploy applications.
2. Highly automated: We want our infrastructure to be highly automated to complete tasks like provisioning new systems and configuring storage, networking, and applications on its own without any manual intervention.
3. Agility of speed: We would also expect better responsiveness and turnaround time to meet user needs. We want applications to be deployed faster, and changes to be made much easier and faster—not taking weeks to happen.
4. Focus of Applications and services: Let’s face it, at the end of the day the consumer only cares about applications and services, uptime, and quality of the service as a measure for success of your private cloud. So as a cloud consumer I would want to focus on the application rather than underlying infrastructure.
Today let’s go through a high-level overview of VMM 2012 and what kind of advanced management capabilities it brings to the table to for virtualized infrastructures and the Private Cloud.
Microsoft has made investments in 4 different areas in VMM 2012:
2. Fabric Management
3. Cloud Management: In VMM 2012, a private cloud provides the following benefits:
4. Services Management: It’s not VM Management anymore. Now with VMM you can deploy and manage multi-tier applications across multiple servers as a single unit. Scale out the service with minimal effort based on demand.
We'll discuss some of these great details in my new few blog posts and will also see how to deploy some of these. Stay tuned!