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

Installing the SMS-Agent on Linux

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

Scenarios

You need to install the SMS-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. The information is used for migration only. For more information, see What Information Does SMS Collect About Source Servers?

Caution

You need to log in to the source Linux server as user root.

Prerequisites

Installing the SMS-Agent on Linux

  1. Log in to the management console.
  2. Click Service List. Choose Migration > Server Migration Service.
  3. In the navigation pane on the left, choose Agents.
  4. Select the Linux card, and in the Linux Agent area, click the icon next to Agent URL to copy the Agent download command. Run the command on the source server to download the Agent installation package.
  5. Run the command following 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?
  6. Run the following command to decompress the SMS-Agent installation package:

    tar -zxvf SMS-Agent.tar.gz

  7. Switch to the SMS-Agent directory on the source server.

    cd SMS-Agent

  8. Start the SMS-Agent.

    ./startup.sh

  9. Read the displayed information carefully, enter y, and press Enter.
  10. 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.

    If the EPS service has been enabled for your account, after you entered the AK/SK pair, the Agent will list all enterprise projects your account is allowed to access. You can select the enterprise project you would like to migrate the source server to. This enables you to isolate permissions, resources, and finance during the migration.

    When the information shown in the figure below is displayed, the SMS-Agent has been started up and will automatically start reporting source server information to SMS. You can go to the Servers page on the SMS console to check reported source servers.

    Figure 1 Agent running


Troubleshooting