Creating a Target Connection
The target connection is used to write source data to DLI.
Precautions
For a metadata migration, a DLI connection with an SQL queue configured is required.
For a data migration, two DLI connections are required: one with an SQL queue configured and the other with a general queue.
Prerequisites
You have completed all preparations.
Procedure
- Sign in to the MgC console. In the navigation pane, under Project, select your big data migration project from the drop-down list.
- In the navigation pane on the left, choose Migrate > Big Data Migration.
- Click Connection Management in the upper right corner of the page.
- Click Create Connection.
Figure 1 Creating a connection
- On the Select Connection Type page, select Data Lake Insight (DLI) and click Next.
Figure 2 Selecting DLI
- Configure the parameters listed in Table 1, and click Test. If the test is successful, the connection is set up.
Table 1 Parameters for creating a connection to DLI Parameter
Configuration
Connection To
Select Target.
Connection Name
The default name is DLI-4 random characters (including letters and numbers). You can also customize a name.
MgC Agent
Select the MgC Agent you connected to MgC in Preparations.
DLI Credential
Select the Huawei Cloud credential (an AK/SK pair) you added to the MgC Agent in Preparations. If the selected credential is the one you currently use to access MgC, you can select This is my MgC credential, and the projects in the region you choose will be listed.
Region ID
Select the region where your DLI resources are located. If you do not select This is my MgC credential, you need to manually enter the region code, for example, cn-south-1.
Project ID
Select the project where your DLI resources are managed. Your source data will be managed in this project after being migrated. If you do not select This is my MgC credential, you need to manually enter the project ID. Click View Project ID to review the ID or obtain it by referring to Obtaining the Project Name and ID.
Queue
Enter the name of the SQL queue created in Preparations.
- If you are creating a connection using an SQL queue, enter the name of the SQL queue.
- If you are creating a connection using a general queue, enter the name of the general queue.
Collect Usage Metrics
This parameter is optional. If this option is enabled, usage metrics for your big data resources will be collected during the execution of tasks created using this connection. The collected information is used to generate reports on the MgC console and for performance optimization.
NOTICE:Before using this function, ensure that the Huawei Cloud account you added to the MgC Agent has the read-only permission for DLI.
After the target connection is created, you can view it in the list on the Connection Management page. If necessary, click Modify in the Operation column to modify the connection configuration.
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