# Disable shard allocation when bouncing different node types?

**URL:** <https://discuss.elastic.co/t/disable-shard-allocation-when-bouncing-different-node-types/142804>\
**Category:** Elasticsearch\
**Created:** [August 2, 2018, 7:53pm UTC](https://discuss.elastic.co/t/disable-shard-allocation-when-bouncing-different-node-types/142804 "2018-08-02T19:53:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seancdugan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seancdugan/32/34034_2.png) [@seancdugan](https://discuss.elastic.co/u/seancdugan)\
**Post date:** [August 2, 2018, 7:53pm UTC](https://discuss.elastic.co/t/disable-shard-allocation-when-bouncing-different-node-types/142804/1 "2018-08-02T19:53:33Z")

</div>

I've looked all over and haven't found anyone asking this question.

My elasticsearch environment has each elasticsearch role running on different VMs. Example: 3 master nodes running on 3 separate VMs, 3 client nodes running on 3 separate VMs, 10 data nodes running on 10 separate VMs.

With this architecture if I want to do a full rolling restart (one at a time regardless of role) of the cluster is it necessary to disable shard allocation when bouncing each master and client node? My knowledge of elasticsearch makes me think I should only need to disable shard allocation when bouncing the data nodes.

Edit: [https://www.elastic.co/guide/en/elasticsearch/guide/2.x/\_rolling\_restarts.html](https://www.elastic.co/guide/en/elasticsearch/guide/2.x/_rolling_restarts.html) for reference.

---

<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:** [August 30, 2018, 7:53pm UTC](https://discuss.elastic.co/t/disable-shard-allocation-when-bouncing-different-node-types/142804/2 "2018-08-30T19:53:36Z")

</div>

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