Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to

You're reading from   Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to A step-by-step guide to installing, configuring, and updating to Windows Server 2012

Arrow left icon
Product type Paperback
Published in Jan 2013
Publisher Packt
ISBN-13 9781849687447
Length 84 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Santhosh Sivarajan Santhosh Sivarajan
Author Profile Icon Santhosh Sivarajan
Santhosh Sivarajan
Arrow right icon
View More author details
Toc

Hyper-V migration (Should know)

As you know, in Windows Server 2008 or Windows Server 2008 R2, an export file was a requirement before it can be imported onto a new Hyper-V server. I am sure you are all familiar with the following error message in Windows Server 2008/R2 if the export file is not available:

Hyper-V migration (Should know)

In Windows Server 2012, Microsoft supports importing virtual machines (VM) into a Hyper-V host without an export (.exp) file. In other words, you can use raw Hyper-V files from the source server. The import and export feature is also available.

Installation and configuration of Windows Server 2012 Hyper-V is beyond the scope of this book. So for this migration scenario, the assumption is that the target Windows Server 2012 Hyper-V servers are in place and running. Before you begin the export and import process, you need to make sure that the local or network share has enough storage space to accommodate these virtual machines. Another common issue related to virtual machine migration is the permission issues. The export/import folder must have full permission for the user and computer account.

The following diagram provides high level task details:

Hyper-V migration (Should know)

We will start the migration process without an export file.

How to do it...

  1. Shutdown the source Hyper-V guest machine.
  2. Log on to the target Windows Server 2012 Hyper-V server and open Hyper-V Manager from the Start screen.
  3. Right-click on the Hyper-V host server node and click on the Import Virtual Machine option.
    How to do it...
  4. In the Before You Begin window click on Next.
  5. In the Locate Folder window, specify the location of the existing virtual machine from the source server. Click on Next.
    How to do it...
  6. On the Select Virtual Machine window, select the correct server name. Click on Next.
  7. You will see the following options on the Choose Import Type window:
    1. Register the virtual machine in-place (use the existing unique ID)
    2. Restore the virtual machine (use the existing unique ID)
    3. Copy the virtual machine (create a new unique ID)
  8. Click on Next.
    How to do it...
  9. In the Choose Folders for Virtual Machine files window, you can change the default location of the Configuration, Snapshot store, and Smart Paging folders. Click on Next.

    Note

    The Smart Paging is part of the dynamic memory feature in Hyper-V 3.0. It provides an efficient memory management option during the server restart process if the minimum memory is less than the startup memory.

  10. In the Choose Folders to Store Virtual Hard Disks window, select the location of the hard disks. Click on Next.
  11. Review the configuration details on the Summary window. Click on Finish. The import process will start and you will see the progress in the Hyper-V manager console.

For some reason, you cannot directly import the Virtual Machines from the source server, the export and import method is also available in Hyper-V 3.0. The following steps explain the procedure of exporting a virtual machine from an existing Hyper-V server:

  1. Log on to the source Hyper-V server. Open Hyper-V Manager console.
  2. Shutdown the Hyper-V guest server.
  3. From the Virtual Machines column, select the virtual server you want to export.
  4. From the Action pane, select Export.
    How to do it...
  5. In the Export path window, enter the location for the export file. Click on Export.
  6. This process will generate an export (.exp) file which can be used to import virtual machines into the target Windows Server 2012 Hyper-V server.
  7. The import process is the same as mentioned previously in this recipe.
  8. Turn on the target guest machine and verify the settings.

How it works...

Depending on the network configuration, you may need to reconfigure the network settings for the new virtual server. Repeat the same procedure for the other virtual machines on the network to complete the migration.

There′s more...

If you are using VMWare, the Microsoft Virtual Machine Converter can be used to convert VMware servers into Hyper-V format. It is a standalone application and can convert the entire virtual machine, which includes the following:

  • Disk
  • Network
  • Configuration
  • Memory
  • Processor details, and so on
You have been reading a chapter from
Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to
Published in: Jan 2013
Publisher: Packt
ISBN-13: 9781849687447
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image