Reboot elastic after power off, the status is red, What should I do?

(yuluopiaoyang) #1

I have installed elasticsearch on two nodes. Our lab power off last weekend. Then I reboot elasticsearch today, but the cluster status is red, what should I do? Thank you!

(Thomas Dasch) #2

Red means you are missing primary shards. What version of Elasticsearch are you using? If higher then 5.1 (I think it started in 5.1) you can use the Cluster Allocation Explain API to figure out what is going on with the shards in your cluster. Check the documentation here. Feel free to ask followup questions if you need guidance after trying out the API.

(yuluopiaoyang) #3

Thank you for your reply. I will try to use this method to find the reason the next time.

(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.