El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

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
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
On this page

Show all

Scaling In ClickHouseServer Nodes

Updated on 2024-11-29 GMT+08:00

Before removing ClickHouseServer instance nodes, you need to decommission them. Multiple node replicas of the same shard must be decommissioned at the same time. If there is a faulty ClickHouseServer instance node in the cluster, all instance nodes of the cluster cannot be decommissioned. For more constraints, see Constraints on ClickHouseServer Scale-in.

NOTE:
  • Perform the decommissioning in idle hours because the operation will occupy certain bandwidth resources.
  • The decommissioning operation can be performed only to ClickHouseServer. ClickHouseBalancer cannot be decommissioned.
  1. Use PuTTY to log in to the node where ClickHouseServer is installed as user root and run the following command:

    echo 'select * from system.clusters' | curl -k 'https://IP address of the node where the ClickHouseServer instance is located:Port number/' -u ck_user:Password --data-binary @-

    Record the nodes of the same shard. In the following command output, the nodes with the same number in bold belong to the same shard.

    [root@kwephispra44948 ~]# echo 'select * from  system.clusters' | curl -k 'https://10.112.17.189:21422/' -u ck_user:Bigdata_2013  --data-binary @-
    default_cluster 1       1       1       kwephispra44947 10.112.17.150  21427   0                       0       0
    default_cluster 1       1       2       kwephispra44948 10.112.17.189  21427   0                       0       0
    NOTE:
    • To view the port number of ClickHouseServer instance nodes, log in to FusionInsight Manager, choose Cluster > Services > ClickHouse, click Configuration > All Configurations, and choose ClickHouseServer (Role) on the left.

      In security mode (Kerberos authentication enabled), check the value of https_port, which is the port of a ClickHouseServer instance node.

      In common mode (Kerberos authentication disabled), check the value of http_port, which is the port of a ClickHouseServer instance node.

    • ck_user indicates the created ClickHouse user, which must be bound to a role with the ClickHouse administrator permission. For details about how to create a user and a role, see Creating a User and Managing Roles, respectively.

  2. Log in to the MRS console and click the cluster name to go to the cluster details page.
  3. Click the Components tab and click ClickHouse. Then switch to Instances, select the ClickHouseServer instances to be removed, click More, and select Decommission.

  4. Click the Components tab and click ClickHouse. Then click More, and select Synchronize Configuration.

  5. Click the Nodes tab and click the ClickHouseServer instance node that has been decommissioned.
  6. On the ECS page, click Stop. In the displayed dialog box, select Forcibly stop the preceding ECSs and click Yes.
  7. Go back to the MRS console, click the Nodes tab, locate the row that contains the target node group, and click Scale In in the Operation column to go to the Scale In page.
  8. Set Scale-In Type to Specific node and select the node to be removed.
  9. Select I understand the consequences of performing the scale-in operation. Click OK.
  10. Click the Components tab and check whether each component is normal. If any component is abnormal, wait for 5 to 10 minutes and check the component status again. If the fault persists, contact technical support.
  11. Click the Alarms tab and check whether there are exception alarms. If there are exception alarms, clear them before performing other operations.

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback