# Upgrade to Master and Data only node configuration from master-data node

**URL:** <https://discuss.elastic.co/t/upgrade-to-master-and-data-only-node-configuration-from-master-data-node/201923>\
**Category:** Elasticsearch\
**Created:** [October 2, 2019, 9:32am UTC](https://discuss.elastic.co/t/upgrade-to-master-and-data-only-node-configuration-from-master-data-node/201923 "2019-10-02T09:32:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ilayda\_Akinalan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilayda_akinalan/32/54058_2.png) [@Ilayda\_Akinalan](https://discuss.elastic.co/u/Ilayda_Akinalan)\
**Post date:** [October 2, 2019, 9:32am UTC](https://discuss.elastic.co/t/upgrade-to-master-and-data-only-node-configuration-from-master-data-node/201923/1 "2019-10-02T09:32:28Z")

</div>

Currently I have 3 nodes, 330 indices and 1,822 shards and approx 3 TB of memory.

Currently these 3 nodes are master-data nodes and its not coping well with the load.

I was planning to keep these 3 nodes as data nodes, then have another 3 nodes and set these up as master only nodes.

Considering 3 data nodes will have 1TB memory each, I was wondering if anyone could give me an idea on how much memory would each of the 3 master nodes require?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [October 2, 2019, 9:55am UTC](https://discuss.elastic.co/t/upgrade-to-master-and-data-only-node-configuration-from-master-data-node/201923/2 "2019-10-02T09:55:53Z")

</div>

By "memory" I think you mean disk space, right? 1TB of RAM is a lot! Dedicated master nodes need a small amount of disk space. How many bytes is the response you get from `GET _cluster/state` in your cluster?

---

<div class="post-metadata">

**Author:** ![Ilayda\_Akinalan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilayda_akinalan/32/54058_2.png) [@Ilayda\_Akinalan](https://discuss.elastic.co/u/Ilayda_Akinalan)\
**Post date:** [October 2, 2019, 4:35pm UTC](https://discuss.elastic.co/t/upgrade-to-master-and-data-only-node-configuration-from-master-data-node/201923/3 "2019-10-02T16:35:01Z")

</div>

I was hoping to use the 1TB machines as a data node, as i mentioned we index alot of data. All i would like to find out is how small does master node need to be considering we have;

411 indices  
2,682 shards  
3,238,297,242 docs

Thanks,  
Ilayda

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [October 2, 2019, 4:42pm UTC](https://discuss.elastic.co/t/upgrade-to-master-and-data-only-node-configuration-from-master-data-node/201923/4 "2019-10-02T16:42:11Z")

</div>

This is the information we need to answer your question:

> [@DavidTurner](#):
>
> How many bytes is the response you get from `GET _cluster/state` in your cluster?

---

<div class="post-metadata">

**Author:** ![Ilayda\_Akinalan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilayda_akinalan/32/54058_2.png) [@Ilayda\_Akinalan](https://discuss.elastic.co/u/Ilayda_Akinalan)\
**Post date:** [October 2, 2019, 4:56pm UTC](https://discuss.elastic.co/t/upgrade-to-master-and-data-only-node-configuration-from-master-data-node/201923/5 "2019-10-02T16:56:09Z")

</div>

i cant seem to be able to check that via kibana due to gateway issues, however i did  
curl -XGET '[http://elastic1-node:9200/\_cluster/state/](http://elastic1-node:9200/_cluster/state/)' \>\> /tmp/clusterstate.txt  
and the bytes that correspond to the file which the results are written is:  
20196970 Oct 2 12:38 clusterstate.txt  
So essentially 20196970 bytes.

---

<div class="post-metadata">

**Author:** ![Ilayda\_Akinalan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilayda_akinalan/32/54058_2.png) [@Ilayda\_Akinalan](https://discuss.elastic.co/u/Ilayda_Akinalan)\
**Post date:** [October 2, 2019, 4:59pm UTC](https://discuss.elastic.co/t/upgrade-to-master-and-data-only-node-configuration-from-master-data-node/201923/6 "2019-10-02T16:59:52Z")

</div>

i can also provide the results of /\_cluster/stats?human&pretty' as well if you like?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [October 2, 2019, 5:11pm UTC](https://discuss.elastic.co/t/upgrade-to-master-and-data-only-node-configuration-from-master-data-node/201923/7 "2019-10-02T17:11:52Z")

</div>

Ok 20MB for the cluster state, that sounds good. I would expect 1GB of space for the master's data path would be more than enough.

---

<div class="post-metadata">

**Author:** ![Ilayda\_Akinalan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilayda_akinalan/32/54058_2.png) [@Ilayda\_Akinalan](https://discuss.elastic.co/u/Ilayda_Akinalan)\
**Post date:** [October 4, 2019, 9:57am UTC](https://discuss.elastic.co/t/upgrade-to-master-and-data-only-node-configuration-from-master-data-node/201923/8 "2019-10-04T09:57:50Z")

</div>

Hi David,

Based on this, can you give a recommendation for CPU and RAM? (per master node)

---

<div class="post-metadata">

**Author:** ![Ilayda\_Akinalan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilayda_akinalan/32/54058_2.png) [@Ilayda\_Akinalan](https://discuss.elastic.co/u/Ilayda_Akinalan)\
**Post date:** [October 4, 2019, 11:14am UTC](https://discuss.elastic.co/t/upgrade-to-master-and-data-only-node-configuration-from-master-data-node/201923/9 "2019-10-04T11:14:49Z")

</div>

also 67 MB for the cluster state not 20 - so assuming 4 GB of space perhaps?

---

<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 1, 2019, 11:15am UTC](https://discuss.elastic.co/t/upgrade-to-master-and-data-only-node-configuration-from-master-data-node/201923/10 "2019-11-01T11:15:04Z")

</div>

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