# Start and Stop order of ELK nodes

**URL:** <https://discuss.elastic.co/t/start-and-stop-order-of-elk-nodes/89037>\
**Category:** Elasticsearch\
**Created:** [June 12, 2017, 12:16pm UTC](https://discuss.elastic.co/t/start-and-stop-order-of-elk-nodes/89037 "2017-06-12T12:16:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Post date:** [June 12, 2017, 12:16pm UTC](https://discuss.elastic.co/t/start-and-stop-order-of-elk-nodes/89037/1 "2017-06-12T12:16:26Z")

</div>

I have the following setup.

Elasticsearch master nodes 3  
Elasticsearch hot data nodes 2  
Elasticsearch warm data nodes 2  
Elasticsearch co-ordinating nodes and kafka nodes 2  
Logstash 2 nodes  
kafka 3 nodes  
zookeeper 2 nodes.

What should be the start and stop order?

---

<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:** [June 12, 2017, 12:36pm UTC](https://discuss.elastic.co/t/start-and-stop-order-of-elk-nodes/89037/2 "2017-06-12T12:36:22Z")

</div>

I'd do:

- Elasticsearch master nodes 3
- Elasticsearch hot data nodes 2
- Elasticsearch warm data nodes 2
- Elasticsearch co-ordinating nodes

For the rest, I'm not sure as I don't know what you are doing but I guess that Logstash should be started at the end.

---

<div class="post-metadata">

**Author:** ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Post date:** [June 12, 2017, 12:47pm UTC](https://discuss.elastic.co/t/start-and-stop-order-of-elk-nodes/89037/3 "2017-06-12T12:47:11Z")

</div>

Thank you. Just to make sure the master node shouldn't start with the shards related balancing activities (routing/allocation/creation ..etc ) till all nodes comes up (may be a delay due to network latency) , should we configure specific elasticsearch configuration parameters on master nodes?

---

<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:** [June 12, 2017, 2:40pm UTC](https://discuss.elastic.co/t/start-and-stop-order-of-elk-nodes/89037/4 "2017-06-12T14:40:24Z")

</div>

You can disable rebalancing while restarting: `cluster.routing.rebalance.enable`

[https://www.elastic.co/guide/en/elasticsearch/reference/current/shards-allocation.html#\_shard\_rebalancing\_settings](https://www.elastic.co/guide/en/elasticsearch/reference/current/shards-allocation.html#_shard_rebalancing_settings)

---

<div class="post-metadata">

**Author:** ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Post date:** [June 14, 2017, 4:29am UTC](https://discuss.elastic.co/t/start-and-stop-order-of-elk-nodes/89037/5 "2017-06-14T04:29:32Z")

</div>

Thanks. Whether this change has to be done only on master nodes? And once all nodes have restarted may be we need to set it back to all from none, through api?

---

<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:** [June 14, 2017, 8:27am UTC](https://discuss.elastic.co/t/start-and-stop-order-of-elk-nodes/89037/6 "2017-06-14T08:27:27Z")

</div>

It's better to do that only through the API.  
Before stopping the cluster that is.

---

<div class="post-metadata">

**Author:** ![mruthyu](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mruthyu](https://discuss.elastic.co/u/mruthyu)\
**Post date:** [June 14, 2017, 11:49am UTC](https://discuss.elastic.co/t/start-and-stop-order-of-elk-nodes/89037/7 "2017-06-14T11:49:54Z")

</div>

In case of DR there is no way we can use api. so while recovering I think manually the configuration file for master nodes to be updated?

---

<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:** [June 14, 2017, 2:39pm UTC](https://discuss.elastic.co/t/start-and-stop-order-of-elk-nodes/89037/8 "2017-06-14T14:39:10Z")

</div>

I think that master nodes must have this set. I don't believe it's needed for data only nodes

---

<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 12, 2017, 2:39pm UTC](https://discuss.elastic.co/t/start-and-stop-order-of-elk-nodes/89037/9 "2017-07-12T14:39:47Z")

</div>

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