Elaticsearch CCR [Cross cluster replication] Local setup

Hello,

I have two Elasticsearch instances running on my local machine with version [7.5.1 and 8.4.3].
Now I need to migrate the data from the old version instance to the new version instance.
Question:

  1. Is CCR the correct approach for this scenario?
  2. Local setup is as mentioned below. 30 days Trial is enabled for both clusters.
    7.5.1 => 9201 => old-cluster
    8.4.3 => 9202 => new-cluster
    I have an index in the old cluster called "Index1" which I need to migrate to the new cluster. What would be the remote cluster configuration and cross-cluster replication configuration?

I have followed the steps given here: Cross-Datacenter Replication with Elasticsearch Cross-Cluster Replication | Elastic Blog

But when I initiate the replication[follow] I am getting the following error.

{
    "error": {
        "root_cause": [
            {
                "type": "index_not_found_exception",
                "reason": "no such index [products]",
                "index_uuid": "_na_",
                "index": "products"
            }
        ],
        "type": "index_not_found_exception",
        "reason": "no such index [products]",
        "index_uuid": "_na_",
        "index": "products"
    },
    "status": 404
}

Went through a lot of documentation but it's confusing a lot. so can you explain in simple ways please?

Thanks and regards,
Suraj Jannu

Personally I would suggest a remote reindex to allow Elasticsearch to reindex and update any mappings.

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