SlideShare a Scribd company logo
Poster Companion Reference:
Hyper-V Virtual Machine Mobility
Live Migration Without
Shared Storage
Live Migration with
SMB Shared Storage
Storage Migration
Live Migration with
Failover Clusters
Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 2
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.
Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 3
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
1. Understanding Live Migration
In Windows Server 2008 R2, live migration was introduced in Hyper-V—live migration with
failover clusters. It provides you with the capability to move a virtual machine from one node in
a Windows Server 2008 R2 failover cluster to another node without a perceived interruption in
service.
Live migration quickly became one of the most popular features in Hyper-V and one of the most
useful tools for managing a virtualized environment. It is very helpful to be able to migrate a
virtual machine off your server that needs maintenance, then later migrate it back when the
maintenance is complete. You can also use live migration to manage high resource utilization
periods in your environments by moving virtual machines to new servers that have greater
performance or storage capacities.
Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 4
2. New Functionality in Windows Server 2012 Live
Migration
In Windows Server 2012 Hyper-V, new functionality extends live migration beyond just live
migration with failover clusters. Now it works without any requirement for a failover cluster (live
migration without shared storage or “shared nothing” live migration), allows you to migrate
your virtual disk storage (storage migration), and works with your new SMB 3.0 file shares (live
migration with SMB shared storage).
3. Windows Server 2012 Live Migration Requirements
All types of Windows Server 2012 live migrations have the following requirements:
• Two or more servers running Windows Server 2012 with the Hyper-V role installed that:
o Support hardware virtualization.
o Use processors from the same manufacturer (for example, all AMD or all Intel)
o Are part of the same Active Directory® domain.
• Virtual machines that are configured to use virtual hard disks or virtual Fibre Channel
disks (no direct-attached storage).
• A private network for live migration network traffic.
Live migration with failover clusters has the following additional requirements:
• The Failover Clustering feature is enabled and configured.
• Cluster Shared Volume (CSV) storage in the failover cluster is enabled.
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.
Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 5
4. Live Migration Without Shared Storage
Live migration without shared storage (also known as “shared nothing” live migration) is new in
Windows Server 2012. It enables you to migrate your virtual machines and their associated
storage between servers running Hyper-V within the same domain. This kind of live migration
requires only an Ethernet connection. Note that this type of live migration does not provide high
availability—live migration with failover clusters offers this benefit with its shared storage.
Live migration without shared storage offers the following benefits:
 It allows increased flexibility of your virtual machine placements.
 It increases administrator flexibility.
 It reduces downtime for migrations across cluster boundaries.
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
live migration without shared storage using Windows PowerShell™.
It is easy to complete a live migration without shared storage operation. You use Hyper-V
Manager to select the virtual machine, and then choose the option to move the virtual machine.
A wizard guides you through the process, but you need to make a few basic decisions as you
migrate.
For example, you must decide on how to store your virtual machine on the destination server
running Hyper-V. You can move the virtual machine data to a single location, or select individual
locations for each component of your virtual machine (for example virtual hard disks). You can
Requirements:
Hyper-V
1
0
1
0
1
0
1
0
1
0
1
01
0
1
0
1
0
1
0
1
0
1
0
Source Computer Running
Hyper-V
Destination Computer
Running Hyper-V
1
0
1
0
1
0
1
0
1
0
1
0
Virtual Hard Disks (VHDs)
Configuration files
Snapshots
Hyper-V Smart Paging
Virtual machine file and data
storage can be located in one or
multiple locations.
Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 6
also choose to move only the virtual machine. If you choose this option, make sure your virtual
hard disks are on shared storage.
5. Understanding Live Migration Without Shared Storage
During the operation of live migration without shared storage, your virtual machine continues to
run while all of its storage is mirrored across to the destination server running Hyper-V. After the
Hyper-V storage is synchronized, the live migration completes its remaining tasks. Finally, the
mirroring stops and the storage on the source server is deleted.
When you perform a live migration of a virtual machine between two computers that do not
share storage, Hyper-V first performs a partial migration of the virtual machine’s storage.
Hyper-V performs the following steps:
1. Throughout most of the move operation, disk reads and writes go to the source virtual
hard disk (VHD).
2. While reads and writes occur on the
source virtual hard disk, the disk
contents are copied (or mirrored)
over the network to the new
destination virtual hard disk.
3. After the initial disk copy is complete,
disk writes are mirrored to both the
source and destination virtual hard
disks, while outstanding disk changes
are replicated.
4. After the source and destination
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 machine’s storage is migrated, the virtual machine migrates while it continues to
run and provide network services.
Source Server
Virtual Machines
VHD Stack
Source Device Destination Device
Destination Server
VHD Stack
Virtual Machines
3
2
1
4
5
Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 7
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 consumed—all without shutting down virtual machines.
In Windows Server 2008 R2, you could move a running instance of a virtual machine by using
live migration—but 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 location—on
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
machine’s virtual hard disks. If you choose to move different components, you can specify virtual
hard disks, current configuration, snapshots, and Smart Paging.
7. Understanding Storage Migration
An important thing to understand about storage migration is that you can perform storage
migration when your virtual machine is running or when it is turned off. Note that storage
migration moves the storage, but not your virtual machine state.
When you move a running virtual machine’s storage (virtual hard disks), Hyper-V performs the
following steps.
Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 8
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
the new destination virtual hard disk.
3. After the initial disk copy is complete, disk writes
are mirrored to both the source and destination
virtual hard disks while outstanding disk changes
are replicated.
4. After the source and destination virtual hard
disks are synchronized, the virtual machine
switches over to using the destination virtual
hard disk.
5. The source virtual hard disk is deleted.
8. Live Migration with Failover Clusters
Failover clustering provides your organization with protection against application and service
failure, system and hardware failure (such as CPUs, drives, memory, network adapters, and
power supplies), and site failure (which could be caused by natural disaster, power outages, or
connectivity outages).
The Windows Server Failover Clustering feature enables high-availability solutions for many
workloads, and has included Hyper-V support since Hyper-V was released. By clustering your
virtualized workloads, you can increase reliability and availability, and can enable access to your
server-based applications in times of planned or unplanned downtime.
Earlier in this guide, section 5 discussed live migration without shared storage. This is outside of
a failover cluster and does not deliver high availability. However, Windows Server 2012
continues to offer a high availability solution that uses Failover Clustering with Hyper-V.
Hyper-V live migration with failover clusters (first introduced in Windows Server 2008 R2)
enables you to move running virtual machines from one clustered server (node) running Hyper-
V to another server (node) without any disruption or perceived loss of service. Note that live
migration is initiated by the administrator and is a planned operation.
Server Running Hyper-V
Virtual
Machines
VHD Stack
Source VHD Destination VHD
3
2
1
5
4
Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 9
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
machines. It is important to remember
that live migration queuing is only
supported within a failover cluster.
As with all types of live migration, you
can initiate live migration with failover
clusters using Windows PowerShell.
9. Live Migration with SMB Shared Storage
Some customers do not need to invest in clustering hardware to meet their business objectives.
In fact, many organizations already have existing investments in simple SMB storage that they
would like to leverage. In Windows Server 2012, you can now use live migration outside a
failover cluster when your virtual machine is stored on a Server Message Block (SMB) share.
Live migration with SMB shared storage enables you to move your virtual machines between
servers running Hyper-V within the same domain while your virtual machine storage remains on
the SMB-based file server. This allows you to benefit from virtual machine mobility without
having to invest in a failover clustering infrastructure. Hosting providers and similar
environments frequently need this capability. Windows Server 2012 also supports concurrent
live migrations.
Depending on your
organizational infrastructure,
live migration operations can
be very fast—you are not
migrating your virtual storage,
so you are not moving larger
virtual hard disks across your
network.
For live migration with SMB shared storage, your virtual hard disk (VHD) is on an SMB 3–based
file server.
Shared Storage
Requirements:
Shared storage: Serial-Attached SCSI (SAS), Internet SCSI (iSCSI), Server Message Block (SMB), Fibre
Channel
Virtual Hard
Disks
Destination Computer
Running Hyper-V
Source Computer
Running Hyper-V
Virtual
Machine
Virtual
Machine
Requirements:
Hyper-V, SMB shared storage
Virtual hard disks are stored on SMB shared storage.
Source Computer
Running Hyper-V
Destination Computer
Running Hyper-V
File-based Server Storage (SMB)
Virtual
Machine
Virtual
Machine
Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 10
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 virtualization—and 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).
Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 11
10. Windows Server Component Architecture Posters
To download the Windows Server 2012 poster, see Windows Server 2012 Hyper-V Component
Architecture in the Microsoft Download Center. If you want to reference the previous
component architecture posters that relate to Hyper-V in Windows Server 2008 R2, please see
the following posters.
Windows Server 2008 R2: Hyper-V Component Architecture
The Windows Server 2008 R2: Hyper-V Component
Architecture poster provides a visual reference for
understanding key Hyper-V technologies in
Windows Server 2008 R2. It focuses on architecture,
snapshots, live migration, virtual networking,
storage, and import/export.
You can use this poster in conjunction with the
previously published Windows Server 2008 R2 Feature Components Poster.
Windows Server 2008 R2 Hyper-V Component Architecture (with Service
Pack 1)
This Windows Server 2008 R2 Hyper-V Component
Architecture (with Service Pack 1) poster provides a
visual reference for understanding key Hyper-V
technologies in Windows Server 2008 R2 with
Service Pack 1. It focuses on architecture,
snapshots, live migration, virtual networking,
storage, RemoteFX®, and Dynamic Memory.
You can also use this poster in conjunction with the previously published Windows Server 2008
R2 Feature Components Poster.
Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 12
Windows Server 2008 R2 Feature Components Poster
The Windows Server 2008 R2 Feature
Components Poster provides a visual
reference for understanding key
technologies in Windows
Server 2008 R2. It focuses on Active
Directory® Domain Services, Hyper-V,
Internet Information Services, Remote
Desktop Services (including Virtual
Desktop Infrastructure (VDI)),
BranchCache®, and DirectAccess technologies. In addition, updates to core file services and
server management are illustrated.
You can use this poster in conjunction with the Windows Server 2008 and Windows Server 2008
R2 component posters.
Remote Desktop Services Component Architecture Poster
The Remote Desktop Services
Component Poster provides a visual
reference for understanding key
Remote Desktop Services technologies
in Windows Server 2008 R2. It explains
the functions and roles of Remote
Desktop Session Host, Remote Desktop
Virtualization Host, Remote Desktop
Connection Broker, Remote Desktop
Web Access, Remote Desktop Gateway,
Remote Desktop Licensing, and RemoteFX.
You can use this poster in conjunction with the Windows Server 2008 and Windows
Server 2008 R2 component posters.

