You can create SelectDB or Doris clusters in Dataphin and manage their configurations, security controls, and lifecycle.
Permission description
-
Super administrators, system administrators, and custom global roles with SelectDB or Doris cluster-management permissions can create and manage SelectDB or Doris clusters. These users can also specify which users can reference the cluster when creating SelectDB or Doris compute sources, and designate cluster administrators for the cluster.
-
Cluster administrators can manage the clusters for which they are responsible.
-
Users with the custom global role of Compute source management-Create can select and reference SelectDB or Doris clusters for which they have usage permissions when creating SelectDB or Doris compute sources.
Create a SelectDB or Doris cluster
-
In the top menu bar of the Dataphin homepage, choose Planning > Compute Source.
-
On the Compute Source page, click Manage SelectDB Clusters or Manage Doris Clusters.
-
In the Manage SelectDB Clusters or Manage Doris Clusters dialog box, click +Create SelectDB Cluster or +Create Doris Cluster.
-
On the Create SelectDB Cluster or Create Doris Cluster page, configure the following parameters.
-
Basic information
Parameter
Description
Cluster Name
The cluster name. Only Chinese characters, letters, digits, underscores (_), and hyphens (-) are supported. Maximum length: 128 characters.
Cluster Administrator
Select one or more tenant members as cluster administrators. Cluster administrators can manage the cluster and perform operations such as downloading files, editing, viewing historical versions, and deleting.
Description (optional)
A brief description of the cluster. Maximum length: 128 characters.
-
Cluster security control
Available members: Specify which users can reference this cluster's configuration when creating a compute source. You can select Roles With "Create Compute Source" Permission or Specified Users.
-
Roles With "Create Compute Source" Permission: Selected by default.
-
Specified Users: You can select one or more personal accounts and user groups.
-
-
Cluster configuration
Parameter
Description
Version
-
SelectDB cluster: You can select Cloud Core V3.0.x (based On Apache Doris V2.1.x) or Cloud Core V4.0.x (based On Apache Doris V3.0.x).
-
Doris cluster: You can select Apache Doris v2.1.x or Apache Doris v3.0.x.
JDBC URL
The JDBC URL in the format
jdbc:mysql://{host}:{port}/{database name}.Username, Password
The username and password for authentication. Make sure the user has the required database permissions.
Catalog (optional)
Select a catalog from all available catalogs in the cluster. If left empty, the internal default catalog is used.
FE Node URL
The FE node endpoint for web server access, in the format
{FE IP}:{HTTP Port}. The default HTTP port is 8030. Separate multiple FE node endpoints with commas (,). -
-
-
Click Test Connection. After the test succeeds, click Save.
Manage SelectDB or Doris clusters
-
In the top menu bar of the Dataphin homepage, choose Planning > Compute Source.
-
On the Compute Source page, click Manage SelectDB Clusters or Manage Doris Clusters.
-
In the Manage SelectDB Clusters or Manage Doris Clusters dialog box, view the cluster list. The list displays the cluster name, cluster administrator, associated compute sources, creation information, and modification information.
-
Associated Compute Sources: The total number of associated compute sources. Click the
icon to view the list. Click a compute source name to go to the compute source page. -
Creation Information: The creator and creation time.
-
Modification Information: The user who last edited the cluster and the modification time.
NoteCompute tasks can run only in one cluster. Data from different SelectDB or Doris clusters cannot be joined.
-
-
(Optional) Enter a cluster name in the search box to perform a fuzzy search.
-
In the Actions column, you can perform the following operations on a cluster.
Operation
Description
View
Click the
icon in the Actions column of the target cluster to view the details of the cluster's current version.Edit
Click the
icon in the Actions column of the target cluster to open the edit page. Modify the configurations as needed, and then click Save. In the dialog box that appears, enter a Change Description and click OK.Clone
Click the
icon in the Actions column of the target cluster to clone all data from the cluster and open the Create SelectDB or Doris cluster page, where you can modify the configuration.Historical versions
Click the
icon in the Actions column of the target cluster, and select History. A dialog box appears and displays information about each version of the current cluster, including the version name, modifier, and change description. You can perform View and Compare operations on the historical versions.-
View: Click the
icon in the Actions column of the target version to open the View SelectDB or Doris Cluster page and view the detailed information of the current version of the cluster. -
Compare: Click the
icon in the Actions column of the target version to open the version comparison page. On the comparison page, you can select a different version from the filter drop-down list. By default, the current version of the SelectDB or Doris cluster is compared with the target version.
Delete
Note-
You can delete the current cluster only when there are no associated compute sources under the current SelectDB or Doris cluster.
-
Deleted clusters cannot be recovered.
Click the
icon in the Actions column of the target cluster, select Delete, and in the dialog box that appears, click OK. -