Migrating VMs between hosts

Hyper-V uses a process known as Live-Migration to migrate virtual machines between Hyper-V Servers without requiring downtime. The process utilizes shared storage (fiber channel, iSCSI, or CIFS) to host the virtual machines, and then copies the running VM process from one server to the other.

Getting ready

In this recipe we will be using a CIFS share to host our virtual machines. This allows us to keep a centralized store of virtual machines and easily share between the hosts. Additionally, this works using traditional Ethernet technology and doesn't require an expensive storage infrastructure:

Getting ready

Note

Due to Kerberos Delegation ...

Get Windows Server 2012 Automation with PowerShell Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.