Migrate shards from one node set to another


I have three sets of nodes: A, B and C.

Over time, I want to migrate all shards on A and B to C (and remove A and B from the cluster). I could do that all at once by setting the cluster routing allocation setting:

PUT _cluster/settings
  "transient" :{
      "cluster.routing.allocation.exclude._ip" : "[set-a-ips],[set-b-ips]"

However, I want to start with set A first. How can I migrate the shards on A to C, without allocating them on B?

Also, is it possible to limit the bandwidth used for the reallocation?

Best Regards

I don't think this is possible, you will need to it all at once, or exclude the shards on A, wait for it to finish and then exclude the shards on B.

This is done by default as the default number of concurrent recoveries is 2 and the max bytes per sec settings for index recovery is 40 mb/s for hot and warm nodes.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.