# Perform reboot/restart physical nodes

**URL:** https://discuss.elastic.co/t/perform-reboot-restart-physical-nodes/139183
**Category:** Elasticsearch
**Created:** [July 9, 2018, 1:45pm UTC](https://discuss.elastic.co/t/perform-reboot-restart-physical-nodes/139183 "2018-07-09T13:45:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Beuhlet\_Reseau](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@Beuhlet\_Reseau](https://discuss.elastic.co/u/Beuhlet_Reseau)
#### Post date: [July 9, 2018, 1:45pm UTC](https://discuss.elastic.co/t/perform-reboot-restart-physical-nodes/139183/1 "2018-07-09T13:45:20Z")

</div>

Hello,

How to perform a restart of single node Elasticsearch (with multiple instance in) ?

The option "index.unassigned.node\_left.delayed\_timeout" positioned at 10 minutes is sufficient ?

Here my script to reboot a single node with multiple instance :

#!/bin/ksh

hostELS=`hostname | cut -d"." -f1`

curl -X PUT "${hostELS}:9200/\_all/\_settings" -H 'Content-Type: application/json' -d'  
{  
"settings": {  
"index.unassigned.node\_left.delayed\_timeout": "10m"  
}  
}  
'

instances\_number=`ls /opt/application/ | grep "[0-9][0-9]"`

for i in $instances\_number  
do  
sh /opt/application/$i/bin/Operate.sh stop  
done

What do you think ?

Options like cluster.routing.allocation.enable is useless no ?

Thanks for reply

---

<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 6, 2018, 1:45pm UTC](https://discuss.elastic.co/t/perform-reboot-restart-physical-nodes/139183/2 "2018-08-06T13:45:29Z")

</div>

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