# Elaticsearch CCR \[Cross cluster replication\] Local setup

**URL:** https://discuss.elastic.co/t/elaticsearch-ccr-cross-cluster-replication-local-setup/318190
**Category:** Elasticsearch
**Tags:** ccr-cross-cluster-replication
**Created:** [November 4, 2022, 1:21pm UTC](https://discuss.elastic.co/t/elaticsearch-ccr-cross-cluster-replication-local-setup/318190 "2022-11-04T13:21:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Suraj\_Jannu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suraj_jannu/32/112902_2.png) [@Suraj\_Jannu](https://discuss.elastic.co/u/Suraj_Jannu)
#### Post date: [November 4, 2022, 1:21pm UTC](https://discuss.elastic.co/t/elaticsearch-ccr-cross-cluster-replication-local-setup/318190/1 "2022-11-04T13:21:50Z")

</div>

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](https://www.elastic.co/blog/cross-datacenter-replication-with-elasticsearch-cross-cluster-replication)

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

```auto
{
    "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

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [November 7, 2022, 3:30am UTC](https://discuss.elastic.co/t/elaticsearch-ccr-cross-cluster-replication-local-setup/318190/2 "2022-11-07T03:30:16Z")

</div>

Personally I would suggest a [remote reindex](https://www.elastic.co/guide/en/elasticsearch/reference/8.5/reindex-upgrade-remote.html) to allow Elasticsearch to reindex and update any mappings.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [December 5, 2022, 3:30am UTC](https://discuss.elastic.co/t/elaticsearch-ccr-cross-cluster-replication-local-setup/318190/3 "2022-12-05T03:30:31Z")

</div>

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