# Help with note.roles

**URL:** <https://discuss.elastic.co/t/help-with-note-roles/288149>\
**Category:** Elasticsearch\
**Created:** [November 1, 2021, 2:33pm UTC](https://discuss.elastic.co/t/help-with-note-roles/288149 "2021-11-01T14:33:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![b0r1s](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/b0r1s/32/85475_2.png) [@b0r1s](https://discuss.elastic.co/u/b0r1s)\
**Post date:** [November 1, 2021, 2:33pm UTC](https://discuss.elastic.co/t/help-with-note-roles/288149/1 "2021-11-01T14:33:30Z")

</div>

Hey everyone o/

I was working with 3 nodes in my cluster. Now I added a 4th node, to be the cold node. Some indices that should be on it (according to ILM) are still not going.  
I'm trying to configure node.roles on the first 3 nodes, but I've tried some settings and it still doesn't work.  
Here's my setup that works (without using node.roles):

```auto
...
# --------------------------------- Discovery ----------------------------------
discovery.seed_hosts:
    - node1-mydomain.com
    - node2-mydomain.com
    - node3-mydomain.com
    - node4-mydomain.com
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
cluster.initial_master_nodes:
    - node1-mydomain.com
    - node2-mydomain.com
    - node3-mydomain.com
#cluster.initial_master_nodes: ["node1.mydomain.com"]
#node.master: true
#node.data: true
#node.roles: [master, data_hot, transform, ingest]
...

```

The cold node has node.roles active on [data\_cold]. When I try to activate node.roles for the first 3 nodes it doesn't boot, I looked in the logs, but I didn't find anything relevant (or I didn't know how to search).

**My doubt:**  
**Can I use node.roles: [master, data hot, transform, ingest] ?**

My intention is for the first 3 nodes to be data\_hot and master eligible.  
Any help will be appreciated!

---

<div class="post-metadata">

**Author:** ![b0r1s](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/b0r1s/32/85475_2.png) [@b0r1s](https://discuss.elastic.co/u/b0r1s)\
**Post date:** [November 1, 2021, 2:40pm UTC](https://discuss.elastic.co/t/help-with-note-roles/288149/2 "2021-11-01T14:40:37Z")

</div>

Ironically, after I create this topic, update the whole cluster to 7.15 and restart, the indexes that should go to cold node are going =]  
But I still have doubts if I can use node.roles as I mentioned above, because I want to leave the first 3 nodes as data\_hot.

---

<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 1, 2021, 10:57pm UTC](https://discuss.elastic.co/t/help-with-note-roles/288149/3 "2021-11-01T22:57:09Z")

</div>

> [@b0r1s](#):
>
> an I use node.roles: [master, data hot, transform, ingest] ?

Yes.

---

<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:** [November 29, 2021, 10:57pm UTC](https://discuss.elastic.co/t/help-with-note-roles/288149/4 "2021-11-29T22:57:30Z")

</div>

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