Help Center/ Migration Center/ User Guide/ Application Management/ Manually Adding Custom Resources to an Application
Updated on 2024-11-30 GMT+08:00

Manually Adding Custom Resources to an Application

You can add custom servers and Oracle databases to an application. To get the data about these resources to MgC, you need to install Edge in the source environment.

Preparations

Add Servers to the Application

  1. Sign in to the MgC console.
  2. In the navigation pane on the left, choose Research > Applications. Select the created migration project in the upper left corner of the page.
  3. In the application list, click the application name.
  4. On the Servers tab, click Add Custom Resources above the list.

    Figure 1 Adding custom servers to the application

  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.

Adding Databases to the Application

  1. Sign in to the MgC console.
  2. In the navigation pane on the left, choose Research > Applications. Select the created migration project in the upper left corner of the page.
  3. In the application list, click the application name.
  4. On the Databases tab, click Add above the list.

    Figure 2 Adding custom databases

  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.