Professional Documents
Culture Documents
Poster Companion Reference - Hyper-V Virtual Machine Mobility
Poster Companion Reference - Hyper-V Virtual Machine Mobility
Storage Migration
Copyright information
This document is provided as-is. Information and views expressed in this document, including
URL and other Internet website references, may change without notice.
Some examples depicted herein are provided for illustration only and are fictitious. No real
association or connection is intended or should be inferred.
This document does not provide you with any legal rights to any intellectual property in any
Microsoft product. You may copy and use this document for your internal, reference purposes.
2013 Microsoft Corporation. All rights reserved.
Microsoft, Active Directory, BranchCache, Hyper-V, RemoteX, Windows PowerShell, and
Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
All other trademarks are property of their respective owners.
Page 2
Introduction
This document is part of a companion reference discussing the Windows Server 2012
Hyper-V Component Architecture Poster.
This document refers to the poster section titled Hyper-V Virtual Machine Mobility and
discusses new live migration features in Windows Server 2012, including live migration without
shared storage (also known as shared nothing live migration), live migration with SMB shared
storage, storage migration, and live migration with failover clusters.
1. Understanding Live Migration
2. New Functionality in Windows Server 2012 Live Migration
3. Windows Server 2012 Live Migration Requirements
4. Live Migration Without Shared Storage (Shared Nothing Live Migration)
5. Understanding Live Migration Without Shared Storage
6. Storage Migration
7. Understanding Storage Migration
8. Live Migration with Failover Clusters
9. Live Migration with SMB Shared Storage
10. Windows Server Component Architecture Posters
You can obtain the Windows Server 2012 Hyper-V Component Architecture Poster from the
Microsoft Download Center. This is a free resource. You can download it here:
http://www.microsoft.com/download/en/details.aspx?id=29189
Page 3
Two or more servers running Windows Server 2012 with the Hyper-V role installed that:
o
Use processors from the same manufacturer (for example, all AMD or all Intel)
Virtual machines that are configured to use virtual hard disks or virtual Fibre Channel
disks (no direct-attached storage).
Live migration with failover clusters has the following additional requirements:
Live migration with SMB shared storage has the following additional requirements:
All files on a virtual machine (such as virtual hard disks, snapshots, and configuration) are
stored on a Server Message Block share.
Permissions on the SMB share must be configured to grant access to the computer
accounts of all servers running Hyper-V.
Live migration without shared storage (shared nothing live migration) has no additional
requirements.
Page 4
Many administrators are using live migration without shared storage for more dynamically
evolving and managing their infrastructure. For example, if you are experiencing hardware
problems with your server running Hyper-V, you can use this kind of live migration to quickly
move the entire virtual machine to another server while you troubleshoot the original server.
Then, you can simply move it back later. There is no failover cluster and no complex detailed
configuration required.
Using live migration without
shared storage, you can also
migrate your virtual machines
between clusters, and from a
non-clustered computer into a
failover cluster. Additionally,
you can migrate virtual
machines between different
storage types. You can initiate
1
1
0 1
0
1 0
1
0 1
00
1
1
0 1
0
1 0
1
0 1
00
1
1
0 1
0
1 0
1
0 1
00
Requirements:
Hyper-V
Source Computer Running
Hyper-V
Destination Computer
Running Hyper-V
Page 5
also choose to move only the virtual machine. If you choose this option, make sure your virtual
hard disks are on shared storage.
Source Server
Destination Server
Virtual Machines
Virtual Machines
VHD Stack
VHD Stack
2
5
Source Device
Destination Device
virtual hard disks are synchronized, the virtual machine live migration is initiated,
following the same process that was used for live migration with shared storage.
5. After the live migration is complete and the virtual machine is successfully running on
the destination server, the files on the source server are deleted.
After the virtual machines storage is migrated, the virtual machine migrates while it continues to
run and provide network services.
Page 6
6. Storage Migration
In just about every organization, having the flexibility to manage storage without affecting the
availability of your virtual machine workloads is a key capability. IT administrators require this
flexibility to perform maintenance on storage subsystems, upgrade storage appliance firmware
and software, respond to dynamic requests for organization resources, and balance loads as
capacity is consumedall without shutting down virtual machines.
In Windows Server 2008 R2, you could move a running instance of a virtual machine by using
live migrationbut you were not able to move the virtual machine storage while the virtual
machine was running. However, in Windows Server 2012 Hyper-V, you are now able to move the
virtual machine storage while it is running using the new functionality called storage migration.
Hyper-V storage migration enables you to move virtual machine storage (virtual hard disks
(VHDs)) without downtime, and enables several new usage scenarios. For example, you can add
more physical disk storage to a non-clustered computer or a Hyper-V failover cluster, and then
move the virtual machines to the new storage while the virtual machines continue to run. You
have two options to implement storage migration. You can perform a storage migration using
the Hyper-V Manager (using the GUI) or through Windows PowerShell and associated scripts.
The requirements for storage migration are Windows Server 2012 with the Hyper-V role
installed and virtual machines configured to use virtual hard disks for storage.
Storage migration allows you to migrate a complete virtual machine to another locationon
either your current server or on shared storage (for example, an SMB 3.0 file share). It offers you
a large variety of migration options. These include moving your virtual machine data to a single
location, moving your virtual machine data to different locations, or just moving your virtual
machines virtual hard disks. If you choose to move different components, you can specify virtual
hard disks, current configuration, snapshots, and Smart Paging.
Page 7
1. Throughout most of the move operation, disk reads and writes go to the source virtual
hard disk.
2. While reads and writes occur on the source
virtual hard disk, the disk contents are copied to
VHD Stack
are replicated.
Source VHD
Destination VHD
Page 8
In Windows Server 2012, you can improve on this migration process by selecting multiple virtual
machines within the failover cluster and performing multiple simultaneous live migrations of
those virtual machines.
You can also select and queue live
migrations of multiple virtual
Virtual
Machine
Virtual Hard
Disks
Source Computer
Running Hyper-V
Requirements:
Virtual
Machine
Destination Computer
Running Hyper-V
Shared Storage
Shared storage: Serial-Attached SCSI (SAS), Internet SCSI (iSCSI), Server Message Block (SMB), Fibre
Channel
Depending on your
organizational infrastructure,
live migration operations can
Virtual
Machine
Virtual
Machine
Virtual hard disks are stored on SMB shared storage.
Source Computer
Running Hyper-V
network.
Destination Computer
Running Hyper-V
File-based Server Storage (SMB)
For live migration with SMB shared storage, your virtual hard disk (VHD) is on an SMB 3based
file server.
Page 9
Once you begin this migration, the actual running state of your virtual machine is migrated from
one server to another. It is important to note that the connection to the SMB storage is
migrated, but your virtual hard disk never moves.
As with live migration without shared storage (shared nothing live migration), Windows Server
2012 makes it easy to migrate your virtual machine on an SMB file server. You can start the live
migration using Hyper-V Manager (which is GUI-based), or you can initiate it using Windows
PowerShell (see the move-vm cmdlet).
There are a few things to keep in mind if you want to use live migration with SMB shared
storage. Apart from having servers running Hyper-V that are part of the same Active Directory
domain, you should keep all the virtual machine files (such as virtual hard disks, snapshots, and
configuration files) stored on a SMB 3-based file server. In addition, you need to make sure you
configure permissions on your SMB file server correctly. This means that you need to grant
access to the computer accounts of all your servers running Hyper-V. Also, you need to use
Windows Server 2012 on servers that support hardware virtualizationand these servers need
to use processors from the same manufacturer (AMD-V or Intel VT)(same as the requirement in
Windows Server 2008 and Windows Server 2008 R2).
Page 10
You can also use this poster in conjunction with the previously published Windows Server 2008
R2 Feature Components Poster.
Page 11
Page 12