Jump to content
  • entries
    47
  • comments
    3
  • views
    26238

Configuring Live Migration without Shared Storage on Windows Server 2012


Ioannis Zontos

1552 views

 Share

Στον Windows Server 2012, ένα από τα νέα χαρακτηριστικά του Hyper-V είναι το Live Migration without Shared Storage. Όπως προηγούμενη έκδοση, Live Migration απαιτεί ένα cluster shared storage and cluster settings. Τώρα, μπορείτε να μετακινήσετε VMs από 1 Hyper-V server σε άλλες Hyper-V servers χωρίς cluster shared storage and cluster settings.

θα δούμε πως μπορούμε να έχουμε Live Migration without shared storage.

Prerequisites

  • Πρέπει και οι δυο Hyper-V servers να είναι joined στο ιδιο Active Directory domain.
  • Για να πετυχουμε το live migration, πρεπει το user account να είναι member στους Domain Administrator Group

environment

  • Θέλουμε 1 domain controller, με ονομα DC01, for "test.company.com"
  • Έχουμε 2 Hyper-V, named "HVSVR01" and "HVSVR02" που είναι joined "test.company.com" domain.
  • Kαι οι Hyper-V servers έχουν 2 network cards με 10.0.0.0 /8 domain network και 172.16.0.0./16 Live migration network.
  • 1 VM, για το τεστ named is located on HVSVR01.
  • Εχουμε 2 virtual switches, "HVSVR01-Switch" & "HVSVR02-Switch".
  • "HVSVR01-Switch" is configured on HVSVR01
  • "HVSVR02-Switch" is configured on HVSVR02.

Configure Kerberos authenticate and live migration network for the Hyper-V Servers
Το Live migration στον Windows Server 2012 υποστηρίζει 2 authentication protocol, "CredSSP" and "Kerberos".

By default, Hyper-V servers use "CredSSP"

Για να χρησιμοποιήσουμε Kerberos authentication, πρέπει να έχουμε configure Kerberos delegation on the servers.

1. On DC01, log in as Domain Administrator.
2. Launch "Active Directory Users and Computers".
3. ΠΑμε στο domain μας "test.company.com > και μετα στα computer".

clip_image002

4. Δεξί κλικ "HVSVR01", –> "Properties".
5. Επιλέγουμε "Delegation" tab.
6. Επιλέγουμε "Trust this computer delegation to specified services only > Use Kerberos only".
7. κλικ "Add".
8. Κλικ "Users or Computers".
9. Enter "HVSVR02".

clip_image004

10. Επιλέγουμε "cifs" and "Microsoft Virtual System Migration Service".

11. Κλικ "OK".

clip_image006

12. Κλικ "OK".
13. Επαναλαμβάνουμε τα βήματα 4 - 12 και στον άλλον server HVSVR02.

clip_image008

14. Κλείνουμε "Active Directory Users and Computers". και

15. Πάμε στον HVSVR01, και κάνουμε log σαν Domain Administrator.

16. Επιλέγουμε "Hyper-V Manager".

17. Πάμε "Hyper-V Settings".

clip_image010

18. Επιλέγουμε "Live Migrations".

19. Τσεκάρουμε "Enable incoming and outgoing live migrations".

20. Πάμε στο "Authentication protocol", και επιλέγουμε "Use Kerberos".

21. Πάμε "Incoming live migrations", επιλέγουμε "Use these IP addresses for live migration".

22. Κλικ "Add".

23. "IP Address", δίνουμε "172.16.0.0/16".

clip_image012

24 .ok

clip_image014

24. Click "OK".

clip_image016

κανονικά για το live migration πρέπει να εχουμε ξεχωριστές κάρτες και ξεχωριστό δίκτυο και στους δυο servers

αλλα μπορούμε να χρησιμοποιήσουμε και το domain network

25. κλικ "OK".

26. Επαναλαμβάνουμε τα βήματα 16 - 25 on HVSVR02.

Μεταφορά του VM

1. Στον "Hyper-V Manager" of HVSVR01, δεξι κλικ "FS01.test.company.com".

2. Επιλέγουμε "Move".

clip_image018

clip_image020

5. klik "Next".

6. Στο "Specify Destination" screen, μετα το "Name", βαζουμε "HVSVR02".

clip_image022

7. Click "Next".

8. Στο "Choose Move Options" επιλεγουμε "Move the virtual machine's data to a single location".

clip_image024

9.Επιλεγουμε τα network switch

clip_image026

clip_image028

και έχουμε τελειώσει πολυ απλά και πολύ γρήγορα

 Share

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...