Updated on 2024-11-01 GMT+08:00

Manually Adding Resources

You can manually add servers and Oracle databases to MgC. To collect details about these resources, you need to install Edge in the source environment.

Preparations

Adding a Server

  1. Sign in to the MgC console.
  2. In the navigation pane on the left, choose Research > Application Discovery. Select the created migration project in the upper left corner of the page.

    If this is your first time to access this page, click Create Application in the process introduction and create an application.

  3. Click the Resources tab, click Server in the Category column or the number in the Total Resources column.
  4. Click Add.
  5. 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.

    Edge Device

    Select the Edge device installed in the source environment.

    Type

    Select the OS type of the source server.

    IP Address

    Enter the IP address of the source server.

    If the source server is in the same VPC as the Edge device, 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 opened to the Edge device.

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

    Credential

    Select the server credential. If the credential has not been added to MgC, go to the Edge console, add the server credential to Edge, and synchronize it to MgC.

  6. View the added server on the Servers tab page.

Adding a Database

  1. Sign in to the MgC console.
  2. In the navigation pane on the left, choose Research > Application Discovery. Select the prepared migration project in the upper left corner of the page.

    If this is your first time to access this page, click Create Application in the process introduction and create an application.

  3. Click the Resources tab, click Database in the Category column or the number in the Total Resources column.

  4. Click Add.

  5. Set the parameters listed in Table 2.

    Table 2 Parameters for adding a database

    Parameter

    Description

    Name

    Enter a server name.

    Edge Device

    Select the Edge device that is connected to MgC.

    Type

    Select Oracle.

    IP Address

    Enter the IP address for connecting to the source Oracle database server.

    Port

    Enter the listening port of the source Oracle database. The default value is 1521.

    Service Name/SID

    Enter the service name of the source database. The default value is ORCL.

    You can log in to the Oracle database server and run the following command to view the service name of the database you want to add to MgC:
    SELECT instance_name FROM v$instance;

    Credential

    Select the database credential. If the credential has not been added to MgC, go to the Edge console, add the credential to Edge, and synchronize it to MgC. When you add the credential to Edge, set Resource Type to Database and Authentication to User name/Password.

  6. Click Confirm. The system automatically starts collecting details about the database. When Collected is displayed in the Deep Collection column, the collection is complete. Click the database name. On the displayed database details page, you can view the collected information.