19. New in WS2012
• Parallel Live Migration
• Live Migration queuing
• Multi-select for Live Migration in Failover Cluster Manager
• Live Migration considers VM Priority
• Live Migration uses network more effectively
• It is now possible to saturate a 10 GbE link
• Live Migration is 70% faster than it was in the past
20. • Inside a cluster with traditional shared storage
• Inside a cluster with SMB storage
• Between non-clustered hosts with shared SMB storage
• Between non-clustered hosts with no shared storage
• Between hosts in different clusters without shared storage
• Between clustered and non-clustered hosts with no shared
storage and vice versa
23. Low Priority VMs use Quick Migration!
VM Priority Value
High 3000
Medium 2000
Low 1000
No Autostart 0
24.
25.
26.
27. New in WS2012
• Live Storage Migration
• Move the Storage of a running VM
• Move storage between CSVs
• Move from CSV to SMB Share or vice versa
• Live Migration without Shared Storage
• Great feature for “Cluster onboarding”
• Possibility to move VM & storage between Clusters
28. 1. Reads/writes go to source VHD (or VHDX)
• During most of the move operation
2. Disk contents are copied to the new destination VHD
• While reads/writes occur on source VHD
3. Disk writes are mirrored to both source & destination VHDs
• After initial disk copy is complete
• Virtual outstanding disk changes are replicated
4. VM Live Migration is initiated
• After source and destination VHDs are completely synchronized
• Using same process as Live Migration
5. Storage Migration completion
• Once VM is running successfully on the destination server
• The files on the source server are deleted
29.
30.
31.
32.
33.
34. • Live Migration within cluster
• No need to enable Live Migration in the host settings
• Live Migration between hosts or clusters
• You need to enable Live Migration in the host settings
• Two authentication types
• CredSSP (Credential Security Provider)
http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-CSSP%5D.pdf
• Quick and dirty
• You can only push from the server you are logged into
• Not from other server or management console
• Kerberos authentication
• Allows authorized Hyper-V administrators to run LM from any domain member
• Not required to log into host to push a VM
35. • In the GUI
• Enable the advanced view in ADUC
• Edit the properties of the host’s computer account
• Edit the Delegation tab
• Add the required computer accounts
• Add the required service types to delegate
• Reboot the host that you just modified the computer object of
• In PowerShell
http://www.aidanfinn.com/?p=13711
36.
37.
38.
39.
40.
41. • Identical to VMware Raw Device Mapping
• Live Migration in Windows Server 2012 does not support
pass-through disks: http://support.microsoft.com/kb/2834898
• Why use pass-through disks when you have VHDX?
Save StateCreate VM on the targetWrite VM memory to shared storageMove virtual machineMove storage connectivity from source host to target host via EthernetRestore saved state on targetRunQuick Migration in WS2008 to move an offline (saved state) virtual machineOnly one virtual machine at a time could be move between two cluster nodesService downtime depends on RAM size and disk speedRequirement for Failover ClusteringNo support for queuing in Failover ClusteringTake snapshot of running VMCopy base VHDs to target while VM is runningAfter completion of copy, save state VMExport VM configurationCopy snapshot files and exported configuration files to targetDelete VM and virtual disks from sourceImport VM configurationMerge snapshot files back into base VHDResume saved state VM
VM State/Memory TransferCreate VM on the targetCopy memory pages from source to target via EthernetFinal State TransferPause virtual machineMove storage connectivity from source host to target host via EthernetUn-pause & Run
.
Live migration of virtual machines is a key Hyper-V feature in Windows Server 2008 R2. Hyper-V in Windows Server 2012 introduces the following live migration improvements: Faster and simultaneous migration. Live migrations are now able to utilize higher network bandwidths (up to 10 Gigabit) to complete migrations faster. You can also perform multiple simultaneous live migrations to enable you to move many virtual machines in a cluster quickly. These changes allow you to implement high levels of mobility and flexibility in private cloud solutions.Live migration outside of a clustered environment. In Windows Server 2012, you can configure a virtual machine so that it is stored on an SMB file share. You can then perform a live migration on this running virtual machine between non-clustered servers running Hyper-V, while the virtual machine’s storage remains on the central SMB share. This allows users to gain the benefits of virtual machine mobility without having to invest in the clustering infrastructure if they do not need guarantees of availability in their environment. (Hyper-V with SMB storage can also be configured with Failover Clustering if you do require high availability. For information about different configurations of Hyper-V with SMB storage, see Deploy Hyper-V over SMB.)You can also perform a live migration of a virtual machine between two non-clustered servers running Hyper-V when you are only using local storage for the virtual machine. (This is sometimes referred to as a “shared nothing” live migration. In this case, the virtual machines storage is mirrored to the destination server over the network, and then the virtual machine is migrated, while it continues to run and provide network services. For instructions, see Configure and Use Live Migration on Non-clustered Virtual Machines. This functionality allows live migration in the most basic deployments and in more advanced scenarios, such as performing a live migration for a virtual machine between multiple, separate clusters to load balance across an entire data center.
Live migration of virtual machines is a key Hyper-V feature in Windows Server 2008 R2. Hyper-V in Windows Server 2012 introduces the following live migration improvements: Faster and simultaneous migration. Live migrations are now able to utilize higher network bandwidths (up to 10 Gigabit) to complete migrations faster. You can also perform multiple simultaneous live migrations to enable you to move many virtual machines in a cluster quickly. These changes allow you to implement high levels of mobility and flexibility in private cloud solutions.Live migration outside of a clustered environment. In Windows Server 2012, you can configure a virtual machine so that it is stored on an SMB file share. You can then perform a live migration on this running virtual machine between non-clustered servers running Hyper-V, while the virtual machine’s storage remains on the central SMB share. This allows users to gain the benefits of virtual machine mobility without having to invest in the clustering infrastructure if they do not need guarantees of availability in their environment. (Hyper-V with SMB storage can also be configured with Failover Clustering if you do require high availability. For information about different configurations of Hyper-V with SMB storage, see Deploy Hyper-V over SMB.)You can also perform a live migration of a virtual machine between two non-clustered servers running Hyper-V when you are only using local storage for the virtual machine. (This is sometimes referred to as a “shared nothing” live migration. In this case, the virtual machines storage is mirrored to the destination server over the network, and then the virtual machine is migrated, while it continues to run and provide network services. For instructions, see Configure and Use Live Migration on Non-clustered Virtual Machines. This functionality allows live migration in the most basic deployments and in more advanced scenarios, such as performing a live migration for a virtual machine between multiple, separate clusters to load balance across an entire data center.
The Credential Security Support Provider (CredSSP) Protocol enables an application to securely delegate a user's credentials from a client to a target server. This protocol first establishes an encrypted channel between the client and the target server by using Transport Layer Security (TLS) (as specified in [RFC2246]). The CredSSP Protocol uses TLS as an encrypted pipe; Live migration of virtual machines is a key Hyper-V feature in Windows Server 2008 R2. Hyper-V in Windows Server 2012 introduces the following live migration improvements: Faster and simultaneous migration. Live migrations are now able to utilize higher network bandwidths (up to 10 Gigabit) to complete migrations faster. You can also perform multiple simultaneous live migrations to enable you to move many virtual machines in a cluster quickly. These changes allow you to implement high levels of mobility and flexibility in private cloud solutions.Live migration outside of a clustered environment. In Windows Server 2012, you can configure a virtual machine so that it is stored on an SMB file share. You can then perform a live migration on this running virtual machine between non-clustered servers running Hyper-V, while the virtual machine’s storage remains on the central SMB share. This allows users to gain the benefits of virtual machine mobility without having to invest in the clustering infrastructure if they do not need guarantees of availability in their environment. (Hyper-V with SMB storage can also be configured with Failover Clustering if you do require high availability. For information about different configurations of Hyper-V with SMB storage, see Deploy Hyper-V over SMB.)You can also perform a live migration of a virtual machine between two non-clustered servers running Hyper-V when you are only using local storage for the virtual machine. (This is sometimes referred to as a “shared nothing” live migration. In this case, the virtual machines storage is mirrored to the destination server over the network, and then the virtual machine is migrated, while it continues to run and provide network services. For instructions, see Configure and Use Live Migration on Non-clustered Virtual Machines. This functionality allows live migration in the most basic deployments and in more advanced scenarios, such as performing a live migration for a virtual machine between multiple, separate clusters to load balance across an entire data center.
Register the Service Principal Name for Microsoft Virtual System Migration service. setspn -S "Microsoft Virtual System Migration Services\\Servername" Servernamesetspn -S "Microsoft Virtual System Migration Services\\Servername.fqdn" ServernameAfter running those commands you will see the ‘Microsoft Virtual System Migration Service” in the list of services that you can add for delegation using Kerberos.Lesson learned: first join the Hyper-V server to Active Directory and after the server is joined you can enable the Hyper-V role.
Pass Through Disks are still supported... Pass through disks are still supported with Windows Server 2012 Hyper-V Live Migration (just like they were with WindowsServer 2008 R2 Hyper-V) as long as the migration of a clustered VM and the pass through disk is managed by the cluster. For migrations outside of a cluster, such as:Shared Nothing Live Migration orUsing standalone hosts with file on a SMB share (without clustering enabled)…pass through disks aren’t supported because the pass through disk doesn’t have a way to move between hosts. However, take a step back and ask yourself why you need a pass through disk at all. In the past, the primary reason for using a pass through disk is because the workloadrequired storage greater than 2 TB. With Windows Server 2012 Hyper-V, we now support virtual disks up to 64 TB per virtual disk (32 times anyone else) which obviates the need for a pass through disk altogether.Jeff Woolsey, Windows Server & CloudWSV_GUY 11/16/2012