Kicking a node off Elasticsearch cluster


(Nitish Sharma) #1

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

--


(David Pilato) #2

Why not shutdown the node?

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

Le 8 oct. 2012 à 17:53, Nitish Sharma 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

--


(Rafał Kuć) #3

Hello!

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

However its only available for the newest ElasticSearch version.

--

Regards,

Rafał Kuć

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

Why not shutdown the node?

--

David :wink:

Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 8 oct. 2012 ŕ 17:53, Nitish Sharma <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

--

--


(Clinton Gormley) #4

If you want to move shards from a node look here:
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/ :: Solr - Lucene - Nutch -
ElasticSearch

Why not shutdown the node?

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

Le 8 oct. 2012 ŕ 17:53, Nitish
Sharma 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

--

--

--


(system) #5