Preparations Before Migration
This section describes how to prepare accounts, permissions, and source server and target ECS environments.
- Registering an account HUAWEI CLOUD and completing real-name authentication
- Obtaining Required Permissions
- Obtaining the AK/SK Pair for Your Account
- Ensuring that the Account Balance Is at Least ¥100 CNY
- Meeting OS Requirements
- Meeting Migration Network Requirements
- Meeting Requirements about Source Server Remaining Space and Environment
Obtaining 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.
Obtaining the AK/SK Pair for Your Account
The AK/SK pair is used for authentication during the migration. For details about how to obtain the AK/SK pair 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?
Ensuring that the Account Balance Is at Least ¥100 CNY
SMS is free, but the use of other related services will generate some fees during the migration. For details about the fees, see Pricing Details.
Meeting OS Requirements
See What Source Server OSs Are Supported by SMS and Are There Any Restrictions on Using SMS?
Meeting Migration Network Requirements
- The source server can connect to HUAWEI CLOUD API Gateway (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.
- The source server can connect to the target ECS. For details, see Connecting Source Servers to Target ECSs.
- If you want to use EIP for migration, you need to purchase and configure an EIP for the target ECS in advance.
- If you want to use Direct Connect or VPN for migration, you need to purchase and configure Direct Connect or VPN connections in advance.
- The required ports are enabled in the security groups to which the target ECS 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 ECSs.
Meeting Requirements about Source Server Remaining Space and Environment
Source Server Remaining Space
- Windows
- At least 320 MB of available space on a partition larger than 600 MB
- At least 40 MB of available space on a partition smaller than 600 MB
- Linux
Source Server Environment
- The system time of the source server must be consistent with the standard time to prevent the Agent registration failure on the source server.
- For Linux servers, run the rsync -v command to check whether rsync is installed. If it is not installed on your servers, you can install it as follows:
- CentOS: Run the yum –y install rsync command.
- Ubuntu: Run the apt-get -y install rsync command.
- Debian: Run the apt-get -y install rsync command.
- SUSE: Run the zypper install rsync command.
- 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
Last Article: SMS Usage Process
Next Article: Installing the Agent on Source Servers
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.