# Does elastic Search Cluster Set Up leads to deletion of existing indexes?

**URL:** <https://discuss.elastic.co/t/does-elastic-search-cluster-set-up-leads-to-deletion-of-existing-indexes/88840>\
**Category:** Elasticsearch\
**Created:** [June 9, 2017, 11:58am UTC](https://discuss.elastic.co/t/does-elastic-search-cluster-set-up-leads-to-deletion-of-existing-indexes/88840 "2017-06-09T11:58:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priyanka\_Talwaria](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@Priyanka\_Talwaria](https://discuss.elastic.co/u/Priyanka_Talwaria)\
**Post date:** [June 9, 2017, 11:58am UTC](https://discuss.elastic.co/t/does-elastic-search-cluster-set-up-leads-to-deletion-of-existing-indexes/88840/1 "2017-06-09T11:58:15Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [June 9, 2017, 7:08pm UTC](https://discuss.elastic.co/t/does-elastic-search-cluster-set-up-leads-to-deletion-of-existing-indexes/88840/2 "2017-06-09T19:08:38Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 7, 2017, 7:08pm UTC](https://discuss.elastic.co/t/does-elastic-search-cluster-set-up-leads-to-deletion-of-existing-indexes/88840/3 "2017-07-07T19:08:58Z")

</div>

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