# Restart of elasticsearch nodes

**URL:** <https://discuss.elastic.co/t/restart-of-elasticsearch-nodes/78341>\
**Category:** Elasticsearch\
**Created:** [March 13, 2017, 12:55pm UTC](https://discuss.elastic.co/t/restart-of-elasticsearch-nodes/78341 "2017-03-13T12:55:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [March 13, 2017, 12:55pm UTC](https://discuss.elastic.co/t/restart-of-elasticsearch-nodes/78341/1 "2017-03-13T12:55:16Z")

</div>

HI,  
I want to upgrade memory of ES nodes in the cluster. I am having 3 nodes cluster, Node-1 is master+data, and Node-2 and Node-3 are only data node.  
I was referring the instruction given at [https://www.elastic.co/guide/en/elasticsearch/guide/current/\_rolling\_restarts.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/_rolling_restarts.html)

I am bit confused about first 2 steps. Its said that stop indexing if possible. What is relation between first step and second step.  
Where should I set the transient variable before I shut down node 3? on master node I guess. right?  
When I shut down and restart node-3, during that time, will that data be indexed only on node-1 and node-3? I hope indexing will not have any blockage during the maintenance/unavailability of node-3. Am I correct?

br,  
Sunil.

---

<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:** [March 13, 2017, 2:41pm UTC](https://discuss.elastic.co/t/restart-of-elasticsearch-nodes/78341/2 "2017-03-13T14:41:45Z")

</div>

> [@sunilmchaudhari](#):
>
> Where should I set the transient variable before I shut down node 3? on master node I guess. right?

Whichever node. It will be routed to master anyway.

> [@sunilmchaudhari](#):
>
> When I shut down and restart node-3, during that time, will that data be indexed only on node-1 and node-3?

You meant node-2 right?  
So yes your data will be still indexed on the other nodes.  
But some replicas won't be get the index operations as they were allocated on the node you just shutdown.

That's one of the reasons we recommend stopping indexing while doing that. Recovery process will be much faster if all shards are still synchronized.

---

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [March 14, 2017, 10:11am UTC](https://discuss.elastic.co/t/restart-of-elasticsearch-nodes/78341/3 "2017-03-14T10:11:07Z")

</div>

> [@dadoonet](#):
>
> Whichever node. It will be routed to master anyway.

But, if I want to reboot Node-2, what is the use of disabling routing allocation on that node?  
Is it like...  
I will disable routing allocation  
Then I will restart elasticsearch.  
Then it will route to master only.  
Then I can reboot node-2

br,  
Sunil

---

<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:** [March 14, 2017, 11:47am UTC](https://discuss.elastic.co/t/restart-of-elasticsearch-nodes/78341/4 "2017-03-14T11:47:38Z")

</div>

You are not dIsabling routing allocation on that node but on the cluster.

---

<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:** [April 11, 2017, 11:47am UTC](https://discuss.elastic.co/t/restart-of-elasticsearch-nodes/78341/5 "2017-04-11T11:47:52Z")

</div>

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