Updated on 2025-01-06 GMT+08:00

Manually Adding Servers to MgC

This method is for discovering on-premises servers and cloud servers that cannot be discovered over the Internet or an intranet.

Prerequisites

  • You have installed the MgC Agent in the source intranet environment and have connected it to MgC.
  • You have added source server credentials to the MgC Agent. The server credentials must meet the following requirements:
    • Linux: root and its password
    • Windows: administrator and its password

Procedure

  1. Sign in to the MgC console. In the navigation pane, under Project, select an application migration project from the drop-down list.
  2. In the navigation pane, choose Research > Source Resources.
  3. On the Servers tab, click Add above the list.

    Figure 1 Adding a server

  4. In the displayed dialog box, configure parameters listed in Table 1 and click Confirm. The system automatically checks the credential status and starts collecting resource details.

    Table 1 Parameters for adding a server

    Parameter

    Description

    Name

    Enter a server name.

    MgC Agent

    Select the MgC Agent installed in the source environment.

    Type

    Select the OS type of the source server.

    Access IP Address

    Enter the IP address of the source server.

    If the source server is in the same VPC as the MgC Agent, you can enter the private IP address of the server. Otherwise, you have to enter its public IP address.

    Port

    Enter the port on the source server that allows access from the MgC Agent.

    • By default, port 5985 on Windows source servers must be opened to the MgC Agent. The port cannot be changed.
    • By default, port 22 on Linux source servers must be opened to the MgC Agent. You can specify a different port if needed.

    Credential

    Select the server credential. If the credential is not displayed in the list, go to the MgC Agent console, add the server credential, and synchronize it to MgC.

  5. After the server is added, view it in the list.