# Migrating indices after adding warm and cold nodes to an existing cluster

**URL:** <https://discuss.elastic.co/t/migrating-indices-after-adding-warm-and-cold-nodes-to-an-existing-cluster/282830>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [August 30, 2021, 2:23pm UTC](https://discuss.elastic.co/t/migrating-indices-after-adding-warm-and-cold-nodes-to-an-existing-cluster/282830 "2021-08-30T14:23:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![benvl](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@benvl](https://discuss.elastic.co/u/benvl)\
**Post date:** [August 30, 2021, 2:23pm UTC](https://discuss.elastic.co/t/migrating-indices-after-adding-warm-and-cold-nodes-to-an-existing-cluster/282830/1 "2021-08-30T14:23:43Z")

</div>

Hi all,

following situation : we have an existing 7.12 ES cluster in Elastic Cloud, with 2 hot data nodes. Multiple indices exist which were following an hot-warm-cold ILM policy and are already in a hot, warm or cold phase, but there are no warm and cold ES nodes present yet.

What happens when warm and cold nodes are added to the Elastic Cloud setup ?  
Will the existing warm and cold indices be rerouted automatically ?  
Or does this rerouting need to be triggered ?

Kind regards, Ben

---

<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:** [August 30, 2021, 11:45pm UTC](https://discuss.elastic.co/t/migrating-indices-after-adding-warm-and-cold-nodes-to-an-existing-cluster/282830/2 "2021-08-30T23:45:34Z")

</div>

> [@benvl](#):
>
> What happens when warm and cold nodes are added to the Elastic Cloud setup ?

The cluster _should_ detect these and move indices accordingly. You can definitely trigger a reroute if needed though.

The one question I would ask is; Are all your indices currently only allocated to the hot tier?

---

<div class="post-metadata">

**Author:** ![benvl](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@benvl](https://discuss.elastic.co/u/benvl)\
**Post date:** [August 31, 2021, 3:13pm UTC](https://discuss.elastic.co/t/migrating-indices-after-adding-warm-and-cold-nodes-to-an-existing-cluster/282830/3 "2021-08-31T15:13:42Z")

</div>

yes, all indices, in phase hot, warm or cold, are all in the hot tier.

---

<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:** [August 31, 2021, 10:15pm UTC](https://discuss.elastic.co/t/migrating-indices-after-adding-warm-and-cold-nodes-to-an-existing-cluster/282830/4 "2021-08-31T22:15:22Z")

</div>

Ok, well it might be worth reviewing your config before you add your extra nodes, just to make sure everything it ok.

---

<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:** [September 28, 2021, 10:16pm UTC](https://discuss.elastic.co/t/migrating-indices-after-adding-warm-and-cold-nodes-to-an-existing-cluster/282830/5 "2021-09-28T22:16:14Z")

</div>

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