# Convert 2 nodes with roles \[data\] to \[data\_hot, data\_content\] and \[warm\]

**URL:** <https://discuss.elastic.co/t/convert-2-nodes-with-roles-data-to-data-hot-data-content-and-warm/335685>\
**Category:** Elasticsearch\
**Created:** [June 10, 2023, 12:59pm UTC](https://discuss.elastic.co/t/convert-2-nodes-with-roles-data-to-data-hot-data-content-and-warm/335685 "2023-06-10T12:59:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaismax](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@kaismax](https://discuss.elastic.co/u/kaismax)\
**Post date:** [June 10, 2023, 12:59pm UTC](https://discuss.elastic.co/t/convert-2-nodes-with-roles-data-to-data-hot-data-content-and-warm/335685/1 "2023-06-10T12:59:28Z")

</div>

Salut, Elastic Fulks  
My production cluster is set up as follows:

- 1 master node
- two data nodes [data]
- 1 coordinator

I want to convert the 2 data nodes to

- first one to [data\_content,data\_hot].
- second one to [data\_warm]

How to convert the 2 data nodes carefully.

---

<div class="post-metadata">

**Author:** ![xeraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xeraa/32/48181_2.png) [@xeraa](https://discuss.elastic.co/u/xeraa)\
**Post date:** [June 11, 2023, 2:51am UTC](https://discuss.elastic.co/t/convert-2-nodes-with-roles-data-to-data-hot-data-content-and-warm/335685/2 "2023-06-11T02:51:26Z")

</div>

Assuming you have replicated all data, it should be pretty similar to a rolling upgrade — just instead of upgrading a node you would reconfigure `node.roles` and then restart it: [Upgrade Elasticsearch | Elastic Installation and Upgrade Guide [8.8] | Elastic](https://www.elastic.co/guide/en/elastic-stack/8.8/upgrading-elasticsearch.html)

Though I'm not sure I fully get what you are trying to do there: Are you sure you want to have a single node per data tier (and no replication of the data)?  
This all feels over-specialized for this cluster size (including having a coordinating node with only 2 data nodes).

PS: And I hope you have 3 master-eligible nodes to keep that cluster highly available.

---

<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:** [July 9, 2023, 2:51am UTC](https://discuss.elastic.co/t/convert-2-nodes-with-roles-data-to-data-hot-data-content-and-warm/335685/3 "2023-07-09T02:51:43Z")

</div>

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