On an Elasticsearch n-node cluster, how can you flag a node so not to have shards allocated on that node (for instance when you're putting the node into maintenance)?
Thanks in advance.
On an Elasticsearch n-node cluster, how can you flag a node so not to have shards allocated on that node (for instance when you're putting the node into maintenance)?
Thanks in advance.
Have a look at https://www.elastic.co/guide/en/elasticsearch/reference/current/allocation-filtering.html
For example:
PUT _cluster/settings
{
"transient" : {
"cluster.routing.allocation.exclude._ip" : "10.0.0.1"
}
}
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.