Help Center/ Migration Center/ User Guide/ Big Data Migration/ Creating a Target Connection
Updated on 2024-11-01 GMT+08:00

Creating a Target Connection

A 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

  1. Sign in to the MgC console.
  2. In the navigation pane on the left, choose Migrate > Big Data Migration. In the upper left corner of the page, select the migration project created in Preparations.
  3. Click Connection Management in the upper right corner of the page.

  4. In the upper right corner of the page, click Create Target Connection.

  5. On the Select Connection Type page, select Data Lake Insight (DLI) and click Next.

  6. 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 DLI connection

    Parameter

    Configuration

    Connection Source

    Select Target.

    Connection Name

    The default name is DLI-4 random characters (including letters and numbers). You can also customize a name.

    DLI Credential

    Select the Huawei Cloud credential (an AK/SK pair) you added on Edge in Making 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

    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-north-1.

    Project

    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. For details about how to obtain the project ID, see Obtaining Project Information.

    Queue

    Enter the name of the SQL queue or general queue created in Purchasing an Elastic Resource Pool and Adding a Queue on DLI.

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

    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.