More Related Content

PPTX
Microsoft Windows Server 2012 R2 Hyper V server overview
PPTX
Hyper V in Windows Server 2012
PDF
Microsoft India - Windows Server 2008 R2 Hyper - V Live Migration Whitepaper
ODP
Advantages of HyperV over vSphere 5.1
PDF
Hypervisor comparison 201212
PDF
VMware Paravirtualization
PPT
Microsoft Hyper V Server 2008
PPTX
NIC 2013 - VM Mobility
Microsoft Windows Server 2012 R2 Hyper V server overview
Hyper V in Windows Server 2012
Microsoft India - Windows Server 2008 R2 Hyper - V Live Migration Whitepaper
Advantages of HyperV over vSphere 5.1
Hypervisor comparison 201212
VMware Paravirtualization
Microsoft Hyper V Server 2008
NIC 2013 - VM Mobility

What's hot (20)

PDF
Upgrading from WinS 2008/2008 R2 to WinS 2012
PPTX
Virtual Machines - Virtual Box
PPTX
Principles of Virtualization - Introduction to Virtualization Software
PPTX
What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009
PPTX
Windows server 8 and hyper v
PDF
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
PDF
VMware ThinApp 4.5
PPTX
Vmware thin app architecture
PPTX
5. IO virtualization
PDF
Hyper-V Best Practices & Tips and Tricks
PPTX
Hypervisor
PDF
Virtualization workshop - part 1
PDF
30 important-virtualization-vmware-interview-questions-with-answers
PPTX
Configure and Manage Virtualization on different Platforms
PPT
XenServer, Hyper-V, and ESXi - Architecture, API, and Coding
PPTX
Hyper-V overview and building test network - harold.wong
PPTX
Intro to Deploying and administering server virtualization with Hyper-V and S...
PPTX
Virtualization using VMWare Workstation
PPTX
Windows Server 2012 r2
PDF
12 christian ferber xen_server_advanced
Upgrading from WinS 2008/2008 R2 to WinS 2012
Virtual Machines - Virtual Box
Principles of Virtualization - Introduction to Virtualization Software
What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009
Windows server 8 and hyper v
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
VMware ThinApp 4.5
Vmware thin app architecture
5. IO virtualization
Hyper-V Best Practices & Tips and Tricks
Hypervisor
Virtualization workshop - part 1
30 important-virtualization-vmware-interview-questions-with-answers
Configure and Manage Virtualization on different Platforms
XenServer, Hyper-V, and ESXi - Architecture, API, and Coding
Hyper-V overview and building test network - harold.wong
Intro to Deploying and administering server virtualization with Hyper-V and S...
Virtualization using VMWare Workstation
Windows Server 2012 r2
12 christian ferber xen_server_advanced
Ad

