Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Scaling Out an MRS Cluster

Updated on 2024-09-23 GMT+08:00

The storage and computing capabilities of MRS can be improved by simply adding Core nodes or Task nodes instead of modifying system architecture, reducing O&M costs. Core nodes can process and store data. You can add Core nodes to expand the node quantities and handle peak loads. Task nodes are used to process data instead of storing persistent data.

NOTE:
  • Only Master, Core, and Task nodes can be added.
  • When you log in to a node added for scale-out as user root, the password set during cluster creation is required.

Constraints

Scaling Out a Cluster Billed in Pay-per-Use Mode

  1. Log in to the MRS console.
  2. Choose Active Clusters, select a running cluster, and click its name to switch to the cluster details page.
  3. Click the Nodes tab. In the Operation column of the node group, click Scale Out. The Scale Out page is displayed.

    The scale-out operation can only be performed on the running clusters.

  4. Set the type of System Disk and Data Disk, Scale-Out Nodes, Enable Components and Run Bootstrap Action, and click OK. The Enable Components and Run Bootstrap Action parameters may not be supported by clusters of some versions. The operations are subject to the UI.

    NOTE:
    • If the Task node group does not exist in the cluster, configure the Task node by referring to Related Tasks.
    • If a bootstrap action is added during cluster creation, the Run Bootstrap Action parameter is valid. If this function is enabled, the bootstrap actions added during cluster creation will be run on all the scaled out nodes.
    • If the New Specifications parameter is available, the specifications that are the same as those of the original nodes have been sold out or discontinued. Nodes with new specifications will be added.
    • Before scaling out the cluster, check whether its security group configuration is correct. Ensure that an inbound security group rule contains a rule in which Protocol & Port is set to All, and Source is set to a trusted accessible IP address range.

  5. In the Add Node dialog box, click OK.
  6. A dialog box is displayed in the upper right corner of the page, indicating that the scale-out task is submitted successfully.

    The following parameters explain the cluster scale-out process:
    • During scale-out: If a cluster is being scaled out, its status is Scaling out. The submitted jobs will be executed and you can submit new jobs. You are not allowed to continue to scale out or delete the cluster. You are advised not to restart the cluster or modify the cluster configuration.
    • Successful scale-out: The cluster status is Running. The resources used in the old nodes and expanded nodes are charged.
    • Failed scale-out: The cluster status is Running. You can execute jobs and scale out the cluster again.

    After the cluster is scaled out, you can view the node information of the cluster on the Nodes page.

Scaling Out a Cluster Billed in Yearly/Monthly Mode

  1. Log in to the MRS console.
  2. Choose Active Clusters, select a running cluster, and click its name to switch to the cluster details page.
  3. Click the Nodes tab. In the Operation column of the node group, click Scale Out. The Scale Out page is displayed.

    The scale-out operation can only be performed on the running clusters.

  4. Set the type of the System Disk and Data Disk, Scale-Out Nodes, Enable Components and Run Bootstrap Action. The system displays the expiration time of the cluster and the fee required for adding nodes. Enable Components and Run Bootstrap Action may not be supported by clusters of some versions. The operations are subject to the UI.

    NOTE:
    • If a bootstrap action is added during cluster creation, the Run Bootstrap Action parameter is valid. If this function is enabled, the bootstrap actions added during cluster creation will be run on all the scaled out nodes.
    • If the New Specifications parameter is available, the specifications that are the same as those of the original nodes have been sold out or discontinued. Nodes with new specifications will be added.
    • Before scaling out the cluster, check whether its security group configuration is correct. Ensure that an inbound security group rule contains a rule in which Protocol & Port is set to All, and Source is set to a trusted accessible IP address range.
    • Click Submit Order.

      On the Purchase MapReduce Service page, click Pay.

    • Click Confirm order, not pay.

      On the cluster information page, choose Fee > My Order and click Pay.

  5. After the payment is successful, return to the MRS management console to view the cluster status.

    The following parameters explain the cluster scale-out process:
    • During scale-out: If a cluster is being scaled out, its status is Scaling out. The submitted jobs will be executed and you can submit new jobs. You are not allowed to continue to scale out or delete the cluster. You are advised not to restart the cluster or modify the cluster configuration.
    • Successful scale-out: The cluster status is Running. The resources used in the old nodes and expanded nodes are charged.
    • Failed scale-out: The cluster status is Running. You can execute jobs and scale out the cluster again.

    After the cluster is scaled out, you can view the node information of the cluster on the Nodes page.

Adding a Task Node

You can scale out an MRS cluster by manually adding task nodes.

To add a task node to a custom cluster, perform the following steps:

  1. On the cluster details page, click the Nodes tab and click Add Node Group. The Add Node Group page is displayed.
  2. Select Task forNode Type. Retain the default value NM for Deploy Roles. To deploy the NodeManager role, the node type must be Task. Set other parameters as required.
    Figure 1 Adding a task node group
To add a task node to a non-custom cluster, perform the following steps:
  1. On the cluster details page, click the Nodes tab and click Configure Task Node. The Configure Task Node page is displayed.
  2. On the Configure Task Node page, set Node Type, Instance Specifications, Nodes, System Disk. In addition, if Add Data Disk is enabled, configure the storage type, size, and number of data disks.

  3. Click OK.

Adding a Node Group

NOTE:

Used to add node groups and applies to customized clusters of MRS 3.x.

  1. On the cluster details page, click the Nodes tab and click Add Node Group. The Add Node Group page is displayed.
    Figure 2 Clicking Add Node Group
  2. Set the parameters as needed.
  3. Click OK.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback