Updated on 2024-11-04 GMT+08:00

Creating a Data Source

Prerequisites

You have obtained the type, CIDR block, IP address, port, database name, and authentication information of the data source.

Procedure

  1. Log in to the GES management console. In the navigation pane on the left, choose Data Migration.
  2. On the displayed Data Sources tab, click Create.

    Figure 1 Creating a data source

  3. On the displayed page, set the parameters parameters as follows:

    • Data Source Name: Enter a name. The value must contain 4 to 50 characters and start with a letter. Only letters (case-insensitivity), numbers, and underscores (_) are allowed.
    • Data Source Type: Select a type. The options are MySQL, ShenTong database, Oracle, GaussDB(DWS), and Hive.
    • Graph Name: Select the graph where you want to import data.
    • CIDR Block: CIDR block of the subnet where the data source is.
    • Access IP Address: IP address of the database of the data source.
    • Access Port: port number of the data source database (not involved in Hive).
    • Database Name: Name of the database of the data source.
    • Database Username: Username for logging in to the database of the data source (unavailable for Hive).
    • Database Password: Password for logging in to the database of the data source (unavailable for Hive).
    • Require Verification: Check if Kerberos authentication is enabled for the MRS cluster where Hive is (only available for Hive).
    • MRS Cluster Username: Username of the MRS cluster where Hive is (only available for Hive).
    • MRS Cluster User Authentication Credential: Authentication credential of the user of the MRS cluster where Hive is (only available for Hive). This parameter is optional when Kerberos authentication is disabled.
    • MRS Cluster Hive Client File: Hive client file (only available for Hive).

    Click OK.

    Figure 2 Data source information

  4. Check the data source status and wait until the creation is complete.