kundante
kundante

Reputation: 2160

Configure Elasticsearch Cluster -- Data Dedicated Nodes

I have an elastic search(1.7) cluster that connsist of 21 nodes. I want 15 of them to be dedicated data nodes and other 6 be responsible for querying the data. I have nod.data = true nod.master = false configuration for data nodes. However I am confused with other 6. Should I configure all of them as nod.data =false nod.master = true or Is it better to have 3 master eligible node and other 3 will have nod.data = false nod.master=true

Upvotes: 0

Views: 108

Answers (1)

Val
Val

Reputation: 217564

If you have 21 nodes, it's a very good practice to have 3 dedicated master-eligible nodes with a configuration such as this one:

node.data: false
node.master: true

One of those nodes will be THE elected master node and will be dedicated to manage the cluster state, which with 21 nodes and depending on the load can be quite some work.

Then you can have your 15 data-only nodes with the following configuration:

node.data: true
node.master: false

Finally, you're left with 3 nodes which you can use as client nodes responsible for querying the data and gathering the results. Those nodes act as some kind of smart load balancers and have the following configuration:

node.data: false
node.master: false

Upvotes: 1

Related Questions