# Shut down master-data node

**URL:** <https://discuss.elastic.co/t/shut-down-master-data-node/247556>\
**Category:** Elasticsearch\
**Created:** [September 4, 2020, 2:11pm UTC](https://discuss.elastic.co/t/shut-down-master-data-node/247556 "2020-09-04T14:11:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elastic\_user1](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@elastic\_user1](https://discuss.elastic.co/u/elastic_user1)\
**Post date:** [September 4, 2020, 2:11pm UTC](https://discuss.elastic.co/t/shut-down-master-data-node/247556/1 "2020-09-04T14:11:51Z")

</div>

I have shut down one node with both data and master roles. How can I remove this node from cluster? I have seen that the node have disappeared from my cluster and its replica shard became primary.

---

<div class="post-metadata">

**Author:** ![Steve\_Mushero](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steve_mushero/32/22441_2.png) [@Steve\_Mushero](https://discuss.elastic.co/u/Steve_Mushero)\
**Post date:** [September 5, 2020, 3:22am UTC](https://discuss.elastic.co/t/shut-down-master-data-node/247556/2 "2020-09-05T03:22:12Z")

</div>

What do you mean 'remove' as if it's down, it's already gone, i.e. removed. The cluster has already forgotten about it, as far as I know.

And of course other masters take over that function, and replica shards will be primary, plus if you have replica set to 1+, the cluster will create new replica shards (unless you have only one node left).

As long as your cluster is up and green, you are good.

---

<div class="post-metadata">

**Author:** ![elastic\_user1](https://avatars.discourse-cdn.com/v4/letter/e/5f9b8f/32.png) [@elastic\_user1](https://discuss.elastic.co/u/elastic_user1)\
**Post date:** [September 6, 2020, 12:43pm UTC](https://discuss.elastic.co/t/shut-down-master-data-node/247556/3 "2020-09-06T12:43:30Z")

</div>

Thank you for reply. I wanted to avoid manual reroute, that's why I decided to stop Elastic instance and then removed this server from cluster permanently.

---

<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:** [October 4, 2020, 12:43pm UTC](https://discuss.elastic.co/t/shut-down-master-data-node/247556/4 "2020-10-04T12:43:39Z")

</div>

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