Updated on 2025-08-19 GMT+08:00

Manually Adding Resources

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

Preparations

Adding a Server

  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 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

    User-defined

    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.

    • The port defaults to 5985 on Windows and can be modified.
    • The port defaults to 22 on Linux and can be modified.

    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.

Adding a Database

  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 Source Resources.
  3. Click the Databases tab.
  4. Click Add above the list.

    Figure 2 Adding a database

  5. Set the parameters listed in Table 2.

    Table 2 Parameters for adding a database

    Parameter

    Description

    Name

    User-defined

    MgC Agent

    Select the MgC Agent 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 is not displayed in the drop-down list, go to the MgC Agent console, add the credential, and synchronize it to MgC. When you add the credential to the MgC Agent, set Resource Type to Database and Authentication to Username/Password.

  6. Click Confirm. The system automatically starts collecting details about the database. When Collected shows up 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.