Help Center > > User Guide> FusionInsight Manager Operation Guide (Applicable to 3.x)> Alarm Reference (Applicable to MRS 3.x)> ALM-45425 ClickHouse Service Unavailable

ALM-45425 ClickHouse Service Unavailable

Updated at: Sep 02, 2021 GMT+08:00

Description

The alarm module checks the ClickHouse instance status every 60 seconds. This alarm is generated when the alarm module detects that all ClickHouse instances are abnormal.

This alarm is cleared when the system detects that any ClickHouse instance is restored and the alarm is cleared.

Attribute

Alarm ID

Alarm Severity

Auto Clear

45425

Critical

Yes

Parameters

Name

Meaning

Source

Specifies the cluster or system for which the alarm is generated.

ServiceName

Specifies the name of the service for which the alarm is generated.

RoleName

Specifies the name of the role for which the alarm is generated.

HostName

Specifies the host for which the alarm is generated.

Impact on the System

The ClickHouse service is abnormal. You cannot use FusionInsight Manager to perform cluster operations on the ClickHouse service. The ClickHouse service function is unavailable.

Possible Causes

The configuration information in the metrika.xml file in the component configuration directory of the faulty ClickHouse instance node is inconsistent with that of the corresponding ClickHouse instance in the ZooKeeper.

Procedure

Check whether the configuration in metrika.xml of the ClickHouse instance is correct.

  1. Log in to FusionInsight Manager, choose Cluster > Services > ClickHouse > Instance, and locate the abnormal ClickHouse instance based on the alarm information.

    • If yes, go to 2.
    • If no, go to 9.

  2. Log in to the host where the ClickHouse service is abnormal and ping the IP address of another normal ClickHouse instance node to check whether the network connection is normal.

    • If yes, go to 3.
    • If no, contact the network administrator to repair the network.

  1. Choose Cluster > Services > ClickHouse > Instance, click the abnormal instance name in the Role column, click Configurations, search for macros.id in the search box, and find the value of macros.id of the current instance.

  2. Log in to the host where the ZooKeeper client is located and log in to the ZooKeeper client.

    Switch to the client installation directory.

    Example: cd /opt/client

    Run the following command to configure environment variables:

    source bigdata_env

    Run the following command to authenticate the user (skip this step in common mode):

    kinit Component service user

    Run the following command to log in to the client tool:

    zkCli.sh -server service IP address of the node where the ZooKeeper role instance locates:client port

  3. Run the following command to check whether the ClickHouse cluster topology information can be obtained.

    get /clickhouse/config/value of macros.id in 3/metrika.xml

    • If yes, go to 6.
    • If no, go to 9.

  1. Log in to the host where the ClickHouse instance is abnormal and go to the configuration directory of the ClickHouse instance.

    cd ${BIGDATA_HOME}/FusionInsight_ClickHouse_Version/x_x_ClickHouseServer/etc

    cat metrika.xml

  2. Check whether the cluster topology information on ZooKeeper obtained in 5 is the same as that in the metrika.xml file in the component configuration directory in 6.

    • If yes, check whether the alarm is cleared. If the alarm persists, go to 9.
    • If no, go to 8.

  3. On FusionInsight Manager, choose Cluster > Services > ClickHouse, click More, and select Synchronize Configuration. Wait for 5 minutes and check whether the service status is normal and whether the alarm is cleared.

    • If yes, no further action is required.
    • If no, go to 9.

Collect the fault information.

  1. On FusionInsight Manager, choose O&M > Log > Download.
  2. Expand the Service drop-down list, and select ClickHouse for the target cluster.
  3. Click in the upper right corner, and set Start Date and End Date for log collection to 1 hour ahead of and after the alarm generation time, respectively. Then, click Download.
  4. Contact O&M personnel and send the collected logs.

Alarm Clearing

After the fault that triggers the alarm is rectified, the alarm is automatically cleared.

Related Information

None

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel