I have configured 3 node ES cluster.
All 3 nodes are master eligible. So if one goes down other should be eligible to elect itself as a master node and will form a 2 node cluster.
How i can check this with my cluster?
Can anyone guide me on this more?
And where i can see exactly this means one master is down and other node elect itself as master node and remaining 2 nodes are communicating with each other.
How i can check this is happening? like any UI is there?
The identity of the master node is not relevant. It may change at any time. It is sufficient to check that GET _cluster/health reports green (or yellow).
Strangely i got an issue with this. If i kill my current master node the role does not get switch and my cluster become unavailable while having 3 master eligible node on my cluster
Please don't post images of text as they are hard to read, may not display correctly for everyone, and are not searchable.
Instead, paste the text and format it with </> icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it. This makes it more likely that your question will receive a useful answer.
It would be great if you could update your post to solve this.
Here is what I can see on my side:
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
172.23.0.2 8 94 2 0.16 0.07 0.06 dilm * c4c5acf93d1e
As you can see there is a master field with a * for the current master node.
That's what you're looking for I think.
I do not want to display ip addresses as company policy. so that is why i was updating it in excel.
Now i have edited the post.
Yes i can find now which is the master node by symbol *.
In node.master, i can see dilm is mentioned.
what does that mean?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.