θα δούμε πως μπορούμε να έχουμε 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".
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".
10. Επιλέγουμε "cifs" and "Microsoft Virtual System Migration Service".
11. Κλικ "OK".
12. Κλικ "OK".
13. Επαναλαμβάνουμε τα βήματα 4 - 12 και στον άλλον server HVSVR02.
14. Κλείνουμε "Active Directory Users and Computers". και
15. Πάμε στον HVSVR01, και κάνουμε log σαν Domain Administrator.
16. Επιλέγουμε "Hyper-V Manager".
17. Πάμε "Hyper-V Settings".
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".
24 .ok
24. Click "OK".
κανονικά για το 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".
5. klik "Next".
6. Στο "Specify Destination" screen, μετα το "Name", βαζουμε "HVSVR02".
7. Click "Next".
8. Στο "Choose Move Options" επιλεγουμε "Move the virtual machine's data to a single location".
9.Επιλεγουμε τα network switch
και έχουμε τελειώσει πολυ απλά και πολύ γρήγορα
- Read more...
- 0 comments
- 1560 views