Skip to main content

Creating OceanBase Oracle Data Source

NineData supports adding various types and environments of data sources to the console for unified management. You can use database DevOps, backup and recovery, data replication, and database comparison features for data sources that have been added. This article introduces how to add an OceanBase Oracle data source to NineData.

Prerequisites

  • The server IP address of NineData has been added to the data source allowlist. Please refer to the image below for instructions on how to obtain the server IP address.

    server_ip_address

  • Make sure you have available data source quota; otherwise, the data source cannot be added. You can quickly check your remaining quota at the top-right corner of the NineData console.check_quota

Operation Steps

  1. Log in to the NineData Console.

  2. On the left navigation pane, click Datasource > Datasource.

  3. Click Datasource tab, and click Create Datasource on the page. In the popup window for selecting the data source type, choose Database > (the type of data source to be added), and configure the parameters based on the table below on the Create Datasource page.
    tip

    If you make a mistake during the operation, you can click the arrow_down icon at the top of the Create Datasource page to make a new selection.

  1. Configure the data source parameters:

    Parameter
    Description
    NameEnter the name of the data source. To facilitate subsequent search and management, please use meaningful names.
    ConnectionSelect the access method of the data source. Supports access through IP Address, Gateway, SSH Tunnel three methods.
    • IP Address: Access the data source through the public network address.
    • Gateway: A secure and fast intranet access method provided by NineData, which requires the data source host to be connected first. For connection methods, please refer to Add Gateway.
    • SSH Tunnel: Access the data source through an SSH tunnel.
    Select the access method of the data source. Supports access through IP Address, SSH Tunnel two methods.
    • IP Address: Access the data source through the public network address.
    • SSH Tunnel: Access the data source through an SSH tunnel.
    Configuration items when Connection is IP AddressHost: The public network connection address and port of the data source.
    Configuration items when Connection is Gateway
    • Gateway: Select the NineData gateway installed on the host where the data source is located.
    • Host: Can be written as localhost (data source on the local machine) or the intranet IP and port of the host where the data source is located.
    DB AccountEnter the login username for OceanBase Oracle.
    DB PasswordEnter the login password for OceanBase Oracle.
    Access RegionSelect the region closest to your OceanBase Oracle host to effectively reduce network latency.
    EnvironmentChoose according to the actual business purpose of the data source, as an environmental identifier for the data source. Default provides PROD and DEV environments, and also supports you to create a custom environment.
    Note: Under the organization mode, the database environment can also be applied to permission policy management, for example, the default Prod Admin role only supports access to data sources in the PROD environment and cannot access data sources in other environments. For more information, please refer to Manage Roles.
  2. After all configurations are completed, click on the Connection Test next to Create Datasource to test whether the data source can be accessed normally. If prompted with Connection Successfully, you can click Create Datasource to complete the addition of the data source. Otherwise, please recheck the connection settings until the connection test is successful.