Create Klustron Datasource
NineData supports adding data sources of different types and environments to the console for centralized management. After a datasource is added, you can use features such as Database DevOps, Backup and Restore, Data Replication, and Data Comparison. This topic describes how to add a Klustron datasource 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.

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.

Procedure
Log in to the NineData Console.
In the left-side navigation pane, choose Datasource > Datasource.
On the Datasource tab, click Create Datasource. In the datasource type dialog box, choose Self-Managed Database > Relational Database > Klustron, and then configure the parameters on the Create Datasource page according to the following table.
tipIf you select the wrong type, click the
icon at the top of the Create Datasource page to reselect the datasource type.
Configure the datasource parameters:
Parameter Description Name Enter a datasource name. Use a descriptive name that helps identify the business scope, environment, and purpose of the datasource. Connection Select the connection method. The console currently supports IP Address, Gateway, and SSH Tunnel. - IP Address: Connect through a public address.
- Gateway: Connect to a Klustron instance deployed in a local or internal network through the NineData gateway.
- SSH Tunnel: Establish an SSH tunnel first and then connect to Klustron through the tunnel.
Configuration for IP Address Host: Enter the public address and port of the Klustron instance. The default port shown in the console is 5401.Configuration for Gateway - Gateway: Select an onboarded datasource gateway.
- Host: Enter the Klustron address and port in the gateway network. If the database is deployed on the gateway host itself, you can enter
localhost.
Configuration for SSH Tunnel Enter 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 Klustron address and port. DB Account Enter the Klustron login username. DB Password Enter the Klustron login password. Access Region Select the access region nearest to the Klustron instance to reduce network latency. Environment Select the environment tag for the datasource, such as Production or Development. This tag can be used later for filtering, permission control, and policy binding. After all parameters are configured, click Connection Test on the right of Create Datasource to test connectivity. When Connection Successfully is displayed, click Create Datasource to finish creating the datasource.