Updated on 2022-08-12 GMT+08:00

ALM-13000 ZooKeeper Service Unavailable

Description

The system checks the ZooKeeper service status every 60 seconds. This alarm is generated when the ZooKeeper service is unavailable.

This alarm is cleared when the ZooKeeper service recovers.

Attribute

Alarm ID

Alarm Severity

Auto Clear

13000

Critical

Yes

Parameters

Name

Meaning

Source

Specifies the cluster 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.

Impact on the System

ZooKeeper cannot provide coordination services for upper layer components and the components that depend on ZooKeeper may not run properly.

Possible Causes

  • The DNS is installed on the ZooKeeper node.
  • The network is faulty.
  • The KrbServer service is abnormal.
  • The ZooKeeper instance is abnormal.
  • The disk capacity is insufficient.

Procedure

Check the DNS.

  1. Check whether the DNS is installed on the node where the ZooKeeper instance is located. On the Linux node where the ZooKeeper instance is located, run the cat /etc/resolv.conf command to check whether the file is empty.

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

  2. Run the service named status command to check whether the DNS is started.

    • If yes, go to 3.
    • If no, go to 5.

  3. Run the service named stop command to stop the DNS service. If "Shutting down name server BIND waiting for named to shut down (28s)" is displayed, the DNS service is stopped successfully. Comment out the content (if any) in /etc/resolv.conf.
  4. On the O&M > Alarm > Alarms tab, check whether the alarm is cleared.

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

Check the network status.

  1. On the Linux node where the ZooKeeper instance is located, run the ping command to check whether the host names of other nodes where the ZooKeeper instance is located can be pinged successfully.

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

  2. Modify the IP addresses in /etc/hosts and add the host name and IP address mapping.
  3. Run the ping command again to check whether the host names of other nodes where the ZooKeeper instance is located can be pinged successfully.

    • If yes, go to 8.
    • If no, go to 23.

  4. On the O&M > Alarm > Alarms tab, check whether the alarm is cleared.

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

Check the KrbServer service status (Skip this step if the normal mode is used).

  1. On FusionInsight Manager, choose Cluster > Name of the desired cluster > Services.
  2. Check whether the KrbServer service is normal.

    • If yes, go to 13.
    • If no, go to 11.

  3. Perform operations based on "ALM-25500 KrbServer Service Unavailable" and check whether the KrbServer service is recovered.

    • If yes, go to 12.
    • If no, go to 23.

  4. On the O&M > Alarm > Alarms tab, check whether the alarm is cleared.

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

Check the ZooKeeper service instance status.

  1. On FusionInsight Manager, choose Cluster > Name of the desired cluster > Services > ZooKeeper > quorumpeer.
  2. Check whether the ZooKeeper instances are normal.

    • If yes, go to 18.
    • If no, go to 15.

  3. Select instances whose status is not good, and choose More > Restart Instance.
  4. Check whether the instance status is good after restart.

    • If yes, go to 17.
    • If no, go to 18.

  5. On the O&M > Alarm > Alarms tab, check whether the alarm is cleared.

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

Check disk status.

  1. On FusionInsight Manager, choose Cluster > Name of the desired cluster > Service > ZooKeeper > quorumpeer, and check the node host information of the ZooKeeper instance.
  2. On FusionInsight Manager, click Host.
  3. In the Disk column, check whether the disk space of each node where ZooKeeper instances are located is insufficient (disk usage exceeds 80%).

    • If yes, go to 21.
    • If no, go to 23.

  4. Expand disk capacity. For details, see "ALM-12017 Insufficient Disk Capacity".
  5. On the O&M > Alarm > Alarms tab, check whether the alarm is cleared.

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

Collect fault information.

  1. On the FusionInsight Manager portal, choose O&M > Log > Download.
  2. Select the following nodes in the required cluster from the Service: (KrbServer logs do not need to be downloaded in normal mode.)

    • ZooKeeper
    • KrbServer

  3. Click in the upper right corner, and set Start Date and End Date for log collection to 10 minutes ahead of and after the alarm generation time, respectively. Then, click Download.
  4. Contact the O&M personnel and send the collected log information.

Alarm Clearing

After the fault is rectified, the system automatically clears this alarm.

Related Information

None