hyper-v live migration and live storage migration benjamin armstrong senior program manager lead...
TRANSCRIPT
![Page 1: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/1.jpg)
Hyper-V Live Migration and Live Storage MigrationBenjamin ArmstrongSenior Program Manager Lead
VIR314
![Page 2: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/2.jpg)
Mobility Core to Private Cloud
Virtualization is the basis of a Microsoft private cloudVirtual machine mobility is key an efficient and responsive private cloud deployment
![Page 3: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/3.jpg)
Agenda
Live Migration
![Page 4: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/4.jpg)
Live Migration without Infrastructure
You can even live migrate virtual machines between two Hyper-V servers with no shared infrastructure
Need to be in the same domainEntire virtual machine moved (VHDs + running state) with no downtime
![Page 5: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/5.jpg)
Hyper-V Server 1 Hyper-V Server 2
VMMS VMMS
Virtual Machine
Virtual Hard Disks
Negotiation
![Page 6: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/6.jpg)
Hyper-V Server 1 Hyper-V Server 2
VMMS VMMS
Virtual Machine
Virtual Hard Disks
LM Connection
![Page 7: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/7.jpg)
Hyper-V Server 1 Hyper-V Server 2
VMMS VMMS
Virtual Machine
Virtual Hard Disks
LM Connection
Storage Migration
![Page 8: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/8.jpg)
Hyper-V Server 1 Hyper-V Server 2
VMMS VMMS
Virtual Machine
Virtual Hard Disks
LM Connection
Virtual Hard DisksStorage Mirror
![Page 9: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/9.jpg)
Hyper-V Server 1 Hyper-V Server 2
VMMS VMMS
Virtual Machine
Virtual Hard Disks
LM Connection
Virtual Hard DisksStorage Mirror
Live Migration
![Page 10: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/10.jpg)
Hyper-V Server 1 Hyper-V Server 2
VMMS VMMS
Virtual Machine
Virtual Hard Disks
LM Connection
Virtual Hard DisksStorage Mirror
Live Migration
![Page 11: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/11.jpg)
Hyper-V Server 1 Hyper-V Server 2
VMMS VMMS
Virtual Machine
Virtual Hard Disks
LM Connection
Virtual Hard Disks
![Page 12: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/12.jpg)
Hyper-V Server 1 Hyper-V Server 2
VMMS VMMS
Virtual Machine
LM Connection
Virtual Hard Disks
![Page 13: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/13.jpg)
Hyper-V Server 1 Hyper-V Server 2
VMMS VMMS
Virtual Machine
Virtual Hard Disks
![Page 14: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/14.jpg)
Demo
Live Migration
![Page 15: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/15.jpg)
PowerShell
Move-VM "File Server 1" "benarm-epsilon" ` -IncludeStorage –DestinationStoragePath ` "J:\File Server 1"
![Page 16: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/16.jpg)
Agenda
Live Migration using SMB
![Page 17: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/17.jpg)
Live Migration with SMB
Storage is not moved, just the running virtual machine
Like live migration in a cluster, without high availabilityRequires SMB 3.0
![Page 18: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/18.jpg)
Setting up SMB for Live Migration
There are a couple of steps involved in getting this rightBoth users and computers need access to the share
![Page 19: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/19.jpg)
Setting up the share – Share Permissions
![Page 20: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/20.jpg)
Setting up the share – Share Permissions
![Page 21: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/21.jpg)
Setting up the share – Share Permissions
![Page 22: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/22.jpg)
Setting up the share – File Permissions
![Page 23: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/23.jpg)
Setting up the share – File Permissions
![Page 24: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/24.jpg)
Setting up the share
![Page 25: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/25.jpg)
Setting up the share
![Page 26: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/26.jpg)
PowerShell
MD X:\VMSICACLS.EXE X:\VMS --% /Grant benjamin:(CI)(OI)FICACLS.EXE X:\VMS --% /Grant epsilon$:(CI)(OI)FICACLS.EXE X:\VMS --% /Grant zeta$:(CI)(OI)FICACLS.EXE X:\VMS /Inheritance:RNew-SmbShare -Name VMS -Path X:\VMS –FullAccess ` benjamin, epsilon$, zeta$
![Page 27: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/27.jpg)
Demo
Live Migration - SMB
![Page 28: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/28.jpg)
PowerShell
Move-VM "File Server 2" "benarm-epsilon"
![Page 29: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/29.jpg)
Agenda
Live Migration and Clusters
![Page 30: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/30.jpg)
Live Migration Improvements
Live Migration in Windows Server 2008 R2 is greatbut how to make it better?
![Page 31: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/31.jpg)
Live Migration Improvements
Live Migration in Windows Server 2008 R2 is greatbut how to make it better?
FasterConcurrent live migrationDeeper integration into clusteringEtc…
![Page 32: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/32.jpg)
Live Migration between clusters
You can move a virtual machine between two clusters
Follow these steps:Remove the virtual machine from the source clusterUse Hyper-V Manager to live migrate the virtual machine to a node in the destination clusterJoin the virtual machine to the destination cluster
Or just use SCVMM 2012 SP1Virtual machine never needs to be turned off
However, it is not protected from hardware failure during the course of the migration.
![Page 33: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/33.jpg)
Demo
Live Migration between Clusters
![Page 34: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/34.jpg)
Agenda
Live Migration Security
![Page 35: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/35.jpg)
Configuring Live Migration
![Page 36: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/36.jpg)
Ensure Live Migration Networks are Secure
Physically SecureIPSec / other encryption options
![Page 37: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/37.jpg)
Managing security and authentication
This gets very complicated once more than two computers are involved
And sometimes even when there are only two computers involved
![Page 38: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/38.jpg)
Credentials
Understanding credential security
![Page 39: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/39.jpg)
Credentials
Understanding credential security
Credentials
![Page 40: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/40.jpg)
Understanding credential security
Credentials
![Page 41: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/41.jpg)
How this affects Hyper-V
Live Migrate
![Page 42: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/42.jpg)
Live Migrate
How this affects Hyper-V
Live
Migrate
![Page 43: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/43.jpg)
How this affects Hyper-V
Live Migrate a VM to me
Live Migrate
![Page 44: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/44.jpg)
How to make this work?
Two options:Allow user credentials to be shared between the Hyper-V servers – just for the purposes of live migration
Enable “Constrained Delegation” in Active Directory
Make it look like we are actually logged into the Hyper-V server that starts the live migration
PowerShell RemotingRemote DesktopSCVMM with RunAs Accounts
![Page 45: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/45.jpg)
Enabling Constrained Delegation
On the domain controller, open Active Directory Users and Computers.In the console tree, under DomainName, click Computers.Right-click the computer running Hyper-V, and then click Properties.On the Delegation tab, click Trust this computer for delegation to specified services only.Click either Use any authentication protocol or Use Kerberos only.Click Add, and then click Users and Computers.Type the name of the other computer running Hyper-V, and then click OK.From the list of available services, select Microsoft Virtual System Migration Service and CIFS and then click OK.
![Page 46: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/46.jpg)
![Page 47: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/47.jpg)
![Page 48: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/48.jpg)
![Page 49: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/49.jpg)
![Page 50: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/50.jpg)
![Page 51: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/51.jpg)
More Resources
Taylor Brown’s Blog:http://blogs.msdn.com/b/taylorb/
Official Documentation:http://technet.microsoft.com/en-us/library/jj134199
![Page 52: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/52.jpg)
PowerShell Remoting with CredSSPOn the server:
Enable-WSManCredSSP Server
On the clientEnable-WSManCredSSP Client –DelegateComputer <FQDN of the server>
Establish the session: New-PSSession <FQDN of the Server> -Authentication CredSSP -Credential <User> | Enter-PSSession
Or just run a command:ICM <FQDN of the Server> {<command to run>} -Authentication CredSSP -Credential <User>
![Page 53: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/53.jpg)
Remote Desktop
Hopefully I do not need to tell you how to use this
![Page 54: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/54.jpg)
Agenda
Storage Migration
![Page 55: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/55.jpg)
Storage Migration
Move any part of a running virtual machine with no need to turn it off
VHDsConfig filesSnapshotsEtc…
Perform storage upgrades with no downtimeRespond to I/O bottlenecks with no downtime
![Page 56: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/56.jpg)
Hyper-V
VHD Software
Storage Migration Architecture
Virtual Machine
Source Device Destination DeviceVHD
![Page 57: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/57.jpg)
Hyper-V
VHD Software
Storage Migration Architecture
Virtual Machine
Source Device Destination DeviceVHD VHD
![Page 58: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/58.jpg)
Hyper-V
VHD Software
Storage Migration Architecture
Virtual Machine
Source Device Destination DeviceVHD VHD
![Page 59: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/59.jpg)
Hyper-V
VHD Software
Storage Migration Architecture
Virtual Machine
Source Device Destination DeviceVHD VHD
![Page 60: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/60.jpg)
Hyper-V
VHD Software
Storage Migration Architecture
Virtual Machine
Source Device Destination DeviceVHD
![Page 61: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/61.jpg)
Demo
Storage Migration
![Page 62: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/62.jpg)
PowerShell
Move-VMStorage "File Server 3" ` -DestinationStoragePath ` "K:\File Server 3"
![Page 63: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/63.jpg)
Storage Migration – Performance
Data is moved with an un-buffered file copy operation
XCOPY /JCauses a lot of I/O churn
![Page 64: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/64.jpg)
Configuring Storage Migration
![Page 65: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/65.jpg)
Agenda
Importing virtual machines
![Page 66: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/66.jpg)
Improvements to VM Import
Basic building block of mobilityImprovements:
1. Allow you to import a raw XML file2. Provide ability to “fix up” virtual machine during
import
![Page 67: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/67.jpg)
Demo
Importing a VM
![Page 68: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/68.jpg)
![Page 69: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/69.jpg)
PowerShell
PS C:\> Import-VM "J:\Import\76F5DA48-5181-4E75-83ED-FB2F65B56C8F.xml" -Copy -VhdSourcePath "J:\Import"Import-VM : Unable to import virtual machine due to configuration errors. Please use Compare-VM to repair the virtual machine.At line:1 char:1+ import-vm "C:\Users\benarm\Desktop\Import\76F5DA48-5181-4E75-83ED-FB2F65B56C8F.x ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Import-VM], VirtualizationOperationFailedException + FullyQualifiedErrorId : Microsoft.HyperV.PowerShell.Commands.ImportVMCommand
![Page 70: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/70.jpg)
PowerShell
PS C:\> $VMCompatReport = Compare-vm "J:\Import\76F5DA48-5181-4E75-83ED-FB2F65B56C8F.xml" -Copy -VhdSourcePath "J:\Import"PS C:\> $VMCompatReport
VM : Microsoft.HyperV.PowerShell.VirtualMachineOperationType : ImportVirtualMachineDestination : ZetaPath : J:\Import\76F5DA48-5181-4E75-83ED-FB2F65B56C8F.xmlSnapshotPath :VhdDestinationPath : G:\Users\Public\Documents\Hyper-V\Virtual Hard DisksVhdSourcePath : J:\ImportIncompatibilities : {33012, 14420}
![Page 71: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/71.jpg)
PowerShell
PS C:\> $VMCompatReport.Incompatibilities | ft message
Message-------Could not find Ethernet switch 'Public'.Cannot assign the specified number of processors for virtual machine 'A random virtual machine' is out of range. The range is 1 through 12. (Virtual machine ID 76F5DA48-5181-4E75-83ED-FB2F65B56C8F)
![Page 72: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/72.jpg)
PowerShell
PS C:\> Set-VMProcessor -VM $VMCompatReport.VM -count 2PS C:\> get-vmnetworkadapter -VM $VMCompatReport.VM | disconnect-vmnetworkadapterPS C:\> import-vm $VMCompatReport
Name State CPUUsage(%) MemoryAssigned(M) ---- ----- ----------- ----------------- Virtual machine to import Off 0 0
![Page 73: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/73.jpg)
Agenda
Comparing Technologies
![Page 74: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/74.jpg)
Zero Downtime
Protects against hardware failure
Protects against site failure
Protects against data corruption
Automatic response to failure
Workgroup compatible
Live Migration J L L L L LStorage Migration J L L L L JImport / Export L L L L L JClustering K J K L J LHyper-V Replica L J J K L JBackup L J K J L J
![Page 75: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/75.jpg)
Related Content
VIR312: What's New in Windows Server 2012 Hyper-V, Part 1
VIR315: What's New in Windows Server 2012 Hyper-V, Part 2
VIR321: Enabling Disaster Recovery using Hyper-V Replica
VIR413: Hyper-V Performance, Scale & Architecture Changes
Find Me Later At @VirtualPCGuy
![Page 76: Hyper-V Live Migration and Live Storage Migration Benjamin Armstrong Senior Program Manager Lead VIR314](https://reader033.vdocument.in/reader033/viewer/2022051614/5517a6b555034645368b5c9d/html5/thumbnails/76.jpg)
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to
be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS
PRESENTATION.