Updated on 2026-07-13 GMT+08:00

Preparations

Before using SMS, prepare accounts, permissions, and source and target server environments by referring to Table 1.

Table 1 Preparations

Item

Requirement

Obtaining the source server account and permissions

Get the login account and password of the source server in advance for installing and starting the migration Agent. Permission requirements:

  • Windows: Use an account with administrator permissions.
  • Linux: Use an account with root permissions.

Registering a Huawei Cloud account with required permissions for the target server

  1. Sign up for a HUAWEI ID, enable Huawei Cloud services, and complete real-name authentication. If you have already enabled Huawei Cloud services and completed real-name authentication, skip this step.
    1. Visit Huawei Cloud and click Sign Up.
    2. Sign up for a HUAWEI ID and enable Huawei Cloud services.
    3. (Optional) Complete real-name authentication. Real-name authentication is the process of submitting valid identity information (such as a passport or business license) for verification when you use cloud services offered in the Chinese mainland. There are individual real-name authentication and enterprise real-name authentication.

      According to relevant laws and regulations, unauthenticated accounts cannot purchase cloud services in the Chinese mainland and your account and rights may not be protected. For more information, see Real-Name Authentication Overview.

      To complete real-name authentication, refer to:
  2. Create an IAM user and grant permissions to the user. Skip this step if you use a HUAWEI ID (administrator account).
    1. On the IAM console, create a user group and attach the SMS FullAccess, OBS OperateAccess, ECS FullAccess, VPC FullAccess, EVS FullAccess, and MgC MigrateAccess system policies to the group. EVS KMSAccess must be attached if disk encryption is required. For details about how to grant permissions, see Creating a User Group and Assigning Permissions.

      Create custom policies to supplement the system-defined policies. For details about how to configure custom policies, see Creating a Custom Policy.

    2. Create IAM users and add them to the user group. For details, see Creating an IAM User.
  3. Obtain an AK/SK pair for the account.

    The AK/SK of the target account is required for authentication when starting the Agent. For details, see Creating an Access Key.

Checking the source server environment and available space

  • Each Windows source server must meet the following requirements:

    Partitions of 600 MB or larger require at least 320 MB free. Partitions smaller than 600 MB require at least 40 MB free.

  • Each Linux source server must meet the following requirements:
    • The available space of the root partition is no less than 200 MB.
    • The system time of the source server must be consistent with the local standard time to avoid Agent registration failures.
    • The rsync library is installed. It is usually pre-installed on mainstream systems. If you are not sure, run the following command to check:
      rsync -v
      If the rsync library is not installed, run the following command to install it:
      • CentOS:
        yum -y install rsync
      • Ubuntu:
        apt-get -y install rsync
      • Debian:
        apt-get -y install rsync
      • SUSE:
        zypper install rsync
      • For other distributions, refer to the official website documentation.

Checking the network environment

The migration network must meet the following requirements:

  • The source servers should be able to reach Huawei Cloud API Gateway (port 443). For details, see How Do I Set Up a Secure Migration Network for Using SMS?
    NOTE:

    It is recommended that all outbound ports on source servers be opened.

  • The source servers should be able to connect to the target IP addresses.
    • To migrate over the Internet, purchase an EIP in the target region for communicating with the source.
    • To migrate over a private network, request a Direct Connect or VPN connection for communicating with the source.
  • Port 22 must be enabled for the security groups to which the target servers belong. For more information, see How Do I Configure Security Group Rules for Target Servers?
    CAUTION:
    • For security purposes, you are advised to only allow traffic from the source servers over this port.
    • The firewall of the target servers must allow traffic to this port.

Checking the compatibility of the source server

Ensure that the OS of the source server is supported by the system. For the compatible OSs, see:

Creating a target server

Use an existing target server (Use existing) or create a new one (Create new).

  • Use existing: Create a Huawei Cloud ECS and configure its VPC, security group, and EIP in advance. For details, see Purchasing an ECS in Quick Config Mode.
  • Create new: Create a new target server while you are creating the migration task.

For details, see How Do I Create a Target Server That Meets the SMS Requirements?