Prepare the environment:
All machines are added to the domain and Hyper-v is installed.
Configure the delegate permission:
Log on to the domain controller, open "Active Directory user and Computer" "Computer", and select the Hyper-v host to be migrated:
Double-click the Hyper-v host to be delegated or right-click Properties and select delegate:
Select "trust this computer only to delegate the specified service" and select "use Kerberos only"
And select "add ":
Click "user and computer ":
Confirm the computer name and confirm:
PS: Add the following rights to the computer if you want to allow the migration of virtual machines on the host.
Because the storage of mobile virtual machines is required during real-time migration, You need to select cifs:
To move a Virtual machine, select Microsoft Virtual System Migration Services and confirm:
Click OK as follows:
Repeat the preceding operations to add all hosts that need to migrate virtual machines to the host, and perform the same operations on the hosts that need to be migrated to the target host.
Configure Hyper-v host
Log on to the Hyper-v host, open the Hyper-v manager, and click "Hyper-v Settings" on the right ":
In the left-side Navigation Pane, select the "real-time migration" tab:
Select "enable real-time transfer of incoming and outgoing data" and configure the network as needed. Here we have a Number Parameter for parallel real-time migration. The default value is 2. We can configure it according to the actual situation of the current network. The minimum value is 1 and the maximum value is 10 digits:
Expand real-time migration, click Advanced functions, and select "use Kerberos ":
Repeat the preceding operations on each host that requires non-cluster migration.
Add all hosts that require non-cluster migration to the same Hyper-v manager for convenient management. The procedure is as follows:
Log on to the Hyper-v server and open the Hyper-v manager:
Right-click the Hyper-v manager on the left and click "connect to server ":
Enter the IP address of another computer or the NETBIOS domain name, and click the link:
The connection is successful, as shown in:
Test Real-Time Migration
Now we have two Hyper-v hosts, the HV-01 and the HV-02, where the HV-01 runs a virtual machine "Test-Hyper-v-02", and the following shows it as an example:
I am now ready to migrate "HV-01" on the Test-Hyper-v-02 host to the HV-02. The result is that a virtual machine is not running on one platform, and a virtual machine is running on the other. So, you need to log on to the HV-02, The HV-01 of the two virtual machine migration (pull) over. In the Hyper-V console, in the left-side VM navigation bar, select the HV-01 and then select Test-Hyper-v-02 for migration.
Note: log on to the HV-02 and select the HV-01 (that is, another host) on the Hyper-V Console)
Right-click a virtual machine and choose "move ":
Click Next on the Wizard Page.
Select "Virtual Machine" in the selected mobile type and click Next.