Saturday, June 23, 2012

Configuring Live Migration without Shared Storage on Windows Server 2012

In Windows Server 2012, one of the new features of Hyper-V is Live Migration without Shared Storage. As previous version, Live migration requires a cluster shared storage and cluster settings. Now, you can move VMs from 1 Hyper-V server to other Hyper-V servers without luster shared storage and cluster settings.

I will show you how to confugre Live Migration without shared storage.

  • Make sure both Hyper-V servers are joined the same Active Directory domain.
  • To perform live migration, make sure the user account ts a member if Domain Administrator Group
Lab environment
  • 1 domain controller, named DC01, for "" domain.
  • 2 Hyper-V, named "HVSVR01" and "HVSVR02" are joined  "" domain. Both Hyper-V servers contain 2 network cards with /8 domain network and Live migration network.
  • 1 VM, named "", is located on HVSVR01.
  • There are 2 virtual switches, named "HVSVR01-Switch" and "HVSVR02-Switch". The    "HVSVR01-Switch" is configured on HVSVR01 and  The "HVSVR02-Switch" is configured on HVSVR02.
Configure Kerberos authenticate and live migration network for the Hyper-V Servers
Live migration on Windows Server 2012 supports 2 authentication protocol, "CredSSP" and "Kerberos". By default, Hyper-V servers use "CredSSP" To configure to use Kerberos authentication, we need to configure Kerberos delegation on the servers.

1. On DC01, log in as Domain Administrator.
2. Launch "Active Directory Users and Computers".
3. Navigate to " > computer".

4. Right-click "HVSVR01", select "Properties".
5. Select "Delegation" tab.
6. Select "Trust this computer delegation to specified services only > Use Kerberos only".
7. Click "Add".
8. Click "Users or Computers".
9. Enter "HVSVR02".

Remark: You have to select destination servers for delegation. In my lab, HVSVR01 needs to select HVSVR02, and vice versa.

10. Select "cifs" and "Microsoft Virtual System Migration Service".
11. Click "OK".

12. Click "OK".
13. Repeat step 4 - 12 on HVSVR02.

14. Close "Active Directory Users and Computers".
15. Go to HVSVR01, log in as Domain Administrator.
16. Launch "Hyper-V Manager".
17. Click "Hyper-V Settings".

18. At left pane, select "Live Migrations".
19. Check "Enable incoming and outgoing live migrations".
20. Next to "Authentication protocol", select "Use Kerberos".
21. Next to "Incoming live migrations", select "Use these IP addresses for live migration".
22. Click "Add".
23. Next to "IP Address", type "".

24. Click "OK".

Remark: If there is no network to be specified for live migration, the Hyper-V servers use the domain network,, for live migration. If the live migration network setting only applies on 1 server. Both Hyper-V servers use the domain network,, for live migration.

25. Click "OK".
26. Repeat step 16 - 25 on HVSVR02.

Moving the virtual machine
1. On "Hyper-V Manager" of HVSVR01, right-click "".
2. Select "Move".

3. At "Before You Begin" screen, click "Next".
4. At "Choose Move Type", select "Move the virtual machine".

5. Click "Next".
6. At "Specify Destination" screen, next to "Name", type "HVSVR02".

7. Click "Next".
8. At "Choose Move Options" screen, select "Move the virtual machine's data to a single location".

9.Click "Next".
10. At "Virtual Machine" screen, click "Browse".

11. In my test lab, I will select "D:\".

12. Click "Next".
13. At "Summary" screen, click "Finish".
14. Because the name of virtual switches is different in my test lab, I need to select the virtual switch for the VM.

15. Click "Next".

16. Click "Finish".

Now, the VM is moving to HVSVR02.

17. Finally, the VM has been moved to HVSVR02.

Configure and Use Live Migration Without Failover Clustering for Server Availability

This posting is provided “AS IS” with no warranties, and confers no rights!

No comments:

Post a Comment