How many nodes I need?


#1

I'd like to know how to count the number of nodes I need. As I know (but I'm pretty new, so know a little) I don't need Ingest node - Master and Data is enough.
But how many Masters and how many Data nodes I need? What determines these amounts and how to count it.


(David Pilato) #2

May I suggest you look at the following resources about sizing:

https://www.elastic.co/elasticon/conf/2016/sf/quantitative-cluster-sizing


(swarmee.net) #3

Hey LesioS,

In relation to number of required master nodes the answer is simple - it's three Master nodes. This avoids split brains but still gives you redundancy.

In relation to data nodes it all depends on your data. This is a good article that gives some pointers to configure your index settings --> https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster

There is no substitute for actually testing different data node configurations with your data to see the impact.


#4

Many thanks for your replies. Now I'm a little bit more familar with sizing Data nodes. But still don't catch why I need (at least) 3 Master nodes?


(Christian Dahlqvist) #5

As master election is based on consensus across master-eligible nodes, 3 master eligible nodes is the minimum in order to have a highly available system.


#6

Number of Master/Data nodes in single cluster is in any way limited by subscription type?


(system) #7

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