Perform reboot/restart physical nodes

(Newbie) #1


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 :


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
sh /opt/application/$i/bin/ stop

What do you think ?

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

Thanks for reply

(system) #2

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