# Hot warm architecture elasticsearch

**URL:** https://discuss.elastic.co/t/hot-warm-architecture-elasticsearch/264935
**Category:** Elasticsearch
**Created:** [February 20, 2021, 7:33am UTC](https://discuss.elastic.co/t/hot-warm-architecture-elasticsearch/264935 "2021-02-20T07:33:35Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![testsemd\_email](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/testsemd_email/32/82657_2.png) [@testsemd\_email](https://discuss.elastic.co/u/testsemd_email)
#### Post date: [February 20, 2021, 7:33am UTC](https://discuss.elastic.co/t/hot-warm-architecture-elasticsearch/264935/1 "2021-02-20T07:33:35Z")

</div>

Hi,  
I have 7 node cluster,  
master nodes - 3  
hot nodes -2  
warm nodes-2

An application creates daily indexes and sends indexes to a cluster.  
I want to use hot warm architecture for this cluster.

I want to know how to use the ILM policy without re-indexing(changing the index name) to move data from the hot phase to the warm phase...

index pattern ex: abc-{year}-{month}-{day}  
Using elasticseach 7.10.1

Thank You!

---

<div class="post-metadata">

### Author: ![borna\_talebi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/borna_talebi/32/76317_2.png) [@borna\_talebi](https://discuss.elastic.co/u/borna_talebi)
#### Post date: [February 20, 2021, 9:49am UTC](https://discuss.elastic.co/t/hot-warm-architecture-elasticsearch/264935/2 "2021-02-20T09:49:09Z")

</div>

Hi,  
First, you need to define your node's roles, i.e., hot, warm and cold.  
Then you just [configure your lifecycle policy](https://www.elastic.co/guide/en/elasticsearch/reference/current/set-up-lifecycle-policy.html#ilm-create-policy) and enable your phases. They'll automaticly move to the next phase when the conditions are met.  
I suggest you read [this blog](https://www.elastic.co/blog/implementing-hot-warm-cold-in-elasticsearch-with-index-lifecycle-management). I'm sure it'll answer most of your questions.

---

<div class="post-metadata">

### Author: ![testsemd\_email](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/testsemd_email/32/82657_2.png) [@testsemd\_email](https://discuss.elastic.co/u/testsemd_email)
#### Post date: [February 20, 2021, 2:51pm UTC](https://discuss.elastic.co/t/hot-warm-architecture-elasticsearch/264935/3 "2021-02-20T14:51:08Z")

</div>

Thank You immediate response.

Before I configure the hot-warm architecture, warm nodes(now) were configured as data nodes. Then how do I configure warm nodes?

node.role = [data\_warm, data] or node.role = [warm\_data] ?

Thank you!

---

<div class="post-metadata">

### Author: ![borna\_talebi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/borna_talebi/32/76317_2.png) [@borna\_talebi](https://discuss.elastic.co/u/borna_talebi)
#### Post date: [February 21, 2021, 4:48am UTC](https://discuss.elastic.co/t/hot-warm-architecture-elasticsearch/264935/4 "2021-02-21T04:48:08Z")

</div>

According to [docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html#data-node):

> In a multi-tier deployment architecture, you use specialised data roles to assign data nodes to specific tiers: `data_content` , `data_hot` , `data_warm` , or `data_cold` . A node can belong to multiple tiers, **but a node that has one of the specialised data roles cannot have the generic `data` role.**

So you should use `node.role = [warm_data] `

---

<div class="post-metadata">

### Author: ![testsemd\_email](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/testsemd_email/32/82657_2.png) [@testsemd\_email](https://discuss.elastic.co/u/testsemd_email)
#### Post date: [February 21, 2021, 10:14am UTC](https://discuss.elastic.co/t/hot-warm-architecture-elasticsearch/264935/5 "2021-02-21T10:14:22Z")

</div>

Thank You!

---

<div class="post-metadata">

### Author: ![testsemd\_email](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/testsemd_email/32/82657_2.png) [@testsemd\_email](https://discuss.elastic.co/u/testsemd_email)
#### Post date: [February 21, 2021, 6:49pm UTC](https://discuss.elastic.co/t/hot-warm-architecture-elasticsearch/264935/6 "2021-02-21T18:49:11Z")

</div>

I referred above resources. But I was unable to find a method to move data in the warm phase without changing the index name.

I want to know how to move hot data to warm data nodes and will every rollover action change the index name after moving to the warm phase?

Can I move data from hot to warm by using index.lifecycle.indexing\_complete is set to true?

Thank You!

---

<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: [March 21, 2021, 6:49pm UTC](https://discuss.elastic.co/t/hot-warm-architecture-elasticsearch/264935/7 "2021-03-21T18:49:19Z")

</div>

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