# Is it okay to make 7 nodes of cluster in one machine(server)?

**URL:** <https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614>\
**Category:** Elasticsearch\
**Created:** [June 22, 2021, 7:22am UTC](https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614 "2021-06-22T07:22:44Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![lilyyy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lilyyy/32/51129_2.png) [@lilyyy](https://discuss.elastic.co/u/lilyyy)\
**Post date:** [June 22, 2021, 7:22am UTC](https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614/1 "2021-06-22T07:22:44Z")

</div>

Hello.

I am running ELK and this has only one node of cluster on server.(ELK version is 6.8)  
The indices size per a day is about below 100GB but it's gonna increase. So I need to divide nodes to master node and data node.

My plan is 3 master nodes and 4 data nodes and my question is that is it okay to make 7 nodes of cluster in one machine. My server spec is RAM: 768GB and 20 core.

Or should I need to make other 6 vm machines for other master and data nodes?  
please recommend me if you have better way.

Thanks!!

---

<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:** [June 22, 2021, 7:41am UTC](https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614/2 "2021-06-22T07:41:02Z")

</div>

What sort of storage does the host have?

---

<div class="post-metadata">

**Author:** ![lilyyy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lilyyy/32/51129_2.png) [@lilyyy](https://discuss.elastic.co/u/lilyyy)\
**Post date:** [June 22, 2021, 7:43am UTC](https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614/3 "2021-06-22T07:43:54Z")

</div>

> [@warkolm](#):
>
> What sort of storage does the host have?

you mean what kind of hard drives?  
I have 5 hard disks (C,D,E,F,G) and I am running the ELK on D drive because it has 7TB.

---

<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:** [June 22, 2021, 9:48pm UTC](https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614/4 "2021-06-22T21:48:06Z")

</div>

Right, but what sort of storage is that drive. Network, SSD, spinning?

---

<div class="post-metadata">

**Author:** ![lilyyy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lilyyy/32/51129_2.png) [@lilyyy](https://discuss.elastic.co/u/lilyyy)\
**Post date:** [June 23, 2021, 3:08am UTC](https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614/5 "2021-06-23T03:08:36Z")

</div>

The drive is SSD.

---

<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:** [June 23, 2021, 3:09am UTC](https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614/6 "2021-06-23T03:09:19Z")

</div>

Ok, that should be able to deal with it.

---

<div class="post-metadata">

**Author:** ![lilyyy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lilyyy/32/51129_2.png) [@lilyyy](https://discuss.elastic.co/u/lilyyy)\
**Post date:** [June 23, 2021, 3:12am UTC](https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614/7 "2021-06-23T03:12:11Z")

</div>

Thank you so much for your quick reply.  
By the way, can I add master node and data node while I'm already running the ELK?  
when i added nodes, there were something wrong.  
so I think i need to search more but i just want to know in advance.

Thanks!

---

<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:** [June 23, 2021, 3:15am UTC](https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614/8 "2021-06-23T03:15:37Z")

</div>

It's not clear what you mean by that sorry, can you elaborate?

---

<div class="post-metadata">

**Author:** ![lilyyy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lilyyy/32/51129_2.png) [@lilyyy](https://discuss.elastic.co/u/lilyyy)\
**Post date:** [June 23, 2021, 3:22am UTC](https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614/9 "2021-06-23T03:22:17Z")

</div>

Im already running ELK for monitoring network and I only have one master node now.  
I want to add more node, so yesterday I added master node and data node for test. and then restart the elasticsearch but my kibana index(there are already have visualization and dashboard) was broken. I think kibana index shards were missing.

So I was curious i can add more nodes in this situation.

---

<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:** [June 23, 2021, 3:23am UTC](https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614/10 "2021-06-23T03:23:11Z")

</div>

You can, yes.

If it doesn't work then it'd be best to create a new topic with the process you followed, the config and the logs of the nodes.

---

<div class="post-metadata">

**Author:** ![lilyyy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lilyyy/32/51129_2.png) [@lilyyy](https://discuss.elastic.co/u/lilyyy)\
**Post date:** [June 23, 2021, 3:23am UTC](https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614/11 "2021-06-23T03:23:58Z")

</div>

Okay, I got it!  
Thank you so much!! 🙂

---

<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 21, 2021, 3:24am UTC](https://discuss.elastic.co/t/is-it-okay-to-make-7-nodes-of-cluster-in-one-machine-server/276614/12 "2021-07-21T03:24:00Z")

</div>

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