# Data Node Roles

**URL:** <https://discuss.elastic.co/t/data-node-roles/296482>\
**Category:** Elasticsearch\
**Created:** [February 7, 2022, 2:09pm UTC](https://discuss.elastic.co/t/data-node-roles/296482 "2022-02-07T14:09:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enis\_Kollugil](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/enis_kollugil/32/80390_2.png) [@Enis\_Kollugil](https://discuss.elastic.co/u/Enis_Kollugil)\
**Post date:** [February 7, 2022, 2:09pm UTC](https://discuss.elastic.co/t/data-node-roles/296482/1 "2022-02-07T14:09:23Z")

</div>

Hello everyone,  
We need some hints for a situation.

We have an Elasticsearch cluster with version 7.10 and we configure it for data nodes as follows.

```auto
node.master: false
node.data: true
node.ingest: true

```

However, when I look at the node details, I see that all other roles are active.

```auto
10.x.y.1 16 81 0 0.02 0.01 0.00 cdhilrstw - els-data-1
10.x.y.2 49 80 0 0.00 0.00 0.00 cdhilrstw - els-data-2
10.x.y.3 31 79 0 0.00 0.00 0.00 cdhilrstw - els-data-3

```

- Is it a problem if the features I don't use are turned on? For example `ml`
- Will this have any performance impact?

Thank you 🙏

---

<div class="post-metadata">

**Author:** ![sholzhauer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sholzhauer/32/110282_2.png) [@sholzhauer](https://discuss.elastic.co/u/sholzhauer)\
**Post date:** [February 7, 2022, 3:16pm UTC](https://discuss.elastic.co/t/data-node-roles/296482/2 "2022-02-07T15:16:52Z")

</div>

Hi,

Believe the way you are using is deprecated and you should use the `node.roles` property:

For example:

```auto
node.roles: [data_cold]

```

Having all roles will impact your cluster as all nodes will do everything.

---

<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 7, 2022, 3:17pm UTC](https://discuss.elastic.co/t/data-node-roles/296482/3 "2022-03-07T15:17:14Z")

</div>

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