ES Cluster configuration

Hello Team

Currently, I'm running 2 instances having Elasticsearch Independently. Now, I've to build a 3 node cluster which should include the available two nodes. what's the best way to do that(without losing the data) ?

Please suggest

Thanks for your time as always :slight_smile:

Do you mean that you have:

  1. 2 clusters with one node per cluster
  2. 1 cluster with 2 nodes?

If 1, I'd suggest to start a new node with the same cluster name than node1 or node2 and then do a reindex from remote or a snapshot/restore from node2 or node1.

If 2, just start the new node, make it join the cluster and you're done.

hello @dadoonet

I don't have cluster. I'm running the 2 nodes Independently.

Now, I want to join them and form a cluster

So do this:

I'd suggest to start a new node with the same cluster name than node1 or node2 and then do a reindex from remote or a snapshot/restore from node2 or node1.

I've many indices in node 1 and node2. do I've to reindex each individually?

Then snapshot and restore is the best option I believe.

1 Like

sure @dadoonet

Thank you so much :slight_smile:

tribe or cross cluster is also can try.

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