# Hot-cold setup

**URL:** <https://discuss.elastic.co/t/hot-cold-setup/246858>\
**Category:** Elasticsearch\
**Created:** [August 29, 2020, 9:22pm UTC](https://discuss.elastic.co/t/hot-cold-setup/246858 "2020-08-29T21:22:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [August 29, 2020, 9:22pm UTC](https://discuss.elastic.co/t/hot-cold-setup/246858/1 "2020-08-29T21:22:13Z")

</div>

I have running cluster, five data node with  
node.attr.box\_type: hot

now I would like to introduce cold storage as well  
I have a node which I will be using as cold storage  
node.attr.box\_type: cold

but most all my index in running cluster has no ilm as they are small or under testing or what not.

how does cold node will behave when I add that in to mix?  
will it start rebalancing indexes?  
or will it wait for ilm to kick in

do I have to have index pattern (policy) for each index? to tell to go HOT or cold?

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [August 31, 2020, 7:19pm UTC](https://discuss.elastic.co/t/hot-cold-setup/246858/2 "2020-08-31T19:19:55Z")

</div>

bump

---

<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, 2020, 9:43pm UTC](https://discuss.elastic.co/t/hot-cold-setup/246858/3 "2020-08-31T21:43:07Z")

</div>

If your indices don't have allocation filter in them, either manually added or via ILM, then when you add the new nodes the existing shards will be balanced onto them.

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [September 1, 2020, 7:53pm UTC](https://discuss.elastic.co/t/hot-cold-setup/246858/4 "2020-09-01T19:53:07Z")

</div>

something like this ?

```
{
  "template" : "*",
  "settings" : {
           "index.routing.allocation.require.box_type": "hot"
    }
}

```

and then on individual ILM policy use col in to cold phase

---

<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 29, 2020, 7:53pm UTC](https://discuss.elastic.co/t/hot-cold-setup/246858/5 "2020-09-29T19:53:39Z")

</div>

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