# How to shut down a node

**URL:** <https://discuss.elastic.co/t/how-to-shut-down-a-node/2847>\
**Category:** Elasticsearch\
**Created:** [March 16, 2010, 4:19pm UTC](https://discuss.elastic.co/t/how-to-shut-down-a-node/2847 "2010-03-16T16:19:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Loy](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@Paul\_Loy](https://discuss.elastic.co/u/Paul_Loy)\
**Post date:** [March 16, 2010, 4:19pm UTC](https://discuss.elastic.co/t/how-to-shut-down-a-node/2847/1 "2010-03-16T16:19:30Z")

</div>

Couldn't find it in the docs. Do you just kill it or is there  
something more graceful?

Ironically the Elastic Search website does not have search!?

Many thanks,

-K-

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 16, 2010, 4:41pm UTC](https://discuss.elastic.co/t/how-to-shut-down-a-node/2847/2 "2010-03-16T16:41:07Z")

</div>

Answers below:

On Tue, Mar 16, 2010 at 6:19 PM, keteracel [keteracel@gmail.com](mailto:keteracel@gmail.com) wrote:

> Couldn't find it in the docs. Do you just kill it or is there  
> something more graceful?

Currently, kill the process or type Ctrl+C. If you just kill it, it will  
shutdown properly. I plan to add an API to shutdown a node, and to shutdown  
a cluster.

> Ironically the Elastic Search website does not have search!?

Ahh, sarcasm, my favorite dish of the day. I do want to add google site  
search on it as a quick solution. But, of course, the next person would come  
and say why are you using google to search the site, couldn't you build it  
with elasticsearch... (which, of course, I can, but I need a dedicated  
server to act as a search server, and I prefer to spend my time making  
elasticsearch better).

> Many thanks,
> 
> -K-

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 16, 2010, 10:31pm UTC](https://discuss.elastic.co/t/how-to-shut-down-a-node/2847/3 "2010-03-16T22:31:19Z")

</div>

just pushed support for cluster shutdown api, issue here:  
[Shutdown API: allow to shutdown node(s) or the whole cluster · Issue #64 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/64).

-shay.banon

On Tue, Mar 16, 2010 at 6:41 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Answers below:
> 
> On Tue, Mar 16, 2010 at 6:19 PM, keteracel [keteracel@gmail.com](mailto:keteracel@gmail.com) wrote:
> 
> > Couldn't find it in the docs. Do you just kill it or is there  
> > something more graceful?
> 
> Currently, kill the process or type Ctrl+C. If you just kill it, it will  
> shutdown properly. I plan to add an API to shutdown a node, and to shutdown  
> a cluster.
> 
> > Ironically the Elastic Search website does not have search!?
> 
> Ahh, sarcasm, my favorite dish of the day. I do want to add google site  
> search on it as a quick solution. But, of course, the next person would come  
> and say why are you using google to search the site, couldn't you build it  
> with elasticsearch... (which, of course, I can, but I need a dedicated  
> server to act as a search server, and I prefer to spend my time making  
> elasticsearch better).
> 
> > Many thanks,
> > 
> > -K-

---

<div class="post-metadata">

**Author:** ![Paul\_Loy](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@Paul\_Loy](https://discuss.elastic.co/u/Paul_Loy)\
**Post date:** [March 17, 2010, 9:53am UTC](https://discuss.elastic.co/t/how-to-shut-down-a-node/2847/4 "2010-03-17T09:53:01Z")

</div>

Wow, that was quick!

Thanks Shay,

Paul.

On Tue, Mar 16, 2010 at 10:31 PM, Shay Banon  
[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> just pushed support for cluster shutdown api, issue here:  
> [Shutdown API: allow to shutdown node(s) or the whole cluster · Issue #64 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/64).
> 
> -shay.banon
> 
> On Tue, Mar 16, 2010 at 6:41 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:
> 
> > Answers below:
> > 
> > On Tue, Mar 16, 2010 at 6:19 PM, keteracel [keteracel@gmail.com](mailto:keteracel@gmail.com) wrote:
> > 
> > > Couldn't find it in the docs. Do you just kill it or is there  
> > > something more graceful?
> > 
> > Currently, kill the process or type Ctrl+C. If you just kill it, it will  
> > shutdown properly. I plan to add an API to shutdown a node, and to shutdown  
> > a cluster.
> > 
> > > Ironically the Elastic Search website does not have search!?
> > 
> > Ahh, sarcasm, my favorite dish of the day. I do want to add google site  
> > search on it as a quick solution. But, of course, the next person would come  
> > and say why are you using google to search the site, couldn't you build it  
> > with elasticsearch... (which, of course, I can, but I need a dedicated  
> > server to act as a search server, and I prefer to spend my time making  
> > elasticsearch better).
> > 
> > > Many thanks,
> > > 
> > > -K-

## --

Paul Loy

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 17, 2010, 10:21am UTC](https://discuss.elastic.co/t/how-to-shut-down-a-node/2847/5 "2010-03-17T10:21:44Z")

</div>

No problem. Thats exactly how I like to do things. I was thinking about the  
shutdown API, and its on my list of things todo, but once a user wants it,  
it gets bumped up :).

-shay.banon

On Wed, Mar 17, 2010 at 11:53 AM, Paul Loy [keteracel@gmail.com](mailto:keteracel@gmail.com) wrote:

> Wow, that was quick!
> 
> Thanks Shay,
> 
> Paul.
> 
> On Tue, Mar 16, 2010 at 10:31 PM, Shay Banon \<[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)
> 
> > wrote:
> 
> > just pushed support for cluster shutdown api, issue here:  
> > [Shutdown API: allow to shutdown node(s) or the whole cluster · Issue #64 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/64).
> > 
> > -shay.banon
> > 
> > On Tue, Mar 16, 2010 at 6:41 PM, Shay Banon \<[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)
> > 
> > > wrote:
> > 
> > > Answers below:
> > > 
> > > On Tue, Mar 16, 2010 at 6:19 PM, keteracel [keteracel@gmail.com](mailto:keteracel@gmail.com) wrote:
> > > 
> > > > Couldn't find it in the docs. Do you just kill it or is there  
> > > > something more graceful?
> > > 
> > > Currently, kill the process or type Ctrl+C. If you just kill it, it will  
> > > shutdown properly. I plan to add an API to shutdown a node, and to shutdown  
> > > a cluster.
> > > 
> > > > Ironically the Elastic Search website does not have search!?
> > > 
> > > Ahh, sarcasm, my favorite dish of the day. I do want to add google site  
> > > search on it as a quick solution. But, of course, the next person would come  
> > > and say why are you using google to search the site, couldn't you build it  
> > > with elasticsearch... (which, of course, I can, but I need a dedicated  
> > > server to act as a search server, and I prefer to spend my time making  
> > > elasticsearch better).
> > > 
> > > > Many thanks,
> > > > 
> > > > -K-
> 
> ## --
> 
> Paul Loy

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 17, 2010, 11:27am UTC](https://discuss.elastic.co/t/how-to-shut-down-a-node/2847/6 "2010-03-17T11:27:43Z")

</div>

By the way, for now, added Google custom search on the site. You can find it  
here: [Elastic: Search Results | Elastic](http://www.elasticsearch.com/search/).

-shay.banon

On Wed, Mar 17, 2010 at 12:21 PM, Shay Banon  
[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> No problem. Thats exactly how I like to do things. I was thinking about the  
> shutdown API, and its on my list of things todo, but once a user wants it,  
> it gets bumped up :).
> 
> -shay.banon
> 
> On Wed, Mar 17, 2010 at 11:53 AM, Paul Loy [keteracel@gmail.com](mailto:keteracel@gmail.com) wrote:
> 
> > Wow, that was quick!
> > 
> > Thanks Shay,
> > 
> > Paul.
> > 
> > On Tue, Mar 16, 2010 at 10:31 PM, Shay Banon \<  
> > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > 
> > > just pushed support for cluster shutdown api, issue here:  
> > > [Shutdown API: allow to shutdown node(s) or the whole cluster · Issue #64 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/64).
> > > 
> > > -shay.banon
> > > 
> > > On Tue, Mar 16, 2010 at 6:41 PM, Shay Banon \<  
> > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > 
> > > > Answers below:
> > > > 
> > > > On Tue, Mar 16, 2010 at 6:19 PM, keteracel [keteracel@gmail.com](mailto:keteracel@gmail.com) wrote:
> > > > 
> > > > > Couldn't find it in the docs. Do you just kill it or is there  
> > > > > something more graceful?
> > > > 
> > > > Currently, kill the process or type Ctrl+C. If you just kill it, it will  
> > > > shutdown properly. I plan to add an API to shutdown a node, and to shutdown  
> > > > a cluster.
> > > > 
> > > > > Ironically the Elastic Search website does not have search!?
> > > > 
> > > > Ahh, sarcasm, my favorite dish of the day. I do want to add google site  
> > > > search on it as a quick solution. But, of course, the next person would come  
> > > > and say why are you using google to search the site, couldn't you build it  
> > > > with elasticsearch... (which, of course, I can, but I need a dedicated  
> > > > server to act as a search server, and I prefer to spend my time making  
> > > > elasticsearch better).
> > > > 
> > > > > Many thanks,
> > > > > 
> > > > > -K-
> > 
> > ## --
> > 
> > Paul Loy

---

<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, 4:25am UTC](https://discuss.elastic.co/t/how-to-shut-down-a-node/2847/7 "2017-07-06T04:25:17Z")

</div>


