Skip to main content

Create a PegaDB Data Source

Add a PegaDB data source to NineData for Database DevOps, backup and restore, data replication, database comparison, and other supported features. This guide covers connection mode, architecture type, endpoint settings, credentials, encrypted transmission, environment settings, and the connection test.

Before you begin

  • The server IP address of NineData has been added to the data source allowlist. The server IP address can be viewed by selecting the target region in Access Region on the Create Datasource page.

    server_ip_address

  • Make sure you have available data source quota; otherwise, the data source cannot be added. You can check your remaining quota in the NineData Console header.check_quota

Procedure

  1. Sign in to the NineData Console.

  2. In the left-side navigation pane, choose Datasource > Datasource.

  3. On the Datasource tab, click Create Datasource. In the data source type dialog, choose Baidu Cloud > Cloud Datasource > PegaDB, and then configure the parameters on the Create Datasource page.

    tip

    If you select the wrong type, click the arrow_down icon at the top of the Create Datasource page to reselect the data source type.

  4. Configure the data source parameters:

    Parameter
    Description
    NameEnter a data source name.
    ConnectionSelect the connection method. The console currently supports IP Address, Gateway, and SSH Tunnel.
    Architecture TypeThe current fixed value is Single.
    Configuration for IP AddressHost: Enter the PegaDB endpoint and port. The default port shown in the console is 6379.
    Configuration for Gateway
    • Gateway: Select an onboarded datasource gateway.
    • Host: Enter the PegaDB address and port in the gateway network. If the instance is deployed on the gateway host itself, enter localhost.
    Configuration for SSH TunnelEnter the public address, port, authentication method, login username, and password or private key file for the tunnel host first. After the tunnel is ready, enter the target PegaDB address and port.
    DB AccountEnter the database account. If the instance does not use a separate username, this field can be left empty.
    DB PasswordEnter the database password.
    Access RegionSelect the access region nearest to the instance.
    EnvironmentSelect the environment tag for the data source, such as Production or Development.
    EncryptionSpecifies whether to enable encrypted transmission. This option is disabled by default in the console. After it is enabled, choose Prefer or Require, and configure server certificates or client certificates when needed.
  5. After you configure all parameters, click Connection Test next to Create Datasource to test connectivity. When Connection Successfully is displayed, click Create Datasource to create the data source. Otherwise, review the connection settings and run the test again.

Result

After the connection test succeeds and the data source is created, it appears in the data source list and is available to NineData features that support PegaDB.