As of now my elastic search set up exists only on one machine.Now I want to set up elastic search cluster using two nodes.If I make my existing machine as master and data node new machine,then will my existing indexex and data get lost from my master/existing machine?
As per my finding/experiment it got lost,please update if I am wrong.
If the nodes have the same specification, keep the first node configured to hold data and be master eligible and then add the second node. You should then not lose any data. If you are looking for high availability, you should aim to have at least 3 nodes that are master eligible. Also remember to always set minimum_master_nodes to floor(N/2)+1, where N is the number of master eligible nodes in the cluster.
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.