Elasticsearch cluster production deployment

Hi,
Have a couple of questions regarding the configuration for ES production cluster.
We have a production cluster with 2 data nodes, 3 master eligible nodes and 1 coordinating node. All are configured as dedicated nodes.

  1. Have read that the recommended setting for replica shards is 2 for production. Since we have only 2 data nodes, does it still make sense to setting the replicas to 2? Since there can be only one replica that can actually be of any use if a data node were to go down.
  2. If we decide to add one more data node to the cluster later on, will the existing shards and replicas automatically redistribute without down time? And also is there a time delay before the replicas or primary shards become available in the new data node?
  3. Is it a normal practice to horizontally scale coordinating nodes?
    Thanks for you time and help.
  1. Where did you read that? No, it doesn't make sense for your setup.
  2. Yes. The delay is purely the time it takes to rebalance, but your data is still fully accessible.
  3. Depends. If you have the infrastructure, sure.
1 Like

Thank you for the answers. Both the blogs - the ones that said the recommended setting for replicas in production is 2 - are not from elastic. Thanks for clarifying.

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