How to merge 2 clusters


(Chris H.) #1

I have ElasticSearch cluster where one of the nodes that was added to
the replica-set was already running ES under a different cluster
name. I need to merge this data into the current running replica-
set. How do I do this?

Thanks,

Chris


(Shay Banon) #2

You need to first read the data from that single node (using the API) and index it into the other cluster. Then, clean the data from that node (simply rm it), and start the node to join the other cluster.

On Thursday, February 9, 2012 at 10:59 PM, Chris H. wrote:

I have ElasticSearch cluster where one of the nodes that was added to
the replica-set was already running ES under a different cluster
name. I need to merge this data into the current running replica-
set. How do I do this?

Thanks,

Chris


(system) #3