Hi ,
Can anyone help me in setting three node cluster on production?
Also which setting I need to add/edit on all three nodes.
Thanks,
Sohil
Hi ,
Can anyone help me in setting three node cluster on production?
Also which setting I need to add/edit on all three nodes.
Thanks,
Sohil
What is your problem?
With three nodes in the cluster, I would recommend making them all hold data and be master eligible. Remember to set minimum_master_nodes
to 2 to avoid split brain scenarios.
All nodes should have the IP addresses of all nodes in the unicast hosts list.
Thanks for your quick help.
What about #index.number_of_shards: 1 and #index.number_of_replicas: 0 in three nodes cluster.
If you want the cluster to be highly available, you will need at least one replica configured. The ideal number of shards will depend on your data, the specification of the cluster and the number of indices you expect to have. 3 might be a good starting option in order to distribute data across the nodes reasonably evenly.
© 2020. All Rights Reserved - Elasticsearch
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.