Viewers also liked (6)

PPTX
2.1 monitor manage_operate_final
PDF
Hyper-V Networking
PPTX
1.2 build cloud_fabric_final
PDF
Hyper-V Virtual Machine Mobility
PPTX
1.4 build your_svc_cat_final
PPTX
Windows Server 2012 R2 Jump Start - AIP
2.1 monitor manage_operate_final
Hyper-V Networking
1.2 build cloud_fabric_final
Hyper-V Virtual Machine Mobility
1.4 build your_svc_cat_final
Windows Server 2012 R2 Jump Start - AIP
Ad

Similar to Hyper-V Virtual Machine Mobility (20)

PPTX
4. install and configure hyper v
PPTX
Hyper-V’s Virtualization Enhancements - EPC Group
PPTX
Introduction to Hyper-V
PDF
Windows server 2012 r2 Hyper-v Component architecture
PPTX
What's new in Windows Server 2012 R2
PPTX
VMWARE Professionals - Availability and Resiliency
PPTX
Virtualization concepts in cloud computing
PPTX
Секреты виртуализации - Windows Server 2012 Hyper-V
PPTX
VMready Virtual Machine-aware Networking for HP
PPTX
Virtualization Cloud computing technology
PPSX
Virtualization & tipping point
PDF
VMware vSphere vMotion: 5.4 times faster than Hyper-V Live Migration
PPTX
Microsoft Virtualization for VMware Professionals
PPTX
Keynote talk on Windows 8 - Jeff Stokes
PDF
Live VM Migration
PPTX
Hyper-V High Availability and Live Migration
PDF
Virtualization terminology
PDF
V terminology guide
PPTX
VIRTUALIZATION for computer science.pptx
PPTX
Virtualizacao de Servidores - Windows
4. install and configure hyper v
Hyper-V’s Virtualization Enhancements - EPC Group
Introduction to Hyper-V
Windows server 2012 r2 Hyper-v Component architecture
What's new in Windows Server 2012 R2
VMWARE Professionals - Availability and Resiliency
Virtualization concepts in cloud computing
Секреты виртуализации - Windows Server 2012 Hyper-V
VMready Virtual Machine-aware Networking for HP
Virtualization Cloud computing technology
Virtualization & tipping point
VMware vSphere vMotion: 5.4 times faster than Hyper-V Live Migration
Microsoft Virtualization for VMware Professionals
Keynote talk on Windows 8 - Jeff Stokes
Live VM Migration
Hyper-V High Availability and Live Migration
Virtualization terminology
V terminology guide
VIRTUALIZATION for computer science.pptx
Virtualizacao de Servidores - Windows

