Setting up of an Elasticsearch Cluster with master and data nodes

Hi Team ,

I am trying to set up a Elasticsearch cluster but right now I am confused over configuring of master node and data node. So my doubt is I want to have 3 nodes(all master eligible) , so according to minimum no of master node I should update the min count as 2. Now the confusion is If I initialize 2 nodes as master stating master: true data: false. Then all I am left is a single data node, which is not fine.
So I am thinking if its possible that master node can also work as data node. As one node I will keep as master and second node will behave as both master and data by stating master: true data: true and third node will be purely data node.
Is the configuration possible. Will be needing the help from experts present in this community to get the most desired solution.

Thanks
Ashit

So I am thinking if its possible that master node can also work as data node.

Yes. For small clusters that's the recommended setup unless you have lots of money.

2 Likes

Thanks @magnusbaeck this info helps

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