Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


November 2008

Steps to Migrate VMs from Virtual Server 2005 to Hyper-V

Avoid the gotchas and have a smooth migration with this simple guide
RSS
Subscribe to Windows IT Pro | See More Windows OSs Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Executive Summary: The common Virtual Hard Disk (VHD) format makes it possible to move virtual machines (VMs) from Microsoft Virtual Server 2005 to Hyper-V. You can avoid some problems by removing Virtual Machine Additions from the guest and using a share on the Hyper-V server to copy over the VHD image. Use Hyper-V Manager's New Virtual Machine Wizard to create a new VM, add Hyper-V networking, and attach the migrated VHD to the new Hyper-V VM.

You’ve probably heard a lot about how much better Microsoft’s new hypervisor-based Hyper-V virtualization is than Microsoft Virtual Server 2005’s hosted virtualization. You’ve also probably heard that the Virtual Hard Disk (VHD) format shared between them makes it possible to move virtual machines (VMs) from Virtual Server 2005 to Hyper-V. However, there are a few gotchas that you need to look out for along the way. Here are the 10 essential steps to migrating your Virtual Server 2005 VMs to Hyper-V.

1. Make sure the guest OS is at the correct service pack level— Windows Server 2003 is undoubtedly the most common guest OS, but you need to make sure you’ve installed SP2 before you migrate. You can find the list of all supported Hyper-V guest OSs, and their service pack levels where appropriate, at www.microsoft.com/windowsserver2008/en/us/hyperv-supported-guest-os.aspx.

2. Uninstall Virtual Machine Additions—If you don’t remove the Virtual Machine Additions component from the VM guest, you might be stuck with an uninstallable program that prevents you from later installing Hyper-V’s integration components. You avoid this error if you’ve installed Virtual Server 2005 R2 SP2, but it’s safer just to remove the component before migrating the VM. You should also note the VM’s configuration if you don’t already know it.

3. Shut down the VM—With the preliminaries out of the way, you’re ready to move the VM. First, shut down the VM using the Shut Down option on the Start menu inside the guest. Be sure you shut down the OS instead of saving its state. After the guest OS has shut down, power off the VM from Virtual Server Manager.

4. Set up a share on the Hyper-V server—VMs are typically too big to copy on standard media such as USB drives or DVDs. The easiest way I’ve found is just to share the directory on the Hyper-V system on which you store your Hyper-V VHDs.

5. Copy the VHD to the target Hyper-V system—After creating the share, copy the .vhd file to the Hyper-V system. Depending on the size of the file and the speed of the disk subsystem, this process could take a couple minutes. For one-off migrations, I usually use Windows Explorer; if I’m moving multiple VHDs, I use Robocopy.

6. Create a new Hyper-V VM—When you’ve got the .vhd file on the Hyper-V system, you might think you’re finished, but you aren’t. The VHD contains the stored OS and data for the guest, but it doesn’t contain the VM configuration information, such as how much memory the VM has or how many hard disks or virtual network adapters it has. Your best course to move this information is to select New, Virtual Machine from the Actions pane of the Hyper-V Manager to start the New Virtual Machine Wizard.

7. Add Hyper-V networking to the new VM—You connect the new VM to the correct network through the wizard. The Virtual Server 2005 virtual networking configuration isn’t migrated as part of the .vhd image. On the New Virtual Machine Wizard’s Configure Networking page, select the Hyper-V virtual network to which you want your VM’s virtual network adapter connected.

8. Attach the migrated VHD to the new Hyper-V VM—The trick to migrating the old VHD to Hyper-V lies in linking the .vhd file to the new Hyper-V VM that you’ve created. On the New Virtual Machine Wizard’s Connect Virtual Hard Disk page, select Use an existing virtual hard disk, then point the new VM to the VHD you copied from Virtual Server 2005 by entering or browsing to the VHD’s path.

9. Start the new VM—After completing the wizard, you can start the new Hyper-V VM. Don’t be surprised if you’re greeted by the annoying Windows Activation screen. Nothing has really changed in the guest, but this screen prevents you from seamlessly moving VMs between Virtual Server and Hyper-V.

10. Install Hyper-V integration components on the new VM— Although you previously selected the virtual networking configuration for the VM, you’ll need to install the Hyper-V integration components by connecting to the VM, then selecting the Action, Insert Integration Services Setup Disk from the menu to provide the guest with the drivers it needs to use Hyper-V’s new synthetic video and networking devices.

End of Article



Reader Comments
Step 2 mentions having Virtual Server R2 SP2 installed, but I don't even see it available for download. Would you be referring to KB948515?

QHRInfosys December 28, 2008 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
No Jobs, No Excitement at Apple's Last Macworld Keynote

Apple CEO Steve Jobs made the right move in skipping out on his company's last appearance at Macworld: In a Tuesday keynote address at the conference, Apple had no interesting new products to sell, opting instead to spend mind-numbing amounts of time on ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

Where is Microsoft NetMeeting in Windows XP?

...


Related Articles Hyper-V FAQs

Feature for Feature: VMware ESX Server versus Microsoft Hyper-V

Upgrading to Hyper-V RTM

Microsoft Releases Hyper-V Server Virtualization Solution

Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Virtualization Forum: Optimizing Storage, Networks, Desktops, and Security

Cloud Computing Forum: Integrating Software, Server and Storage as a Service into Your Enterprise IT Delivery Model

Virtualization Forum: Optimizing Storage, Networks, Desktops, and Security

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2009 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing