Облачная платформаAdvanced

Preparations

Язык статьи: Английский
Перевести

Before using SMS, make the following preparations:

  1. Obtain an AK/SK pair for your target account.

    If you use an IAM user for migration, contact the administrator for authorization and then obtain an AK/SK pair. For more information, see How Do I Obtain an AK/SK Pair for an IAM User?

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

    See Supported Windows OSs and Supported Linux OSs.

  3. Ensure that the following network requirements are met:
    1. The source server can connect to the cloud platform API Gateway over port 443. For more information, see Connecting Source Servers to API Gateway.
    2. The source server can connect to the target server. For details, see Connecting Source Servers to Target Servers.
      • To migrate over the Internet, purchase an EIP in the target region.
      • To migrate over a private network, request a Direct Connect or VPN connection.
    3. The following ports are enabled in the security group associated with the target server to allow traffic to these ports:
      • Windows: TCP ports 8899, 8900, and 22
      • Linux: TCP ports 8900 and 22

      For details, see How Do I Configure Security Group Rules for Target Servers?.

  4. Ensure that the following source server requirements are met:

    Available Space

    • Windows: Partitions of 600 MB or larger require at least 320 MB free. Partitions smaller than 600 MB require at least 40 MB free.
    • 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 is installed. You can run the rsync -v command to check whether rsync is installed.

      If it is not installed on the source server, install it as follows:

      • 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.
        Note

        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