Hyper-V Server for real-time migration without clusters and sharing

Source: Internet
Author: User

Hyper-V Server for real-time migration without clusters and sharing

The high availability of virtualization always requires high costs, high-performance servers, and centralized shared storage (fc san and ip san ). Even the high cost of initial construction does not stop it and quickly occupies the pace of user data centers. But is it impossible for small-sized enterprise users with less funds or services that are not important to them to have high availability?

Hyper-V in Windows Server 2012/R2 supports using the migration function without clusters or shared storage, so that virtual machine migration is not stopped. Because of this migration, You need to migrate the configurations, memory, and disks of virtual machines. For shared storage migration, you only need to migrate configurations and memory, which will be much faster. After all, the disk file is larger, therefore, the migration process is relatively slow.

  1. 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.