Master Node vs Data Node

I have designed a 6 node elasticsearch cluster with 3 Master Nodes and 3 Data nodes. I am trying to turn on the monitoring using Metricbeat . And metricbeat asks for the url of the monitoring Cluster. What should be the url given - is it either the master nodes url or data nodes url .

And also for indexing purposes of data from various applications, the data nodes url should be used or the master nodes url should be used ?

Data nodes.

Data nodes.

That said, if you only have 3 data nodes you probably don't need 3 separate master nodes. Why not just have 3 do-everything nodes? It'd be much simpler.

1 Like

Hi @DavidTurner ,

Thanks for your reply.
Since it is a production instance, we decided to go with 3 Master Nodes to avoid split brain and 3 Master nodes to handle the indexing and querying .

There is no risk of split brain in Elasticsearch clusters of any size.

You mean data nodes right?

In any case that doesn't answer the question: Why not just have 3 do-everything nodes? It'd be much simpler.