Preparing for Migration
Before using SMS, make the following preparations:
- Obtain an AK/SK pair for your target account.
If you use an IAM user for migration, contact the administrator for authorization and then create an AK/SK pair. For more information, see How Do I Create an AK/SK Pair for an IAM User?
- Ensure that the source server OS is supported by SMS.
- Ensure that the following network requirements are met:
- The source server can connect to the cloud platform API Gateway over TCP port 443. For more information, see Connecting Source Servers to the Cloud Platform API Gateway.
- The source server can connect to the target server. For more information, 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.
- The required ports are enabled in any security group to which the target server belongs.
- Linux: TCP ports 8900 and 22
For more information, see How Do I Configure Security Group Rules for Target Servers?
- Ensure that the following source server requirements are met:
Available Space
- 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.
Parent topic: Getting Started