Storage Informer
Storage Informer

Windows Server 2008 Hyper-V Import and Export

by on Jul.13, 2009, under Storage

Windows Server 2008 Hyper-V Import and Export

In the coming few days I&aposm going to be looking at some of the continuous integration capabilities in the current version of Team Foundation Server. I have been using Windows Server 2008 Hyper-V virtualization for some time to explorer capabilities in existing software along with beta software and so I began by creating a new virtual machine for the Team Foundation Server.

Using Windows Server 2008 SP2 as both the host and virtualized operating systems I configured the virtual machine with SQL Server 2008 SP1 and Team Foundation Server SP1.

With the Hyper-V virtual machine created it was time to export the virtual machine on my workstation such that I can import the virtual machine on my laptop.

Once the virtual machine has been shutdown and is no longer running you can right click on the virtual machine and select the Export… menu. You&aposll then be presented with the Export Virtual Machine dialog as shown here.

You should provide an export path and leave the Export only the virtual machine configuration checkbox unchecked. Once the export is complete you can backup the virtual machine or copy it to another Windows Server 2008 machine where it can be imported.

With the exported virtual machine copied to the destination machine the Import Virtual Machine… link on the Actions pane is then used to bring the virtual machine into the new Hyper-V environment.

You&aposll then need to browse to the import path containing the Snapshots, Virtual Hard Disks, and Virtual Machines folders along with the config.xml for the previously exported virtual machine.

Within Hyper-V all virtual machines have unique ID&aposs assigned to them so that the names of the virtual machines do not need to be unique themselves although it is good practice to keep them unique. We&aposll leave the Reuse old virtual machine ID&aposs checkbox unchecked and then Import the virtual machine.

Once the import is completed you&aposll see the virtual machine listed in the Hyper-V Manager and you&aposll be able to run the virtual machine as shown here. It is worth noting that the original virtual machine was setup on a quad-core extreme edition machine with 8Gb of memory and the destination machine is a dual-core machine with only 4Gb of memory.


:, , , , , , , , , , ,

Leave a Reply

Powered by WP Hashcash

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...