More from Paulo Freitas (20)

PPTX
VMWARE Professionals - Foundation Hybrid Clouds and Costs
PPTX
VMWARE Professionals - Cross-Plattform Mangement
PPTX
VMWARE Professionals - App Management
PPTX
VMWARE Professionals - Intro to System Center 2012 SP1
PPTX
VMWARE Professionals - Security, Multitenancy and Flexibility
PPTX
VMWARE Professionals - Storage and Resources
PPTX
VMWARE Professionals - Intro and Scale
PPTX
Hyper-V Integration with other System Center 2012 Components
PPTX
Hyper-V Integration with System Center 2012 Virtual Machine Manager
PPTX
Hyper-V Management
PPTX
Hyper-V Storage
PPTX
Hyper-V Networking
PPTX
Hyper-V Infrastructure
PPTX
Windows Server 2012 R2 Jump Start - WEB
PPTX
Windows Server 2012 R2 Jump Start - Intro
PPTX
Windows Server 2012 R2 Jump Start - Intro
PPTX
Multi site Clustering with Windows Server 2008 Enterprise
PDF
SQL Server 2008 R2 System Views Map
PDF
Share Point 2010 Developer Platform Poster
PDF
Remote Desktop Services Component Architecture
VMWARE Professionals - Foundation Hybrid Clouds and Costs
VMWARE Professionals - Cross-Plattform Mangement
VMWARE Professionals - App Management
VMWARE Professionals - Intro to System Center 2012 SP1
VMWARE Professionals - Security, Multitenancy and Flexibility
VMWARE Professionals - Storage and Resources
VMWARE Professionals - Intro and Scale
Hyper-V Integration with other System Center 2012 Components
Hyper-V Integration with System Center 2012 Virtual Machine Manager
Hyper-V Management
Hyper-V Storage
Hyper-V Networking
Hyper-V Infrastructure
Windows Server 2012 R2 Jump Start - WEB
Windows Server 2012 R2 Jump Start - Intro
Windows Server 2012 R2 Jump Start - Intro
Multi site Clustering with Windows Server 2008 Enterprise
SQL Server 2008 R2 System Views Map
Share Point 2010 Developer Platform Poster
Remote Desktop Services Component Architecture

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
cuic standard and advanced reporting.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
KodekX | Application Modernization Development
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Big Data Technologies - Introduction.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
Unlocking AI with Model Context Protocol (MCP)
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
cuic standard and advanced reporting.pdf
The AUB Centre for AI in Media Proposal.docx
Network Security Unit 5.pdf for BCA BBA.
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
MYSQL Presentation for SQL database connectivity
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
KodekX | Application Modernization Development
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Big Data Technologies - Introduction.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Spectral efficient network and resource selection model in 5G networks
Review of recent advances in non-invasive hemoglobin estimation
Chapter 3 Spatial Domain Image Processing.pdf
Digital-Transformation-Roadmap-for-Companies.pptx

