# How to modify the ES configuration and reboot ES cluster properly?

**URL:** <https://discuss.elastic.co/t/how-to-modify-the-es-configuration-and-reboot-es-cluster-properly/96367>\
**Category:** Elasticsearch\
**Created:** [August 9, 2017, 2:55am UTC](https://discuss.elastic.co/t/how-to-modify-the-es-configuration-and-reboot-es-cluster-properly/96367 "2017-08-09T02:55:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [August 9, 2017, 2:55am UTC](https://discuss.elastic.co/t/how-to-modify-the-es-configuration-and-reboot-es-cluster-properly/96367/1 "2017-08-09T02:55:47Z")

</div>

ELK version: 5.5.1

Restart nodes one by one is terrible......

Should I refer to this guide? [https://www.elastic.co/guide/en/elasticsearch/reference/5.5/rolling-upgrades.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/rolling-upgrades.html)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 9, 2017, 4:53am UTC](https://discuss.elastic.co/t/how-to-modify-the-es-configuration-and-reboot-es-cluster-properly/96367/2 "2017-08-09T04:53:05Z")

</div>

That is the correct method.

Also we’ve renamed ELK to the Elastic Stack, otherwise Beats feels left out 😉

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [August 10, 2017, 3:57am UTC](https://discuss.elastic.co/t/how-to-modify-the-es-configuration-and-reboot-es-cluster-properly/96367/3 "2017-08-10T03:57:54Z")

</div>

So...If there are 10 nodes in the cluster, it possibly needs one day to restart all the nodes.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 10, 2017, 3:59am UTC](https://discuss.elastic.co/t/how-to-modify-the-es-configuration-and-reboot-es-cluster-properly/96367/4 "2017-08-10T03:59:13Z")

</div>

Why?

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [August 10, 2017, 4:03am UTC](https://discuss.elastic.co/t/how-to-modify-the-es-configuration-and-reboot-es-cluster-properly/96367/5 "2017-08-10T04:03:58Z")

</div>

When one node is restarted, should I wait all the shards been allocated and the cluster's status recover to green? This progress spend much time...

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 10, 2017, 4:07am UTC](https://discuss.elastic.co/t/how-to-modify-the-es-configuration-and-reboot-es-cluster-properly/96367/6 "2017-08-10T04:07:00Z")

</div>

If you are on version 5, then delayed allocation and synced shards should negate any delays.  
If they aren't, then it'd be great to know more information.

---

<div class="post-metadata">

**Author:** ![KeithTt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keithtt/32/29447_2.png) [@KeithTt](https://discuss.elastic.co/u/KeithTt)\
**Post date:** [August 10, 2017, 4:28am UTC](https://discuss.elastic.co/t/how-to-modify-the-es-configuration-and-reboot-es-cluster-properly/96367/7 "2017-08-10T04:28:37Z")

</div>

Even if I disable shard allocation and perform a synced flush before I restart each node, it still spends much time to recover after I reenable shard allocation...

---

<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:** [September 7, 2017, 4:29am UTC](https://discuss.elastic.co/t/how-to-modify-the-es-configuration-and-reboot-es-cluster-properly/96367/8 "2017-09-07T04:29:09Z")

</div>

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