# Multiple dockered nodes on a big server. Need advice

**URL:** <https://discuss.elastic.co/t/multiple-dockered-nodes-on-a-big-server-need-advice/80869>\
**Category:** Elasticsearch\
**Created:** [March 31, 2017, 8:00pm UTC](https://discuss.elastic.co/t/multiple-dockered-nodes-on-a-big-server-need-advice/80869 "2017-03-31T20:00:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kazama](https://avatars.discourse-cdn.com/v4/letter/k/d07c76/32.png) [@Kazama](https://discuss.elastic.co/u/Kazama)\
**Post date:** [March 31, 2017, 8:00pm UTC](https://discuss.elastic.co/t/multiple-dockered-nodes-on-a-big-server-need-advice/80869/1 "2017-03-31T20:00:39Z")

</div>

384G ram server.  
~1TB index size.

**Question 1**  
At first I was going to have 6 nodes (31g heap each) and 6 shards, it looked clean to me.

But now that I think of 1TB/6 = 170GB per shard... Isn't it too much for a single shard? Or mby it is OK since all nodes sit on the same physical server?

In case I obey the "50Gb at max" recommendation it would be 24 shards at least to split evenly across 6 nodes. Isn't 24 shards too much?

**Question 2**  
I know nodes can work as _master_ / _data_ / _master+data_, and it is desirable for master nodes to do no extra work besides being a master.

Since all my nodes gonna sit on the same physical server, which setup should I use?

Currently I just run 6 nodes in default configuration (= _master+data_).

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 1, 2017, 8:02am UTC](https://discuss.elastic.co/t/multiple-dockered-nodes-on-a-big-server-need-advice/80869/2 "2017-04-01T08:02:27Z")

</div>

> [@Kazama](#):
>
> In case I obey the "50Gb at max" recommendation it would be 24 shards at least to split evenly across 6 nodes. Isn't 24 shards too much?

No, 24 shards is not a lot, m although the ideal shard size and count tend to vary depending on use case. Query performance will depend on shard size and multiple shards can be processed in parallel, so may very well give better performance.

> [@Kazama](#):
>
> Since all my nodes gonna sit on the same physical server, which setup should I use?

As you have a single large server you are not going to have a HA cluster anyway, so you could probably let all your nodes have the default configuration (master+data) and set minimum master nodes to 4. This would allow you to do rolling upgrades.

You could also set up small dedicated master nodes on the server, but whether this is beneficial or not depends on what load you will be putting on the cluster.

---

<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:** [April 29, 2017, 8:02am UTC](https://discuss.elastic.co/t/multiple-dockered-nodes-on-a-big-server-need-advice/80869/3 "2017-04-29T08:02:49Z")

</div>

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