Hi ,
Recently we created 3 nodes in a cluster because of some reason we want to remove those nodes and bring our elasticsearch to old state (without nodes).
how to do this by not loosing any data?
Thanks in Advance.
Hi ,
Recently we created 3 nodes in a cluster because of some reason we want to remove those nodes and bring our elasticsearch to old state (without nodes).
how to do this by not loosing any data?
Thanks in Advance.
The easiest thing to do is take down one node, wait for the cluster to re-balance the shards across the existing nodes, take down the next node, etc.
Edit: ^^^^ this assumes you have at least one replica for each index. If you don't have replicas, you'll have to use shard filtering below vvv
Alternatively, you could use Shard Allocation Filtering to exclude all your indices from the target nodes, wait for the cluster to rebalance, then take down the nodes.
Make sure you update minimum_master_nodes
as appropriate
Thanks for reply ..re-balancing of nodes is best thing
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.