Creating a DWS Storage-Compute Coupled Cluster
To use Huawei Cloud DWS, create a data warehouse cluster first. When you create a data warehouse cluster, the yearly/monthly billing mode is used by default, which is more favorable than the pay-per-use billing mode. You can customize the computing resources and storage space of the cluster. If you select the pay-per-use mode, nodes will be billed by actual duration of use, with a billing cycle of one hour. This mode is flexible. You can enable or disable the service whenever you like.
This section describes how to create a data warehouse cluster on the DWS console.
Notes and Constraints
- You are advised not to use clusters with low specifications, such as clusters with 16 GB memory and 4 vCPUs, in the production environment. Otherwise, resource overload may occur.
- To ensure load balancing and high availability for the cluster and prevent service interruptions, you are not advised to connect services directly to a single CN. Instead, configure load balancing to balance the connection to each CN.
- The DWS clusters under the same account are physically isolated and cannot share data.
- To ensure stable service running, read Before You Start: Performance Management Requirements and Before You Start: High Availability and Reliability Requirements after creating a cluster.
Preparations Before Creating a Cluster
- Evaluate the flavor of cluster nodes.
You can select the number of nodes by data volume, service load, and performance. More nodes bring you stronger storage and compute capabilities.
When first using DWS, you can create a cluster with a smaller flavor. Then, you can adjust the cluster scale and node flavor based on the data volume and service load changes without interrupting services. For details, see Scaling Out a Cluster.
- Determine the number of nodes that can be used by users.
The number of available nodes is determined by the product type you select, and there must be at least three available nodes. Otherwise, the system displays a message indicating that the cluster cannot be created.
If you have yearly/monthly nodes that meet service requirements, you are advised to use these nodes first to save costs. You can select Yearly/Monthly for Billing Mode.
If the number of requested nodes, vCPU (cores), or memory (GB) exceed the user's remaining quota, a warning dialog box is displayed, indicating that the quota is insufficient and displaying the detailed remaining quota and the current quota application. You can click Increase quota in the warning dialog box to submit a service ticket and apply for higher node quota. Once approved, we will update your resource quota accordingly and send you a notification. For details, see Quotas.
Procedure
- Go to the page for creating a DWS cluster. Configure the DWS cluster information as prompted.
- Configure the cluster, including Basic Configuration, Specifications Configuration, Network, EIP, and ELB, Cluster Management, and Database Management, Database Encryption, and More Configurations.
- Select a billing mode. If you select the yearly/monthly mode, you also need to configure the service duration. For details, see Yearly/Monthly Subscription.
- In the Configuration Summary area on the right, confirm the configurations and click Buy Now. If you select the yearly/monthly billing mode, you will be redirected to the payment page after clicking Buy Now.
- After the submission is successful, the creation starts. Click Back to Cluster List. The cluster management page is displayed. The initial status of the cluster is Creating. The cluster creation takes some time. Clusters in the Available state are ready for use.
| Parameter | Description | Precaution | Example Value |
|---|---|---|---|
| Region | Select the AZ for the cluster nodes to run. | For more information about regions, visit Regions and Endpoints. | - |
| Billing Mode | Select a billing mode as required. For details, see Billing Description.
| - | Yearly/Monthly |
| AZ | You can select one AZ or multiple AZs (select three AZs from the drop-down list). For more information, see Regions and AZs. |
| AZ1 |
| Parameter | Description | Precaution | Example Value |
|---|---|---|---|
| Version | Product type. It can be:
| - | Coupled storage and compute |
| Storage Type | It can be:
| Local SSD disks do not support disk scale-out. For more information, see Disk Types and Performance. | - |
| Node Flavor | Select the desired node flavor based on service requirements. The node flavor list displays the CPU architecture, vCPUs, memory, compute type, and deployment type of node of each flavor. |
| dws.dc.4xlarge |
| Hot storage | Available storage capacity of each node. |
| - |
| Nodes | Specify the number of nodes in the cluster. The number of nodes ranges from 3 to 1,024. | The number of nodes in a new cluster cannot exceed the quota that can be used by a user or 1,024. Click Increase quota to submit a service ticket and apply for higher node quota if the node quota is insufficient. | 3 |
| Parameter | Description | Precaution | Example Value |
|---|---|---|---|
| VPC | Specify a virtual private network for nodes in a cluster to isolate networks of different services.
|
| vpc-dws |
| Subnet | Specify a VPC subnet. A subnet provides dedicated network resources that are isolated from other networks, improving network security. | After a cluster is created, the subnet cannot be modified. If you need to modify the subnet, you can restore the snapshot of the cluster to a new cluster. The data of the new cluster is the same as that of the old cluster, and the subnet can be modified when the new cluster is created. | subnet-dws |
| Security Group | Specify a VPC security group. A security group restricts access rules to enhance security when DWS and other services access each other.
|
| Automatic creation |
| EIP | Whether users can use a client to connect to a cluster's database over the Internet.
|
| - |
| ELB | Whether ELB is bound. With ELB health checks, CN requests of a cluster can be quickly forwarded to normal CNs. If a CN is faulty, the workload can be immediately shifted to a healthy node, minimizing cluster access faults.
| Configure load balancing to ensure load balancing and high availability of the cluster and prevent service interruptions. You are not advised to directly connect services to a single CN. Currently, ELBs can be bound in the same VPC or across VPCs. | - |
For how to set the parameters in this area, see Table 4.
| Parameter | Description | Precaution | Example Value |
|---|---|---|---|
| Cluster Name | Set the name of the data warehouse cluster. | Enter 4 to 64 characters. Only letters (case-insensitive), digits, hyphens (-), and underscores (_) are allowed. The name must start with a letter. | DWS-demo |
| Cluster Version | Displays the version of the database instance installed in the cluster. The example version number is for reference only. | - | - |
| Time Zone | You can set the time zone for the tenant cluster, including the system OS time zone and cluster data warehouse time zone. | - | - |
| Enterprise Project | Enterprise project of the cluster. This parameter is available only to users who have enabled the enterprise project management service. An enterprise project facilitates project-level management and grouping of cloud resources and users. You can select the default enterprise project default or other existing enterprise projects. To create an enterprise project, log in to the EPS console. For details, see the Enterprise Management User Guide. | - | default |
| Tags | Tags are key-value pairs used to identify clusters. You can click +Add to add tags to the cluster. By default, no tag is added to the cluster. For details about tags, see Overview.
|
| - |
The default database is set to gaussdb (which cannot be changed). Table 5 lists the database management, database encryption, and more configurations.
| Parameter | Description | Precaution | Example Value |
|---|---|---|---|
| Administrator Account | Set the database administrator name. | The administrator username must:
| dbadmin |
| Administrator Password | Set the password of the database administrator account. Change the password regularly and keep it secure. | The password must:
| - |
| Confirm Password | Enter the database administrator password again. | - | - |
| Database Port | Specify the port used when the client or application connects to the database in the cluster. The port number ranges from 8000 to 30000. | The database port of a created cluster cannot be changed. You can specify the database port only when creating a cluster. | 8000 |
| Encrypt DataStore | If this function is enabled, Key Management Service (KMS) encrypts the cluster and the cluster's snapshot data. For clusters running 9.1.1.200 and later versions, you can select the encryption level (cluster-level or table-level). The function depends on KMS authorization instead of tenant agencies.
|
| - |
| More Configurations |
|
| - |
| Parameter | Description |
|---|---|
| Backup Device | Select OBS or NFS from the drop-down list. |
| NFS Backup File System Address (NFS) | NFS shared IP address. To mount the SFS shared path, enter its IP address. If successful, a mount directory will be created in the /var/chroot/nfsbackup directory of the cluster instance. |
| Parameter | Description |
|---|---|
| Required Duration (Yearly/Monthly) | Configure the required duration. You get a greater discount if you purchase a longer period. Price is displayed at the bottom of the page for your reference. You can click Pricing details to view the detailed price. |
| Auto-renewal (Yearly/Monthly) |
|
Handling the Cluster Creation Failure
If the cluster fails to be created, you can go to the DWS console and choose Cluster > Cluster List to view the cluster status and the cause of the creation failure.
Viewing the Cause of a Creation Failure
- Log in to the DWS console.
- In the navigation pane on the left, choose Cluster > Cluster List.
- In the cluster list, locate the cluster whose Cluster Status is Creation failed.
- Click View Details in the Cluster Status column to view the cause of the cluster creation failure.
If the fault persists, contact technical support.
Deleting a Cluster That Fails to Be Created
You can delete a cluster that fails to be created if you do not need it. Before deletion, check the cause of creation failure.
- Log in to the DWS console.
- In the navigation pane on the left, choose Cluster > Cluster List.
- In the cluster list, locate the row containing the failed cluster to be deleted, click More in the Operation column, and select Delete.
- In the displayed dialog box, confirm the deletion.
- After confirming that the information is correct, enter DELETE or click Auto Enter and click OK to delete the cluster. The cluster status in the cluster list will change to Deleting and the cluster deletion progress will be displayed.
When you delete a cluster, its automatically created security group is also deleted, as long as other clusters are not using it.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot

