If the cross-AZ HA function is enabled for a cluster where ClickHouse has been deployed, the ClickHouse topology remains unchanged. This alarm is generated when the cross-AZ HA does not take effect if backup nodes of the same shard are in the same AZ.
This alarm is automatically cleared when the system detects that all shards meet the cross-AZ HA deployment requirements.
Alarm ID |
Alarm Severity |
Auto Clear |
---|---|---|
45433 |
Critical |
Yes |
Name |
Meaning |
---|---|
Source |
Specifies the cluster for which the alarm is generated. |
ServiceName |
Specifies the service for which the alarm is generated. |
HostName |
Specifies the host for which the alarm is generated. |
The current deployment of the ClickHouse service does not support cross-AZ HA.
After cross-AZ HA is enabled, all backup nodes of a shard are in the same AZ.
Modify the AZ of backup nodes.
cd {Client installation path}
source bigdata_env
kinit Component service user
zkCli.sh -serverService IP address of the node where the ZooKeeper instance resides:Client port
get /clickhouse/topo
If the ClickHouse is installed with multiple services, run the get /clickhouse{-n}/topo command. For example, if the ClickHouse-1 is installed, run the get /clickhouse-1/topo command.
[zk: 192.168.20.36:24002(CONNECTED) 0] get /clickhouse/topo <topo> <mcluster> <shard id="14" index="1"> <server id="15"> <replica>1</replica> <az>AZ1</az> <host>192-168-20-205</host> <port>21427</port> </server> <server id="16"> <replica>2</replica> <az>AZ1</az> <host>192-168-20-2205</host> <port>21427</port> </server> </shard> </mcluster> </topo>
Collect fault information.
This alarm is automatically cleared after the fault is rectified.
None