Nodes for Elasticsearch

Hi,

I would like to know if 3-node cluster is the desired setup for Elasticsearch? I have this type of setup since I'm configuring X-Pack for this cluster.

Cluster: TestES

node.name: ENode1
node.master: true
node.data: false
node.ingest: false

node.name: ENode2
node.master: true
node.data: true
node.ingest: false

node.name: ENode3
node.master: false
node.data: true
node.ingest: true

But If have a 2-node cluster there should be two masters and 2 data nodes? or is it possible to have this type of setup..

Cluster: TestES

node.name: ENode1
node.master: master
node.data: true
node.ingest: false

node.name: ENode2
node.master: true
node.data: true
node.ingest: true

Will this affect the performance of Elasticsearch if cluster is only 2-node?

Thanks!

Set all 3 nodes master:true and don't use only 2 nodes to avoid cluster stopping or split brain issues.

Hi David,

Thanks for the advise :slight_smile:

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