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
Enter the name of the current cluster. Only Chinese characters, English letters, digits, underscores (_), and hyphens (-) are supported. The name cannot exceed 128 characters in length.
Cluster Administrator
Select one or more members from the current tenant to become cluster administrators for the current cluster. Cluster administrators can manage the current cluster and perform operations such as downloading files, editing, viewing historical versions, and deleting.
Description (optional)
Enter a brief description of the current cluster. The description cannot exceed 128 characters in length.
Cluster security control
Available members: Specify which users can reference the configuration information of the current cluster 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
Enter the JDBC URL in the format
jdbc:mysql://<host>:<port>/<database name>.Username, Password
Enter the authentication username and password. To ensure that tasks run properly, make sure that the user has the required database permissions.
Catalog (optional)
Select a catalog. The available options include all catalogs in the cluster. The default value is empty (which means the internal default catalog).
FE Node URL
Enter the connection address of the FE node, which is used to access the FE node through the web server. The format is
<FE IP>:<HTTP Port>(The HTTP Port is typically 8030 by default). You can configure multiple FE nodes separated by commas (,).
Click Test Connection. After the connection test is successful, click Save to complete the creation of the SelectDB or Doris cluster.
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 SelectDB or Doris cluster list. The list displays information such as cluster name, cluster administrator, associated compute sources, creation information, and modification information.
Associated Compute Sources: Displays the total number of associated compute sources. Click the
icon to view the list of associated compute sources. Click a compute source name to navigate to the compute source page.Creation Information: Records the creator and creation time.
Modification Information: Records the username of the user who last edited the current cluster and the modification time.
NoteCompute tasks can run only in one cluster. Data from different SelectDB or Doris clusters cannot be joined.
(Optional) You can enter a cluster name in the search box to perform a fuzzy search.
In the Actions column of the SelectDB or Doris cluster list, perform related management operations on the target cluster. The supported operations are as follows.
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 SelectDB or Doris Cluster page. You can modify the existing configurations on the page. After you complete the modifications, 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 automatically clone all data from the current 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
NoteYou 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.