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:
Note
Due to Kerberos Delegation restrictions, you must be actively logged on to the server initiating the VM migration tasks. Otherwise, an error will be returned regarding insufficient permissions on the CIFS share or Hyper-V Server.
How to do it...
Carry out the following steps to migrate VMs between hosts:
Create an SMB share on your file server. Ensure the Hyper-V Servers...