This alarm is generated when a single replica is detected in a custom logical cluster after the custom logical cluster is enabled for ClickHouse.
This alarm is automatically cleared when the system detects that the custom logical cluster uses multiple replicas.
Alarm ID |
Alarm Severity |
Auto Clear |
---|---|---|
45434 |
Major |
Yes |
Name |
Meaning |
---|---|
Source |
Specifies the cluster or system for which the alarm is generated. |
ServiceName |
Specifies the service for which the alarm is generated. |
RoleName |
Specifies the role for which the alarm is generated. |
HostName |
Specifies the host for which the alarm is generated. |
If a hardware fault occurs, data cannot be restored.
The metrika.xml file in the ClickHouse configuration directory contains single-replica configuration.
Check whether the configuration in metrika.xml of the ClickHouse instance is correct.
cd ${BIGDATA_HOME}/FusionInsight_ClickHouse_Version/x_x_ClickHouseServer/etc
cat metrika.xml
If a shard contains only one node, a single replica exists in a logical cluster, as shown in the following:
<shard> <internal_replication>true</internal_replication> <replica> <host>host-name1</host> <port>port</port> <user>clickhouse</user> <password/> </replica> </shard>
Collect fault information.
This alarm is automatically cleared after the fault is rectified.
None