# Is it possible to define a node Hot and warm?

**URL:** https://discuss.elastic.co/t/is-it-possible-to-define-a-node-hot-and-warm/231171
**Category:** Elasticsearch
**Created:** [May 5, 2020, 2:17pm UTC](https://discuss.elastic.co/t/is-it-possible-to-define-a-node-hot-and-warm/231171 "2020-05-05T14:17:53Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Kwiskas](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@Kwiskas](https://discuss.elastic.co/u/Kwiskas)
#### Post date: [May 5, 2020, 2:17pm UTC](https://discuss.elastic.co/t/is-it-possible-to-define-a-node-hot-and-warm/231171/1 "2020-05-05T14:17:53Z")

</div>

Hello  
On my company we have 3 data nodes connected on a master node  
I need to define a lifecycle policy  
But to do so I need to define which node is hot, warm, and cold  
my question: can I define a node with several types? hot And warm?

Thank you

---

<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: [May 5, 2020, 10:19pm UTC](https://discuss.elastic.co/t/is-it-possible-to-define-a-node-hot-and-warm/231171/2 "2020-05-05T22:19:25Z")

</div>

It doesn't make sense to have a node that is both hot and warm. What's your reasoning behind wanting to do that?

---

<div class="post-metadata">

### Author: ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)
#### Post date: [May 6, 2020, 12:51am UTC](https://discuss.elastic.co/t/is-it-possible-to-define-a-node-hot-and-warm/231171/3 "2020-05-06T00:51:37Z")

</div>

Hello @Kwiskas

The Index Lifecycle Policy phases do not require hot, warm and cold zones in the cluster ([documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/ilm-index-lifecycle.html#ilm-index-lifecycle)).

The phases are more linked to the lifecycle of the index.

It is possible to force the allocation / migration of the indices to a specific group of nodes when the index lifecycle reaches a specific phase using the [allocate action](https://www.elastic.co/guide/en/elasticsearch/reference/master/ilm-allocate.html), but it is optional.

The phases have a fixed order (hot ❯ warm ❯ cold ❯ delete) and the actions within each of them have a fixed order too ([see this list](https://www.elastic.co/guide/en/elasticsearch/reference/master/ilm-index-lifecycle.html#ilm-phase-actions)) and they're optional.

Let us know if you have any doubt.

---

<div class="post-metadata">

### Author: ![Kwiskas](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@Kwiskas](https://discuss.elastic.co/u/Kwiskas)
#### Post date: [May 6, 2020, 9:10am UTC](https://discuss.elastic.co/t/is-it-possible-to-define-a-node-hot-and-warm/231171/4 "2020-05-06T09:10:32Z")

</div>

I just dont want to have only one node being actively used as other ones are not

---

<div class="post-metadata">

### Author: ![Kwiskas](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@Kwiskas](https://discuss.elastic.co/u/Kwiskas)
#### Post date: [May 6, 2020, 9:15am UTC](https://discuss.elastic.co/t/is-it-possible-to-define-a-node-hot-and-warm/231171/5 "2020-05-06T09:15:57Z")

</div>

Hello Luca  
Thank you for your reply  
My question comes from that when I try to define the index lifecycle policy on kibana, it gets me an error:  
No node attributes configured in elasticsearch.yml

You can't control shard allocation without node attributes.

This is because i have not defined yet on my nodes which one is the hot and which one is the warm

what I wanted to know is can I define both of my 2 nodes as hot AND warm so I dont have to use only one actively and the other one not.

---

<div class="post-metadata">

### Author: ![Luca\_Belluccini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/luca_belluccini/32/33239_2.png) [@Luca\_Belluccini](https://discuss.elastic.co/u/Luca_Belluccini)
#### Post date: [May 6, 2020, 10:26am UTC](https://discuss.elastic.co/t/is-it-possible-to-define-a-node-hot-and-warm/231171/6 "2020-05-06T10:26:38Z")

</div>

Hello @Kwiskas

The message:

```auto
No node attributes configured in elasticsearch.yml
You can't control shard allocation without node attributes.
Learn about shard allocation

```

Is just a warning. You can proceed further.

---

<div class="post-metadata">

### Author: ![Kwiskas](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@Kwiskas](https://discuss.elastic.co/u/Kwiskas)
#### Post date: [May 7, 2020, 7:19am UTC](https://discuss.elastic.co/t/is-it-possible-to-define-a-node-hot-and-warm/231171/7 "2020-05-07T07:19:55Z")

</div>

Oh. Thank you; I didn't knew it was a warning. This can be closed.

---

<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: [June 4, 2020, 7:19am UTC](https://discuss.elastic.co/t/is-it-possible-to-define-a-node-hot-and-warm/231171/8 "2020-06-04T07:19:58Z")

</div>

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