Help Center > > Getting Started> Installing the Migration Agent on Source Servers> Installing the Windows Agent

Installing the Windows Agent

Updated at: Aug 05, 2019 GMT+08:00

Scenarios

You need to install the migration Agent on the source server and enter the AK and SK of your HUAWEI CLOUD account to which the target ECS belongs for authentication. After the migration Agent is started successfully, it automatically collects source server information and sends collected information to SMS.

The Windows Agent can be installed using the graphical user interface (GUI) or command-line interface (CLI).

Prerequisites

Obtaining the Migration Agent Installation File

  1. Log in to the management console.
  2. Click Service List. Under Migration, click Server Migration Service.

    The Server Migration Service page is displayed.

  3. In the navigation pane on the left, choose Migration Agent.

    The Migration Agent page is displayed.

  4. Click Download in the Down Windows Agent panes to download the agent you need.

    • Using GUI: Select the Python 3 Agent and save the SMS-Agent-Py3.exe file to a local directory.
    • Using CLI: Select the Python 2 Agent and save the SMS-Agent-Py2.exe file to a local directory.

  5. (Optional) Verify the software integrity of the migration Agent. For details, see How Do I Verify the Software Integrity of the Migration Agent?

Installing the Window Agent (GUI)

  1. Check whether the source server to be migrated is the one that you are using to log in to the management console.

    • If yes, go to 2.
    • If no, upload the SMS-Agent-Py3.exe file to the target source server and perform 2 on the source server.

  2. Log in to the source server as user Administrator and double-click the SMS-Agent-Py3.exe file.

    The Agent installation wizard is displayed.

  3. Click Install and wait till the installation is complete.
  4. Click Finish.

    The SMS-Agent window is displayed.

  5. Enter the AK and SK of the HUAWEI CLOUD account to which the target ECS belongs, and click Start.

    The Privacy Statement page is displayed.

  6. Read the content in the Privacy Statement dialog box carefully and click Yes if you want to continue.

    When the following information is displayed, the Windows Agent starts successfully. The Agent starts sending source server information to SMS.

    Figure 1 Agent running

Installing the Windows Agent (CLI)

  1. Check whether the source server to be migrated is the one that you are using to log in to the management console.

    • If yes, go to 2.
    • If no, upload the SMS-Agent-Py2.exe file to the target source server and perform 2 on the source server.

  2. Log in to the source server as user Administrator and double-click the SMS-Agent-Py2.exe file.

    The Agent installation wizard is displayed.

  3. Click Install and wait till the installation is complete.
  4. Click Finish.

    The SMS-Agent CLI is displayed.

  5. Enter the AK and SK of the HUAWEI CLOUD account where the target ECS belongs as prompted.

    After the authentication succeeds, the Agent starts to upload source server information to SMS, and the window is closed.

Troubleshooting

If AK and SK authentication fails, see What Can I Do If the Migration Agent AK/SK Authentication Fails?

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel