This topic describes how to migrate Xen, KVM, or Hyper-V VMs to Alibaba Cloud

Migrate Windows-based Xen, KVM, or Hyper-V VMs to Alibaba Cloud

Before the migration, complete the following preparations:
  • Create snapshots to back up data.
  • Make sure that the system time of the VMWare VM is the same as the standard time of the region where the VMWare VM resides.
  • Make sure that the VMWare VM has outbound access to the following URLs and ports:
    • The endpoint https://smc.aliyuncs.com:443 that is used to access Server Migration Center (SMC).
    • Ports 8080 and 8703 that are required to connect to the intermediate instance during the migration process.
      Note During the migration, SMC creates, starts, stops, and releases the intermediate instance No_Delete_SMC_Transition_Instance. The default security group of the intermediate instance allows access to ports 8080 and 8703. Both ports are the migration service ports of the intermediate instance.
  • Make sure that the Volume Shadow Copy Service (VSS) is enabled.
  • Check whether the QEMU Guest Agent is installed. If the QEMU Guest Agent is installed, you must uninstall it. For information about how to uninstall the QEMU Guest Agent, see SMC FAQ.
  • Check the validity of your application licenses. After you migrate the VMWare VM to Alibaba Cloud, the application licenses that are associated with the underlying hardware may become invalid.
  • If you migrate a VM for the first time, we recommend that you perform a test migration.

After the preceding operations are complete, you can migrate the VM. For more information, see Migration process.

Migrate Linux-based Xen, KVM, or Hyper-V VMs to Alibaba Cloud

Before the migration, complete the following preparations:
  • Create snapshots to back up data.
  • Make sure that the system time of the VMWare VM is the same as the standard time of the region where the VMWare VM resides.
  • Make sure that the VMWare VM has outbound access to the following URLs and ports:
    • The endpoint https://smc.aliyuncs.com:443 that is used to access SMC.
    • Ports 8080 and 8703 that are required to connect to the intermediate instance during the migration process.
      Note During the migration, SMC creates, starts, stops, and releases the intermediate instance No_Delete_SMC_Transition_Instance. The default security group of the intermediate instance allows access to ports 8080 and 8703. Both ports are the migration service ports of the intermediate instance.
  • Check Security-Enhanced Linux (SELinux). You need to check whether SELinux is disabled on the Community Enterprise Operating System (CentOS) and Red Hat operating systems. You can use one of the following methods to disable SELinux:
    • Run the setenforce 0 command to temporarily disable SELinux.
    • Open the configuration file in the /etc/selinux/config directory, and then set SELINUX to disabled to permanently disable SELinux. For more information, see Enable or disable SELinux.
  • Check the hypervisor. For more information, see Install virtio driver.
  • Check the GRand Unified Bootloader (GRUB). For earlier kernel versions such as CentOS 5, Red Hat 5, and Debian 7, you must upgrade GRUB to version 1.99 or later. For more information, see Install GRUB in a Linux server.
  • Check the validity of your application licenses. After you migrate the VMWare VM to Alibaba Cloud, the application licenses that are associated with the underlying hardware may become invalid.
  • If you migrate a VM for the first time, we recommend that you perform a test migration.

After the preceding operations are complete, you can perform the migration. For more information, see Migration process.