Help Center> Server Migration Service> Getting Started> Preparations Before Migration

Preparations Before Migration

Before using SMS, ensure that you have made the following preparations:

  1. Register an account with HUAWEI CLOUD and completed real-name authentication.
  2. Obtain the required permissions.

    If you use an account for migration, you have the permissions required by default. However, if you use an IAM user for migration, follow the instructions provided in Creating a User Group and Assigning Permissions.

  3. Obtain the AK/SK pair of your HUAWEI CLOUD account.

    The AK/SK pair is used for authentication during the migration. For details about how to obtain the AK/SK of your HUAWEI CLOUD account, see How Do I Create an AK/SK Pair for an Account? or How Do I Create an AK/SK pair for an IAM User?

  4. Ensure that the account balance is at least ¥100 CNY.
    To avoid migration failure, ensure that the account balance is no less than ¥100 CNY (top-up or cash coupons included).

    SMS is free. You pay the standard fees other related services used during the migration. For details about the fees, see Pricing Details.

  5. Ensure that the source server OS is supported by SMS.

    For details, see Supported Windows OSs and Supported Linux OSs.

  6. Ensure that the following network requirements are met:
    1. The source server can connect to HUAWEI CLOUD API Gateway over TCP port 443. For details, see Connecting Source Servers to HUAWEI CLOUD API Gateway.

      It is recommended that all outbound ports on the source server be allowed.

    2. The source server can connect to the target server. For details, see Connecting Source Servers to Target Servers.
      • To implement migration over the Internet, purchase and configure an EIP for the target server in advance.
      • To implement migration using Direct Connect or VPN, purchase and configure Direct Connect or VPN connections in advance.
    3. The required ports are enabled in the security groups to which the target server belongs.
      • Windows: TCP ports 8899, 8900, and 22
      • Linux: TCP port 22 for block-level migration, and ports 8900 and 22 for file-level migration

      Open the same ports on the firewall of the target server.

      For details, see Ports to Be Enabled in the Security Groups of Target Servers.

  7. Ensure that your source server meets the following requirements:

    Available Space

    • Windows

      At least 320 MB of available space on a partition equal to or larger than 600 MB

      At least 40 MB of available space on a partition smaller than 600 MB

    • Linux

      At least 200 MB of available space on the root partition

    Source Environment

    • The system time of the source server must be consistent with the local standard time to prevent Agent registration failures.
    • For Linux servers, ensure that rsync has been installed. To check whether rsync has been installed, run the rsync -v command.
      If it is not installed on your servers, 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.

        rsync usually comes pre-installed on most distributions by default.

    • For Windows servers, install one of the following Agents:
      • Windows Agent (Python 3): Windows Server 2019/2016/2012 and Windows 10/8.1
      • Windows Agent (Python 2): Windows Server 2008 and Windows 7