# Full cluster restart command

**URL:** <https://discuss.elastic.co/t/full-cluster-restart-command/17360>\
**Category:** Elasticsearch\
**Created:** [May 6, 2014, 9:25am UTC](https://discuss.elastic.co/t/full-cluster-restart-command/17360 "2014-05-06T09:25:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben\_Langers](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@Ben\_Langers](https://discuss.elastic.co/u/Ben_Langers)\
**Post date:** [May 6, 2014, 9:25am UTC](https://discuss.elastic.co/t/full-cluster-restart-command/17360/1 "2014-05-06T09:25:13Z")

</div>

Hello

I can bring down all my nodes with the following command:  
$ curl -XPOST '[http://localhost:9200/\_cluster/nodes/\_all/\_shutdown](http://localhost:9200/_cluster/nodes/_all/_shutdown)'

However, what's the right way to do a full cluster restart?

Regards.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9e88caf8-0122-4821-a154-a4c05fe8a2cb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9e88caf8-0122-4821-a154-a4c05fe8a2cb%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [May 6, 2014, 10:10am UTC](https://discuss.elastic.co/t/full-cluster-restart-command/17360/2 "2014-05-06T10:10:46Z")

</div>

Check out

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

While you're not upgrading anything at this time, setting  
cluster.routing.allocation.enable can dramatically reduce recovery time.

Otherwise, it depends on your cluster setup. How many nodes, any  
master/data/search only?

Regards,  
Mark Walkom

Infrastructure Engineer  
Campaign Monitor  
email: [markw@campaignmonitor.com](mailto:markw@campaignmonitor.com)  
web: [www.campaignmonitor.com](http://www.campaignmonitor.com)

On 6 May 2014 19:25, Ben Langers [blangers73@gmail.com](mailto:blangers73@gmail.com) wrote:

> Hello
> 
> I can bring down all my nodes with the following command:  
> $ curl -XPOST '[http://localhost:9200/\_cluster/nodes/\_all/\_shutdown](http://localhost:9200/_cluster/nodes/_all/_shutdown)'
> 
> However, what's the right way to do a full cluster restart?
> 
> Regards.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/9e88caf8-0122-4821-a154-a4c05fe8a2cb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9e88caf8-0122-4821-a154-a4c05fe8a2cb%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/9e88caf8-0122-4821-a154-a4c05fe8a2cb%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/9e88caf8-0122-4821-a154-a4c05fe8a2cb%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624ajins9oGsJc%3DGn%2BC9dhygBS08kh4EQ4r\_t0Kd-Errn6A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624ajins9oGsJc%3DGn%2BC9dhygBS08kh4EQ4r_t0Kd-Errn6A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:31am UTC](https://discuss.elastic.co/t/full-cluster-restart-command/17360/3 "2017-07-06T01:31:28Z")

</div>


