I am running a three node (elasticsearch) cluster currently with index.number_of_replicas: 0
. I'd like to bring one of the node down for maintenance. Do I have any options to do this without increasing number_of_replicas
?
Shutdown API does not seem to rebalance the shards before shutdown of the node. So, it looks like I need to use the cluster reroute API to manually move the shards to another node. Doing so would like rebalance other shards back to my node, so I guess I would need to somehow rebalance the cluster. Is there any better option that this?
Answer copied from https://stackoverflow.com/a/23905040/260805