I try to configure ES cluster using 4 nodes
(1 master only node, 3 data only nodes)
but, I'm not sure how much to set the volume size for the master node.
(The volume is mounted on /usr/share/elasticsearch/data directory)
The master node is configured with 2GB of memory and a 1GB heap.
Currently, the data size is around 3GB, with an expected expansion up to 30GB in the future
Given this situation, could you please advise on the optimal volume size to set for the master node?
If it's difficult to provide specific configuration values, could you please provide guidance or rules for determining the storage size of a master-only node?
This is bad as it does not give you any resilience or high availability even though you have enough nodes to achieve this. I would recommend making all the data nodes master eligible and drop the dedicated master node. Just because you can create clusters with different node profiles does not mean that is the right thing to do for smaller clusters.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.