Hyper-V Virtual Machine Mobility

  • 1. Poster Companion Reference: Hyper-V Virtual Machine Mobility Live Migration Without Shared Storage Live Migration with SMB Shared Storage Storage Migration Live Migration with Failover Clusters
  • 2. Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 2 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.
  • 3. Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 3 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 1. Understanding Live Migration In Windows Server 2008 R2, live migration was introduced in Hyper-V—live migration with failover clusters. It provides you with the capability to move a virtual machine from one node in a Windows Server 2008 R2 failover cluster to another node without a perceived interruption in service. Live migration quickly became one of the most popular features in Hyper-V and one of the most useful tools for managing a virtualized environment. It is very helpful to be able to migrate a virtual machine off your server that needs maintenance, then later migrate it back when the maintenance is complete. You can also use live migration to manage high resource utilization periods in your environments by moving virtual machines to new servers that have greater performance or storage capacities.
  • 4. Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 4 2. New Functionality in Windows Server 2012 Live Migration In Windows Server 2012 Hyper-V, new functionality extends live migration beyond just live migration with failover clusters. Now it works without any requirement for a failover cluster (live migration without shared storage or “shared nothing” live migration), allows you to migrate your virtual disk storage (storage migration), and works with your new SMB 3.0 file shares (live migration with SMB shared storage). 3. Windows Server 2012 Live Migration Requirements All types of Windows Server 2012 live migrations have the following requirements: • Two or more servers running Windows Server 2012 with the Hyper-V role installed that: o Support hardware virtualization. o Use processors from the same manufacturer (for example, all AMD or all Intel) o Are part of the same Active Directory® domain. • Virtual machines that are configured to use virtual hard disks or virtual Fibre Channel disks (no direct-attached storage). • A private network for live migration network traffic. Live migration with failover clusters has the following additional requirements: • The Failover Clustering feature is enabled and configured. • Cluster Shared Volume (CSV) storage in the failover cluster is enabled. 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.
  • 5. Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 5 4. Live Migration Without Shared Storage Live migration without shared storage (also known as “shared nothing” live migration) is new in Windows Server 2012. It enables you to migrate your virtual machines and their associated storage between servers running Hyper-V within the same domain. This kind of live migration requires only an Ethernet connection. Note that this type of live migration does not provide high availability—live migration with failover clusters offers this benefit with its shared storage. Live migration without shared storage offers the following benefits:  It allows increased flexibility of your virtual machine placements.  It increases administrator flexibility.  It reduces downtime for migrations across cluster boundaries. 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 live migration without shared storage using Windows PowerShell™. It is easy to complete a live migration without shared storage operation. You use Hyper-V Manager to select the virtual machine, and then choose the option to move the virtual machine. A wizard guides you through the process, but you need to make a few basic decisions as you migrate. For example, you must decide on how to store your virtual machine on the destination server running Hyper-V. You can move the virtual machine data to a single location, or select individual locations for each component of your virtual machine (for example virtual hard disks). You can Requirements: Hyper-V 1 0 1 0 1 0 1 0 1 0 1 01 0 1 0 1 0 1 0 1 0 1 0 Source Computer Running Hyper-V Destination Computer Running Hyper-V 1 0 1 0 1 0 1 0 1 0 1 0 Virtual Hard Disks (VHDs) Configuration files Snapshots Hyper-V Smart Paging Virtual machine file and data storage can be located in one or multiple locations.
  • 6. Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 6 also choose to move only the virtual machine. If you choose this option, make sure your virtual hard disks are on shared storage. 5. Understanding Live Migration Without Shared Storage During the operation of live migration without shared storage, your virtual machine continues to run while all of its storage is mirrored across to the destination server running Hyper-V. After the Hyper-V storage is synchronized, the live migration completes its remaining tasks. Finally, the mirroring stops and the storage on the source server is deleted. When you perform a live migration of a virtual machine between two computers that do not share storage, Hyper-V first performs a partial migration of the virtual machine’s storage. Hyper-V performs the following steps: 1. Throughout most of the move operation, disk reads and writes go to the source virtual hard disk (VHD). 2. While reads and writes occur on the source virtual hard disk, the disk contents are copied (or mirrored) over the network to the new destination virtual hard disk. 3. After the initial disk copy is complete, disk writes are mirrored to both the source and destination virtual hard disks, while outstanding disk changes are replicated. 4. After the source and destination 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 machine’s storage is migrated, the virtual machine migrates while it continues to run and provide network services. Source Server Virtual Machines VHD Stack Source Device Destination Device Destination Server VHD Stack Virtual Machines 3 2 1 4 5
  • 7. Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 7 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 consumed—all without shutting down virtual machines. In Windows Server 2008 R2, you could move a running instance of a virtual machine by using live migration—but 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 location—on 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 machine’s virtual hard disks. If you choose to move different components, you can specify virtual hard disks, current configuration, snapshots, and Smart Paging. 7. Understanding Storage Migration An important thing to understand about storage migration is that you can perform storage migration when your virtual machine is running or when it is turned off. Note that storage migration moves the storage, but not your virtual machine state. When you move a running virtual machine’s storage (virtual hard disks), Hyper-V performs the following steps.
  • 8. Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 8 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 the new destination virtual hard disk. 3. After the initial disk copy is complete, disk writes are mirrored to both the source and destination virtual hard disks while outstanding disk changes are replicated. 4. After the source and destination virtual hard disks are synchronized, the virtual machine switches over to using the destination virtual hard disk. 5. The source virtual hard disk is deleted. 8. Live Migration with Failover Clusters Failover clustering provides your organization with protection against application and service failure, system and hardware failure (such as CPUs, drives, memory, network adapters, and power supplies), and site failure (which could be caused by natural disaster, power outages, or connectivity outages). The Windows Server Failover Clustering feature enables high-availability solutions for many workloads, and has included Hyper-V support since Hyper-V was released. By clustering your virtualized workloads, you can increase reliability and availability, and can enable access to your server-based applications in times of planned or unplanned downtime. Earlier in this guide, section 5 discussed live migration without shared storage. This is outside of a failover cluster and does not deliver high availability. However, Windows Server 2012 continues to offer a high availability solution that uses Failover Clustering with Hyper-V. Hyper-V live migration with failover clusters (first introduced in Windows Server 2008 R2) enables you to move running virtual machines from one clustered server (node) running Hyper- V to another server (node) without any disruption or perceived loss of service. Note that live migration is initiated by the administrator and is a planned operation. Server Running Hyper-V Virtual Machines VHD Stack Source VHD Destination VHD 3 2 1 5 4
  • 9. Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 9 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 machines. It is important to remember that live migration queuing is only supported within a failover cluster. As with all types of live migration, you can initiate live migration with failover clusters using Windows PowerShell. 9. Live Migration with SMB Shared Storage Some customers do not need to invest in clustering hardware to meet their business objectives. In fact, many organizations already have existing investments in simple SMB storage that they would like to leverage. In Windows Server 2012, you can now use live migration outside a failover cluster when your virtual machine is stored on a Server Message Block (SMB) share. Live migration with SMB shared storage enables you to move your virtual machines between servers running Hyper-V within the same domain while your virtual machine storage remains on the SMB-based file server. This allows you to benefit from virtual machine mobility without having to invest in a failover clustering infrastructure. Hosting providers and similar environments frequently need this capability. Windows Server 2012 also supports concurrent live migrations. Depending on your organizational infrastructure, live migration operations can be very fast—you are not migrating your virtual storage, so you are not moving larger virtual hard disks across your network. For live migration with SMB shared storage, your virtual hard disk (VHD) is on an SMB 3–based file server. Shared Storage Requirements: Shared storage: Serial-Attached SCSI (SAS), Internet SCSI (iSCSI), Server Message Block (SMB), Fibre Channel Virtual Hard Disks Destination Computer Running Hyper-V Source Computer Running Hyper-V Virtual Machine Virtual Machine Requirements: Hyper-V, SMB shared storage Virtual hard disks are stored on SMB shared storage. Source Computer Running Hyper-V Destination Computer Running Hyper-V File-based Server Storage (SMB) Virtual Machine Virtual Machine
  • 10. Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 10 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 virtualization—and 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).
  • 11. Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 11 10. Windows Server Component Architecture Posters To download the Windows Server 2012 poster, see Windows Server 2012 Hyper-V Component Architecture in the Microsoft Download Center. If you want to reference the previous component architecture posters that relate to Hyper-V in Windows Server 2008 R2, please see the following posters. Windows Server 2008 R2: Hyper-V Component Architecture The Windows Server 2008 R2: Hyper-V Component Architecture poster provides a visual reference for understanding key Hyper-V technologies in Windows Server 2008 R2. It focuses on architecture, snapshots, live migration, virtual networking, storage, and import/export. You can use this poster in conjunction with the previously published Windows Server 2008 R2 Feature Components Poster. Windows Server 2008 R2 Hyper-V Component Architecture (with Service Pack 1) This Windows Server 2008 R2 Hyper-V Component Architecture (with Service Pack 1) poster provides a visual reference for understanding key Hyper-V technologies in Windows Server 2008 R2 with Service Pack 1. It focuses on architecture, snapshots, live migration, virtual networking, storage, RemoteFX®, and Dynamic Memory. You can also use this poster in conjunction with the previously published Windows Server 2008 R2 Feature Components Poster.
  • 12. Poster Companion Reference: Hyper-V Virtual Machine Mobility Page 12 Windows Server 2008 R2 Feature Components Poster The Windows Server 2008 R2 Feature Components Poster provides a visual reference for understanding key technologies in Windows Server 2008 R2. It focuses on Active Directory® Domain Services, Hyper-V, Internet Information Services, Remote Desktop Services (including Virtual Desktop Infrastructure (VDI)), BranchCache®, and DirectAccess technologies. In addition, updates to core file services and server management are illustrated. You can use this poster in conjunction with the Windows Server 2008 and Windows Server 2008 R2 component posters. Remote Desktop Services Component Architecture Poster The Remote Desktop Services Component Poster provides a visual reference for understanding key Remote Desktop Services technologies in Windows Server 2008 R2. It explains the functions and roles of Remote Desktop Session Host, Remote Desktop Virtualization Host, Remote Desktop Connection Broker, Remote Desktop Web Access, Remote Desktop Gateway, Remote Desktop Licensing, and RemoteFX. You can use this poster in conjunction with the Windows Server 2008 and Windows Server 2008 R2 component posters.