Note: Although the VMM 2012 SP1 product is officially called System Center 2012 Service Pack 1 - Virtual Machine Manager, I will refer to it as VMM 2012 SP1, which is bit easier and shorter to write. If I don’t mention the SP1 then I am referring Virtual Machine Manager in System Center 2012 without the service pack.
When upgrading to VMM 2012 SP1 consider the following basics:
-
You need to ensure that you fulfill the prerequisites for VMM 20120 SP1 for the OS plus tools and the database server, library server and console.
-
You can upgrade from VMM 2008 R2 to VMM 2012 (without SP1)
-
You can upgrade from VMM 2012 to VMM 2012 SP1
-
You cannot upgrade directly from VMM 2008 R2 to VMM 2012 SP1. If you are still on VMM 2008 R2 you need to upgrade to VMM 2012 first. If you are only on VMM 2008, you first need to upgrade to VMM 2008 R2 in order to upgrade to VMM 2012 and then to VMM 2012 SP1.
-
Choose your Service Account and Distributed Key Management Settings carefully. If not, you might loose encrypted data like passwords of run-as accounts.
-
There is no VMM Self-Service Portal in VMM 2012 SP1. Use App Controller as a Self-Service portal for VMM instead.
Prerequisites for VMM 2012 and VMM 2012 SP1
Now, here’s a summary of the prerequisites, separated by the server types. Be sure that you plan the prerequisites of VMM 2012 and VMM 2012 SP1 into your upgrade planning, otherwise you might get stuck during the process.
VMM Management Server:
| VMM 2012 | VMM 2012 SP1 |
| Windows Server 2008 R2 (full installation) - Standard, Enterprise, and Datacenter, SP1 | Windows Server 2012 (full installation or Server Core installation), Standard and Datacenter edition |
| Microsoft .NET Framework 3.5.1: if not installed, the VMM setup wizard will install the feature | Microsoft .NET Framework 4 is included in Windows Server 2012 |
| Windows AIK for Windows 7 (download) | Windows Assessment and Deployment Kit (ADK) for Windows 8 (download) |
Database Server:
| VMM 2012 | VMM 2012 SP1 |
| SQL Server 2008 R2 (64-bit) SP1, Standard, Enterprise or Datacenter or SQL Server 2008 (64-bit), SP2 or SP3, Standard and Enterprise | SQL Server 2008 R2 (64-bit), Service Pack 1 or Service Pack 2 - Standard, Enterprise, and Datacenter or SQL Server 2012 Enterprise, Standard (64-bit) - Service Pack 1 – All editions |
Console:
| VMM 2012 | VMM 2012 SP1 |
| Windows Server 2008 R2 Service Pack 1 or earlier (full installation) or Windows 7 Service Pack 1 or earlier | Windows Server 2008 R2 Service Pack 1 (full installation) or Windows 7 Service Pack 1 or Windows Server 2012 or Windows 8 Client |
Library Server:
| VMM 2012 | VMM 2012 SP1 |
| Minimum of Windows Server 2008 Service Pack 2 or earlier | Minimum Windows Server 2008 R2 Service Pack 1 or earlier |
Hyper-V Hosts:
| VMM 2012 | VMM 2012 SP1 |
| Windows Server 2008 R2 (full installation or Server Core-MiniShell installation) or Hyper-V Windows Server 2008 R2 or Windows Server 2008 (full installation or Server Core-MiniShell installation) | Windows Server 2008 R2 (full installation or Server Core-MiniShell installation) or Hyper-V Windows Server 2008 R2 or Windows Server 2012 (full installation or Server Core installation) |
For the requirements of VMware and Xen Server hosts see here http://technet.microsoft.com/en-us/library/gg610663.aspx
Service Account and Distributed Key Management Settings During an Upgrade
There are two settings that you need to plan carefully. The service account for VMM and the distributed key management (DKM) settings. Once you configure your VMM service account during setup, you can not change it afterwards. The same with the DKM. Basically the keys to encrypt information in the VMM database are either stored on the server locally or in Active Directory, which is called Distributed Key Management. The advantage to store the key in AD is that you can recover you VMMM installation without the need to recovery the Windows Server where VMM was installed, because the key are in AD.
Check out the Microsoft Technet information on the different scenarios for the service account and the DKM setting for the setup. Make sure that you understand this topic, and consider the scenario for high availability of VMM 2012 (SP1).
Choosing Service Account and Distributed Key Management Settings During an Upgrade - http://technet.microsoft.com/en-us/library/hh430988.aspx
Before you upgrade
- Ensure that all running VMM tasks are complete
- Not pending computer restart is waiting
- You performed a backup of the system and the database
Upgrade from VMM 2008 R2 to VMM 2012
Before you start the upgrade plan the upgrade of the systems that VMM depends on, like database server, Windows server for VMM or VMM Library server.
-
Check the prerequisites of your VMM service target systems. If you database server is not on the correct level, you might need to upgrade the database server or move the database itself during the upgrade process.
-
Check the required OS version for VMM itself. You might need to upgrade your VMM server OS to a new version during the upgrade process.
E.g. if the server you are running VMM 2008 R2 on is a Windows Server 2008 R2 and the database server is on SQL Server 2008 R2, there is no need to upgrade the Windows server or the database server first. In this situation, you can start the setup of the VMM 2012 installation and confirm that you want to upgrade to VMM 2012. This is a very straight forward installation.
If you are not on the correct OS level, you need to uninstall VMM 2008 R2 first. It’s important that when you uninstall VMM 2008 R2 you need to choose the setting to retain the VMM database. Then upgrade the OS version to a supported version and after that, install VMM 2012. During the VMM 2012 installation, choose to connect to the existing database and choose to upgrade the database to VMM 2012.
If your database server is not on the supported level, upgrade your database first or move the database to a database server with the supported level. Before you upgrade your database server or you move the database, uninstall VMM and choose the retain database option during uninstall.
Upgrade from VMM 2012 to VMM 2012 SP1
In this upgrade it’s important that the OS where VMM 2012 SP1 will be installed on is Windows Server 2012. If your VMM 2012 database is already on a SQL 2008 R2, there is no need to upgrade that first.
If you VMM 2012 installation does not use the DKM, you need to upgrade your Windows Server 2008 R2 to Windows 2012 in-place to retain your encryption keys. If you used AD to storage the DKM, you can provision a new server with Windows Server 2012 and connect to the DKM in AD again.
Remember that VMM 2012 SP1 does not support Windows Server 2003 as a library server. So you might have to upgrade that server or move the share to another Windows 2008 R2 server.
To upgrade VMM 2012 to VMM 2012 SP1 run setup.exe and follow the wizard. At the database page select existing database and configure where you VMM 2012 is located. This will upgrade the VMM 2012 database to a VMM 2012 SP1 database.
After the upgrade
After the upgrade of VMM you need to perform the following tasks:
- You might need to reassociate virtual machine hosts to VMM, in the case that you used a new VMM server instead of an upgrade.
- Update the VMM agents on the Hyper-V hosts, library server and update server (if used)
- Update VM template. During the upgrade VHD information might be lost. Also check the VLAN IDs of your logical networks in the template.
- Update driver packages. After upgrading to System Center 2012 – Virtual Machine Manager, any driver packages that were added to the VMM library in VMM 2008 R2 SP1 must be removed and added again to be correctly discovered.
- Check your VMM Library. If you have a new library server, move the files over from the older library server to the new server. Recreate you OS and hardware profiles, if you used them.
For more information on VMM upgrade see Technet: