Manually Buying an MRS Cluster
This section describes how to create an MRS cluster on the MRS console.
MRS consists of multiple big data components, and you can select the cluster type that best fits your service requirements, data types, reliability expectations, and resource budget.
You can quickly buy a cluster using the preset cluster template or select the component list and advanced settings to manually buy a cluster.
Video Tutorial
This tutorial demonstrates how to create an MRS 3.1.0 cluster on the management console and configure software, hardware, and advanced settings.
The UI may vary depending on the version. This tutorial is for reference only.
Manually Buying an MRS Cluster
- Go to the Buy Cluster page.
- Click the Custom Config tab.
When creating a cluster, pay attention to quota notification. If a resource quota is insufficient, increase the resource quota as prompted and create a cluster.
- In the basic configuration area, set basic information about the MRS cluster.
- Billing Mode: MRS provides two billing modes: yearly/monthly and pay-per-use.
- Region: Resources in different regions cannot communicate through intranet. To enhance access speed and minimize network latency, it is advised to choose the nearest region when selecting the location of your resources.
- Configure the MRS cluster information as prompted.
When creating a cluster, you need to configure the cluster version, network, node specifications and quantity, and other advanced settings.
- After the cluster information is configured, click Buy Now.
If Kerberos authentication is enabled for a cluster, check whether Kerberos authentication is required. If yes, click Continue. If no, click Back to disable Kerberos authentication and then create a cluster. This function cannot be changed after you buy a cluster.
- For any doubt about the pricing, click Pricing details in the lower left corner.
- If you select the pay-per-use billing mode, the order may fail to be placed because the account may be in risk. In this case, contact technical support.
- Click Back to Cluster List to view the cluster status.
Wait for the cluster creation to complete. The initial status of the cluster is Starting. After the cluster is created, the cluster status becomes Running.
On the MRS console, a maximum of 10 clusters can be created concurrently, and a maximum of 100 clusters can be managed.
For details about cluster status during creation, see the description of the status parameters in Table 1.
MRS Cluster Node Configuration
Parameter |
Description |
Example Value |
---|---|---|
CPU Architecture |
CPU architecture type of an MRS cluster node. The value can be x86 or Kunpeng. This parameter is not available for MRS 3.1.0 and 3.1.5. |
x86 |
Common Node Configurations |
This parameter is available only when Cluster Type is set to Custom. Value options include Compact, Full-size, and OMS-separate. For details, see MRS Cluster Deployment Types. |
Compact |
Node Group |
Name of the node group in the cluster.
|
node_group_1 |
Node Type |
If Cluster Type is set to Custom, you can select the node type of a non-Master node group. If the node group type is set to Task, only the NodeManager role (except the mandatory roles of nodes) can be deployed in the node group. |
Core |
Payment Type |
Billing mode of nodes in a cluster.
|
Pay-per-use |
Node Count |
Configure node quantity in each node group.
NOTE:
A small number of nodes may cause clusters to run slowly while a large number of nodes may be unnecessarily costly. Set an appropriate value based on data to be processed. |
- |
Instance Specifications |
Select the instance specifications of the MRS cluster node. You can click to adjust the specifications. For details about the MRS cluster node specifications, see MRS Cluster Node Specifications.
NOTE:
|
- |
System Disk |
You can adjust the storage type and space of the system disk on a node as required. For details about the MRS cluster storage, see Disk Roles. |
- |
Data Disk |
Storage type and space of data disks on a node. To increase the data storage capacity, you can add disks during cluster creation. A maximum of 10 disks can be added to each Core or Task node. For more information about MRS cluster storage, see Disk Roles. |
- |
LVM |
This parameter is valid when a streaming Core node is created only. Click this parameter to enable or disable the disk LVM management function. This parameter is not available in MRS 3.x and later versions. If LVM is enabled, all disks on a node are mounted as logical volumes. This delivers more proper disk planning to avoid data skew, thereby improving system stability. |
Disable this function. |
Topology Adjustment |
If Cluster Type is set to Custom, you can adjust the deployment of each component in the cluster in the node group. Set Topology Adjustment to Enable and adjust the instance deployment mode based on service requirements. For details, see Role Deployment Rules for MRS Clusters. |
Disable this function. |
Other MRS Cluster Configuration Parameters
Parameter |
Description |
Example Value |
---|---|---|
Kerberos Authentication |
Whether to enable Kerberos authentication for each component in the MRS cluster. If Kerberos authentication is enabled, users can access component resources only after being authenticated. This function cannot be changed after you buy a cluster. |
Switch this function on. |
Username |
Name of the administrator of Manager. admin is used by default. |
admin |
Password/Confirm Password |
Password of the Manager administrator admin. Keep the password secure.
|
- |
Login Mode |
Method for logging in to a node in the MRS cluster.
|
Password |
Kerberos Encryption Type |
Encryption algorithm and method used by Kerberos. (This parameter is supported in MRS 3.3.1-LTS and later versions. In earlier versions, the default Kerberos encryption type is aes256-sha1,aes128-sha1.)
|
aes256-sha2,aes128-sha2 |
Set Advanced Options |
Advanced function parameters of the MRS cluster. For details, see Table 5. |
- |
Enterprise Project |
Select the enterprise project to which the cluster belongs. To use an enterprise project, create one on the Enterprise > Project Management page. The Enterprise Management console is designed for resource management. It helps you manage cloud-based personnel, resources, permissions, and finance in a hierarchical manner, such as management of companies, departments, and projects. |
default |
Required Duration |
This parameter is valid in Yearly/Monthly billing mode and indicates a cluster subscription duration. The minimum cluster duration is 1 month and the maximum available cluster duration is 1 year. If Auto-renew is selected, monthly subscriptions are automatically renewed every month and yearly subscriptions are automatically renewed every year. |
- |
Secure Communications |
To allow the MRS console to access big data components in the user VPC, you need to activate the relevant security group rules. For details, see Configuring Secure Communication Authorization for an MRS Cluster. |
Select this function. |
Parameter |
Description |
Example Value |
---|---|---|
Hostname Prefix |
Enter the prefix for the computer hostname of an ECS or BMS in the cluster. |
- |
Cryptographic Algorithm |
Algorithm used for encrypting and decrypting passwords in the cluster system.
|
International |
Tag |
It is recommended that you use the tag function of TMS to add the same tag to different cloud resources. For details, see Adding a Tag to an MRS Cluster/Node. |
- |
Auto Scaling |
Configure an auto scaling policy for the Task node group after the cluster is created. For details, see MRS Task Node Auto Scaling. |
- |
Bootstrap Action |
Bootstrap actions run scripts on specified nodes in a cluster to install third-party software and modify the cluster's running environment. For details, see Adding MRS Node Bootstrap Actions and Installing Third-Party Software. |
- |
Agency |
When an agency is bound to an ECS or BMS, it can manage designated resources in the cluster. It is essential to consider service requirements before deciding to configure an agency. For example, you can configure an ECS agency to automatically obtain the AK/SK to access OBS. For details, see Interconnecting an MRS Cluster with OBS Using an IAM Agency. To bind an agency to an MRS cluster, you need to create an IAM agency with required permissions in advance. By default, the system generates an MRS_ECS_DEFAULT_AGENCY agency. This agency has the OBSOperateAccess permission and the CESFullAccess (for users who have enabled fine-grained policies), CES Administrator, and KMS Administrator permissions in the region where the cluster is located. |
Bind later |
Metric Sharing |
Monitoring metrics of big data components are collected. If a fault occurs when you use a cluster, share the monitoring metrics with Huawei Cloud technical support for troubleshooting. |
Disable |
System Disk Encryption |
Whether to encrypt data in the system disk mounted to the MRS cluster node. This function is disabled by default. Keys used by encrypted system disks are provided by Key Management Service (KMS) in Data Encryption Workshop (DEW). You do not need to build and maintain the key management infrastructure. To enable this function, you must have the Security Administrator and KMS Administrator permissions. For more information about disk encryption, see Managing Encrypted EVS Disks. Configure the following parameters to enable this function:
|
Disable |
Data Disk Encryption |
Whether to encrypt data in the data disk mounted to the MRS cluster node. This function is disabled by default. MRS 3.1.0 and MRS 3.1.2-LTS.3 do not support this function. For more information about disk encryption, see Managing Encrypted EVS Disks. Keys used by encrypted system disks are provided by Key Management Service (KMS) in Data Encryption Workshop (DEW). You do not need to build and maintain the key management infrastructure. To enable this function, you must have the Security Administrator and KMS Administrator permissions. Configure the following parameters to enable this function:
|
Disable |
Alarm |
If the alarm function is enabled, the cluster maintenance personnel can be notified in a timely manner to locate faults when the cluster runs abnormally or the system is faulty. To send alarm messages, you need to enable the Simple Message Notification (SMN) service, set a notification rule, and bind the rule to an SMN topic.
|
Enable |
Install UniAgent |
Install UniAgent on MRS cluster nodes to simplify plug-in management, provide AOM instructions, and enable script delivery and execution. |
No |
Logging |
Whether to collect logs when cluster creation fails. After the logging function is enabled, system logs and component run logs are automatically collected and saved to the OBS file system in scenarios such as cluster creation failures and scale-out or scale-in failures for O&M personnel to quickly locate faults. The log information is retained for a maximum of seven days. |
Disable |
Manually Adding a Task Node Group During MRS Cluster Creation
To add a Task node group in the current MRS cluster for auto scaling, do as follows:
- For a cluster whose Cluster Type is Analysis cluster or Hybrid cluster:
The system automatically adds the analysis Task node group task_node_analysis_group. Set the number of nodes, instance specifications, and node disk configurations as needed.
If the analysis Task node group is not required, you can delete it.
- For a cluster whose Cluster Type is Custom:
- In the cluster node configuration area, click Add Node Group to manually add a node group.
- Set Topology Adjustment to Enable.
- Select the role topology so that the node group contains only the NodeManager (NM) role.
Add a Task node group after the cluster is created. For details, see Adding a Task Node.
Adding streaming Task node group
For a streaming or hybrid cluster that contains the Storm component:
The system automatically adds the streaming Task node group task_node_streaming_group. Set the number of nodes, instance specifications, and node disk configurations as needed.
If the streaming Task node group is not required, you can manually delete it.
Viewing Failed MRS Cluster Creation Tasks
If a cluster fails to be created, the failed task will be managed on the Manage Failed Tasks page.
On the cluster list page, click to switch to the Manage Failed Tasks page. In the Task Status column, hover the cursor over the task status to view the failure cause.
Table 6 lists the error codes of MRS cluster creation failures.
Error Code |
Description |
---|---|
MRS.101 |
Insufficient quota to meet your request. Contact customer service to increase the quota. |
MRS.102 |
The token cannot be null or invalid. Try again later or contact customer service. |
MRS.103 |
Invalid request. Try again later or contact customer service. |
MRS.104 |
Insufficient resources. Try again later or contact customer service. |
MRS.105 |
Insufficient IP addresses in the existing subnet. Try again later or contact customer service. |
MRS.201 |
Failed due to an ECS error. Try again later or contact customer service. |
MRS.202 |
Failed due to an IAM error. Try again later or contact customer service. |
MRS.203 |
Failed due to a VPC error. Try again later or contact customer service. |
MRS.400 |
MRS system error. Try again later or contact customer service. |
Feedback
Was this page helpful?
Provide feedbackThank 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