# Best configuration for 3 Node Cluster

**URL:** <https://discuss.elastic.co/t/best-configuration-for-3-node-cluster/324318>\
**Category:** Elasticsearch\
**Created:** [January 31, 2023, 10:54am UTC](https://discuss.elastic.co/t/best-configuration-for-3-node-cluster/324318 "2023-01-31T10:54:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sidchaug](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@sidchaug](https://discuss.elastic.co/u/sidchaug)\
**Post date:** [January 31, 2023, 10:54am UTC](https://discuss.elastic.co/t/best-configuration-for-3-node-cluster/324318/1 "2023-01-31T10:54:36Z")

</div>

HI There,

Currently we having 3 ES nodes(node-1, node-2 and node-3 each of 3TB) , we are creating indexex on daily basic.  
When we run the command we note that we have 3 PRI & 3 Replicas, is this the best configuration?  
We are noticing that the disc is getting filled very quickly, can you please suggest some ideas to fix this issue??

Thanks in advance

Siddharth

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/b/9bde2dbed10a37287cb7f0dacfd61db875542522.png)

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [January 31, 2023, 11:20am UTC](https://discuss.elastic.co/t/best-configuration-for-3-node-cluster/324318/2 "2023-01-31T11:20:05Z")

</div>

I would say it's OK configuration. You can use 2 data +1 master node, however I would set the same as you.  
For disk space use ILM to define a retention period. Check [another topic about ILM](https://discuss.elastic.co/t/time-based-indexes/324067/2).

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [January 31, 2023, 12:19pm UTC](https://discuss.elastic.co/t/best-configuration-for-3-node-cluster/324318/3 "2023-01-31T12:19:05Z")

</div>

> [@sidchaug](#):
>
> we note that we have 3 PRI & 3 Replicas

You have too many replicas for the number of nodes you currently have, you could change it to have just 1 replica and it is enough.

---

<div class="post-metadata">

**Author:** ![sidchaug](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@sidchaug](https://discuss.elastic.co/u/sidchaug)\
**Post date:** [January 31, 2023, 12:30pm UTC](https://discuss.elastic.co/t/best-configuration-for-3-node-cluster/324318/4 "2023-01-31T12:30:27Z")

</div>

Hi Leandro, thanks for the reply  
Could you suggest some help how to reduce the replicas??

Thanks  
Siddharth

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [January 31, 2023, 12:48pm UTC](https://discuss.elastic.co/t/best-configuration-for-3-node-cluster/324318/5 "2023-01-31T12:48:36Z")

</div>

Good point leandrojmp, I haven't noticed that. Usually is 1 enough to lose a node. 2 replica for 2 nodes.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [January 31, 2023, 12:55pm UTC](https://discuss.elastic.co/t/best-configuration-for-3-node-cluster/324318/6 "2023-01-31T12:55:35Z")

</div>

> [@sidchaug](#):
>
> Could you suggest some help how to reduce the replicas??

You need to edit the template of your indices, the number of primary and replicas shards are managed by the template.

---

<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:** [February 28, 2023, 12:56pm UTC](https://discuss.elastic.co/t/best-configuration-for-3-node-cluster/324318/7 "2023-02-28T12:56:21Z")

</div>

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