# Elasticsearch cluster migration from 7.12 to 8.5

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271>\
**Category:** Elasticsearch\
**Created:** [November 18, 2022, 6:48am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271 "2022-11-18T06:48:39Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![satendra1987](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@satendra1987](https://discuss.elastic.co/u/satendra1987)\
**Post date:** [November 18, 2022, 6:48am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271/1 "2022-11-18T06:48:39Z")

</div>

Hi,

we are running an 1 node elasticsearch cluster on 7.12. we want to setup a 3 node cluster on 8.5.  
can someone let me know how to migrate the existing indexes to new cluster.

Thanks  
Satendra

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [November 18, 2022, 9:59am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271/2 "2022-11-18T09:59:00Z")

</div>

Hi Satendra,

To upgrade to 8.5, we recommend upgrading to 7.17 first and then using the upgrade assistant. Check out the below links for details:

1. [Upgrade Elasticsearch](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html)
2. [Prepare to upgrade from 7.x](https://www.elastic.co/guide/en/elastic-stack/8.5/upgrading-elastic-stack.html#prepare-to-upgrade)

---

<div class="post-metadata">

**Author:** ![satendra1987](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@satendra1987](https://discuss.elastic.co/u/satendra1987)\
**Post date:** [November 18, 2022, 10:26am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271/3 "2022-11-18T10:26:41Z")

</div>

Hi Carly,

Thanks for your response.  
will mounting the data disk from old cluster (7.12) on new cluster (8.5) not work? since we are setting up a new cluster.

Thanks  
Satendra

---

<div class="post-metadata">

**Author:** ![defalt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/defalt/32/71379_2.png) [@defalt](https://discuss.elastic.co/u/defalt)\
**Post date:** [November 18, 2022, 10:32am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271/4 "2022-11-18T10:32:34Z")

</div>

Depends on if you have depricated fields in your data. 7.17 changed a lot of stuff so its pretty likely that your indices will break without proper precautions.

---

<div class="post-metadata">

**Author:** ![satendra1987](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@satendra1987](https://discuss.elastic.co/u/satendra1987)\
**Post date:** [November 18, 2022, 10:51am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271/5 "2022-11-18T10:51:47Z")

</div>

Thanks Defalt, but reindexing to a 3 node cluster from a single node cluster, will it any impact?

---

<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 21, 2022, 1:48am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271/6 "2022-11-21T01:48:06Z")

</div>

Start by upgrading the single node to 8.5, then add your other nodes in. This won't be a problem 🙂

---

<div class="post-metadata">

**Author:** ![satendra1987](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@satendra1987](https://discuss.elastic.co/u/satendra1987)\
**Post date:** [November 21, 2022, 4:15am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271/7 "2022-11-21T04:15:56Z")

</div>

thats also not an option since the current setup with single node is resided on remote location and new 3 node cluster has to be setup in premise.

---

<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 21, 2022, 4:21am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271/8 "2022-11-21T04:21:55Z")

</div>

Then setup your new cluster and do a [remote reindex](https://www.elastic.co/guide/en/elasticsearch/reference/8.5/reindex-upgrade-remote.html)?

---

<div class="post-metadata">

**Author:** ![satendra1987](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@satendra1987](https://discuss.elastic.co/u/satendra1987)\
**Post date:** [November 21, 2022, 4:44am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271/9 "2022-11-21T04:44:08Z")

</div>

will there be any downtime in this case for old cluster?

---

<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 21, 2022, 4:49am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271/10 "2022-11-21T04:49:39Z")

</div>

Yes, you need to switch to the new one at some point and that'll likely not be instantaneous.

---

<div class="post-metadata">

**Author:** ![satendra1987](https://avatars.discourse-cdn.com/v4/letter/s/e480ec/32.png) [@satendra1987](https://discuss.elastic.co/u/satendra1987)\
**Post date:** [November 21, 2022, 5:02am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271/11 "2022-11-21T05:02:30Z")

</div>

thanks a lot. i believe reindexing using this technique on new cluster would not harm to existing indexes on old cluster even if there are any failures in reindexing process.

---

<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 19, 2022, 5:02am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-migration-from-7-12-to-8-5/319271/12 "2022-12-19T05:02:57Z")

</div>

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