Got it

Cluster Status Invalid And All Cluster Members Are Unknown.

296 0 1 0 1

Symptom

On the cluster management page of the portal of the master server on the VCN3020 cluster network, the cluster status is invalid and all cluster members are unknown.


Troubleshooting Guideline

    1. Abnormal ZooKeeper service: The ZooKeeper service is not started or the ZooKeeper cluster is abnormal.

    2. Abnormal center database: The center database service is abnormal or the MPU cannot connect to the center database.

Procedure

    Step 1      Check whether the ZooKeeper service is running properly. Log in to the server where the ZooKeeper is located in SSH mode (generally, the ZooKeeper is located on the member of the Cluster Server type in the cluster member list), and run the /home/ivs_scu/lib/zookeeper/bin/zkServer.sh status command to check the ZooKeeper status. If the command output is follower or leader, the ZooKeeper service is normal. If the command output is not running, the ZooKeeper service is not started.


Figure 1-1 Normal process information

a


Figure 1-2 Process exception information

b


     Step 2      If the ZooKeeper service is not started or is abnormal, run the /home/ivs_scu/lib/zookeeper/bin/zkServer.sh start command to start the ZooKeeper service, and check the ZooKeeper service status again. If the status is normal, check whether the cluster is recovered.

    Step 3      If the ZooKeeper service is still abnormal (that is, the cluster is not recovered), check the ZooKeeper log file in /home/ivs_scu/lib/zookeeper/log/zookeeper.out. Based on the logs, the ZooKeeper port has been occupied.


Figure 1-3 ZooKeeper error log information

c


        Step 4      The default port number of the ZooKeeper service is 2181. Run the netstat –anp | grep 2181 command to check the process that occupies port 2181.


Figure 1-4 ZooKeeper port usage

e

      Step 5      Run the kill -9 Process ID command to stop the process that occupies port 2181.

      Step 6      Manually restart the ZooKeeper service again. The cluster status becomes normal.


Root Cause

     The ZooKeeper process is suspended. You need to manually stop the process and restart the zookeeper service.


Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.