Book Image

Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to

By : Santhosh Sivarajan
Book Image

Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to

By: Santhosh Sivarajan

Overview of this book

Migrating to a new server involves a lot of decision making and planning. Windows Server 2012 comes with exciting new features and ease of use. This book will help you migrate to your new server in no time. "Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to" provides you with many practical and real world scenarios in a step-by-step guide. It is designed to lead you through the entire process of migration.Beginning with an introduction to Windows Server 2012, the author then takes you through the installation and configuration of the server, before continuing on to migrate the existing services to Windows Server and how to decommission old servers. The ‚Äúhow-to‚Äù migration scenarios described are based on the author's own field experiences, guaranteeing real-world solutions. The scenarios include Active Directory, enabling a Remote Desktop, Print Server, and Hyper-V migration details. From the planning to  theimplementation phase, "Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to" is your comprehensive guide for completing migration solutions.
Table of Contents (7 chapters)

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:

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:

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.

  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.

  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.

  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.

  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