# Change from Master + Data to just Master node - What happens to the data?

**URL:** <https://discuss.elastic.co/t/change-from-master-data-to-just-master-node-what-happens-to-the-data/126645>\
**Category:** Elasticsearch\
**Created:** [April 3, 2018, 11:09pm UTC](https://discuss.elastic.co/t/change-from-master-data-to-just-master-node-what-happens-to-the-data/126645 "2018-04-03T23:09:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bitva77](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bitva77/32/66694_2.png) [@bitva77](https://discuss.elastic.co/u/bitva77)\
**Post date:** [April 3, 2018, 11:09pm UTC](https://discuss.elastic.co/t/change-from-master-data-to-just-master-node-what-happens-to-the-data/126645/1 "2018-04-03T23:09:23Z")

</div>

I saw similar questions but no answers (sorry if this is a duplicate still):

Am I correct in assuming that if I change a Master + Data node to just a Master only node that the shards that we're on that server will get replicated to other Data eligible nodes?

Thanks!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 4, 2018, 2:42am UTC](https://discuss.elastic.co/t/change-from-master-data-to-just-master-node-what-happens-to-the-data/126645/2 "2018-04-04T02:42:08Z")

</div>

I don't think so. But I never tested that scenario.

What I'd probably do in that case is to manually exclude the IP of the master+data nodes for all indices then wait for relocation then switch off the node, change it to master only and restart.

My 2 cents.

---

<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:** [May 2, 2018, 2:42am UTC](https://discuss.elastic.co/t/change-from-master-data-to-just-master-node-what-happens-to-the-data/126645/3 "2018-05-02T02:42:09Z")

</div>

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