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
- Create a migration project on the MgC console.
- Install Edge in the source intranet environment and connect Edge to MgC.
- Add resource credentials to Edge.
- Created an application on the application management page.
Add Servers to the Application
- Sign in to the MgC console.
- In the navigation pane on the left, choose Research > Applications. Select the created migration project in the upper left corner of the page.
- In the application list, click the application name.
- On the Servers tab, click Add Custom Resources above the list.
Figure 1 Adding custom servers to the application
- 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.
- View the added server on the Servers tab.
Adding Databases to the Application
- Sign in to the MgC console.
- In the navigation pane on the left, choose Research > Applications. Select the created migration project in the upper left corner of the page.
- In the application list, click the application name.
- On the Databases tab, click Add above the list.
Figure 2 Adding custom databases
- 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.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot