About elasticsearch node change

Hi All.

Now I kept just one node on elasticsearch.
I would like to change from previous server to new server. And then I will add one more server.
So finally I will keep two node cluster.

For this working, I plan to following work:

  1. add new server and make two node cluster( old server + new server)
  2. remove old server (operate only new server)
  3. add new server one more and operate two node cluster (new server + new server)

Is this plan right?
Let me know if this plan is wrong.

Thank you.

Assuming your indexes have one replica each this should be okay.

Keep in mind that with a two-node cluster where both nodes are master-eligible you run the risk of a split brain situation. Consider adding a third master-only node to avoid this. The node doesn't need much in terms of CPU and RAM (compared to a data node at least).

Thank you for your answer.
Master-node doesn't have data ? right?
What does it doing exactly master node?

Please read https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html and come back if you have any further questions.

Thank you. :slight_smile: