Linux
Scenarios
You need to install the Agent on the source server. During the Agent installation, you need to enter the AK/SK pair of your account. After the Agent is started successfully, it automatically reports source server information to SMS. All collected data is used for migration only. For details, see What Information Does SMS Collect About Source Servers?
Prerequisites
- You have obtained the AK/SK pair of your cloud platform account
- If you use an IAM user for migration, see How Do I Create an AK/SK Pair for an IAM User?
- If you use an account for migration, see How Do I Create an AK/SK Pair for an Account?
- You have confirmed that the source server OS is included in Supported Linux OSs.
Installation
- Log in to the management console.
- Click Service List. Under Migration, click Server Migration Service.
- In the navigation pane on the left, choose Agents.
- Run any of the following commands to download the Agent installation file. You can also, in the Linux area of the Agents page, click to copy the command for downloading the installation file.
wget -t 3 -T 15 https://sms-agent-bucket-2.obs.my-kualalumpur-1.myhuaweicloud.com/SMS-Agent.tar.gz
curl -O https://sms-agent-bucket-2.obs.my-kualalumpur-1.myhuaweicloud.com/SMS-Agent.tar.gz
- Run the command following SHA256 File. Use the hash value contained in the SHA256 file to verify the integrity of the Agent installation package. For details, see How Do I Verify the Integrity of the Agent Installation File?
- On the source server, decompress the installation package.
tar -zxvf SMS-Agent.tar.gz
- Switch to the SMS-Agent directory on the source server.
cd SMS-Agent
- Start the Agent.
./startup.sh
- Carefully review the description of what information will be collected by the Agent, enter y, and press Enter.
- Enter the AK/SK pair of the account and the SMS domain name in the region you are migrating to. You can obtain the SMS domain name on the Agents page of the SMS console.
When the following information is displayed, the Agent has been started up and will automatically start reporting source server information to SMS.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot