# Kicking a node off Elasticsearch cluster

**URL:** <https://discuss.elastic.co/t/kicking-a-node-off-elasticsearch-cluster/9274>\
**Category:** Elasticsearch\
**Created:** [October 8, 2012, 3:53pm UTC](https://discuss.elastic.co/t/kicking-a-node-off-elasticsearch-cluster/9274 "2012-10-08T15:53:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nitish\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nitish_sharma/32/2626_2.png) [@Nitish\_Sharma](https://discuss.elastic.co/u/Nitish_Sharma)\
**Post date:** [October 8, 2012, 3:53pm UTC](https://discuss.elastic.co/t/kicking-a-node-off-elasticsearch-cluster/9274/1 "2012-10-08T15:53:46Z")

</div>

Hi,  
Is there a way to kick a node out of Elasticsearch cluster? Effectively, it  
means redistributing the shards present on the "faulty" node to the  
existing nodes, so that in meanwhile faulty node can be replaced.

Cheers  
Nitish

--

---

<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:** [October 8, 2012, 5:14pm UTC](https://discuss.elastic.co/t/kicking-a-node-off-elasticsearch-cluster/9274/2 "2012-10-08T17:14:21Z")

</div>

Why not shutdown the node?

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 8 oct. 2012 à 17:53, Nitish Sharma [sharmanitishdutt@gmail.com](mailto:sharmanitishdutt@gmail.com) a écrit :

Hi,  
Is there a way to kick a node out of Elasticsearch cluster? Effectively, it means redistributing the shards present on the "faulty" node to the existing nodes, so that in meanwhile faulty node can be replaced.

## Cheers Nitish

--

---

<div class="post-metadata">

**Author:** ![Rafal\_Kuc\_3](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rafal_kuc_3/32/799_2.png) [@Rafal\_Kuc\_3](https://discuss.elastic.co/u/Rafal_Kuc_3)\
**Post date:** [October 8, 2012, 5:17pm UTC](https://discuss.elastic.co/t/kicking-a-node-off-elasticsearch-cluster/9274/3 "2012-10-08T17:17:14Z")

</div>

Hello!

If you want to move shards from a node look here: [https://github.com/elasticsearch/elasticsearch/issues/2256](https://github.com/elasticsearch/elasticsearch/issues/2256)

However its only available for the newest ElasticSearch version.

_--_

Regards,

Rafał Kuć

Sematext :: [http://sematext.com/](http://sematext.com/) _:: Solr - Lucene - Nutch - ElasticSearch_

Why not shutdown the node?

--

David 😉

Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 8 oct. 2012 ŕ 17:53, Nitish Sharma \<[sharmanitishdutt@gmail.com](mailto:sharmanitishdutt@gmail.com)\> a écrit :

Hi,

Is there a way to kick a node out of Elasticsearch cluster? Effectively, it means redistributing the shards present on the "faulty" node to the existing nodes, so that in meanwhile faulty node can be replaced.

Cheers

Nitish

--

--

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [October 8, 2012, 5:19pm UTC](https://discuss.elastic.co/t/kicking-a-node-off-elasticsearch-cluster/9274/4 "2012-10-08T17:19:30Z")

</div>

> If you want to move shards from a node look here:  
> [Cluster Reroute API: Allow to specify allocation commands · Issue #2256 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/2256)

As David suggested, the shutdown API can be used - it will ensure that  
shards are reallocated as necessary

clint

> However its only available for the newest Elasticsearch version.
> 
> --  
> Regards,  
> Rafał Kuć  
> Sematext :: [http://sematext.com/](http://sematext.com/) :: Solr - Lucene - Nutch -  
> Elasticsearch
> 
> Why not shutdown the node?
> 
> --  
> David 😉  
> Twitter : @dadoonet /  
> @elasticsearchfr / @scrutmydocs
> 
> Le 8 oct. 2012 ŕ 17:53, Nitish  
> Sharma [sharmanitishdutt@gmail.com](mailto:sharmanitishdutt@gmail.com)  
> a écrit :
> 
> Hi,  
> Is there a way to kick a node out  
> of Elasticsearch cluster?  
> Effectively, it means  
> redistributing the shards present  
> on the "faulty" node to the  
> existing nodes, so that in  
> meanwhile faulty node can be  
> replaced.
> 
> ## Cheers Nitish
> 
> --
> 
> --

--

---

<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, 3:09am UTC](https://discuss.elastic.co/t/kicking-a-node-off-elasticsearch-cluster/9274/5 "2017-07-06T03:09:43Z")

</div>


