Applies To: Windows Server 2008
This guide explains how to migrate virtual machines running on Virtual Server 2005 R2 Service Pack 1 (SP1) to Hyper-V. A virtual machine running on Virtual Server consists of a configuration file (.vmc) and one or more data files. These data files can include virtual hard disks (.vhd files) and other media files, such as images (.iso files) and virtual floppy disks (.vfd files). Only the .vhd file can be used by Hyper-V. All of the other files used by Virtual PC or Virtual Server are incompatible with Hyper-V.
Migrating your virtual machines that are running on Virtual Server 2005 R2 SP1 to Hyper-V is a straightforward process. To migrate, you do the following general steps:
There is no import function in Hyper-V for virtual machines running on Virtual Server and Virtual PC.
Alternatively, you can use System Center Virtual Machine Manager (VMM) to convert and manage a virtual machine running on Virtual Server 2005 R2 SP1. VMM 2008 supports migrating virtual machines running on Virtual Server 2005 to Hyper-V (the virtual machines must have Virtual Machine Additions version 13.813 or later installed). VMM 2008 uninstalls Virtual Machine Additions, upgrades the hardware abstraction layer (HAL), and installs the integration components (called “virtual guest services” in VMM). You cannot use VMM to migrate a virtual machine running in (or under) Virtual PC.
For more information about VMM, see http://go.microsoft.com/fwlink/?LinkId=135512. For more information about migrating and managing virtual machines running on Virtual Server, see Moving from Virtual Server to Virtual Machine Manager (http://go.microsoft.com/fwlink/?LinkId=135513).
For information about an alternative (unsupported) way to migrate virtual machines running under Virtual PC, see the VMC to Hyper-V Import Tool (http://go.microsoft.com/fwlink/?LinkId=135683).
Tip
You should consider not migrating virtual machines running operating systems that cannot take advantage of Hyper-V integration services. For a list of operating systems that can take advantage of Hyper-V integration services, see About Virtual Machines and Guest Operating Systems (http://go.microsoft.com/fwlink/?LinkID=128037).
For planning help and best practice advice on migrating your infrastructure to Hyper-V, see the Microsoft Assessment and Planning Toolkit (http://go.microsoft.com/fwlink/?LinkID=110948). For additional Hyper-V planning information, see the Hyper-V Planning and Deployment Guide (http://go.microsoft.com/fwlink/?LinkID=108560). You can automate some parts of your migration prep using the PowerShell Management Library for Hyper-V (http://go.microsoft.com/fwlink/?LinkId=135684).
To migrate virtual machines to Hyper-V
Follow these steps to migrate your virtual machines running on Virtual Server 2005 R2 SP1 to Hyper-V.
Caution
You can uninstall Virtual Machine Additions version 13.813 and later after you migrate the virtual machine to Hyper-V. Earlier versions of Virtual Machine Additions might fail to uninstall when started using Hyper-V.
To check the integration services version number
Note
Merging your disks can take some time. Ensure a single .vhd file is all that remains. For detailed instructions on merging your virtual hard disks, see Merge a virtual hard disk at http://go.microsoft.com/fwlink/?LinkId=135675.
The virtual machine must be shut down without being in a saved state before you can enable or disable Undo Disks. Use the Commit Undo Disks or Discard Undo Disks option to prepare the virtual hard disk for migration. The Commit Undo Disks option updates the original virtual hard disk with all changes that were stored in the undo disk file.
Undo disks in Virtual Server are similar to differencing disks. However, a differencing virtual hard disk is associated with one virtual hard disk rather than with the virtual machine, and you are not prompted to decide what to do with the changes when you shut down a virtual machine. For more information, see Using differencing disks (http://go.microsoft.com/fwlink/?LinkId=135677).
For more information about virtual machine states, see Managing virtual machine state (http://go.microsoft.com/fwlink/?LinkId=135678).
Important
If your virtual machine running on Virtual Server uses a shared SCSI bus as part of a test or development cluster, you must break your cluster, migrate one node, and move it to an alternate form of shared storage such as Internet SCSI (iSCSI) prior to migration.
Tip
For best practice recommendations for configuring your virtual machine for performance, see Performance Tuning Guidelines for Windows Server 2008 (http://go.microsoft.com/fwlink/?LinkId=135682).