Elasticsearch version 6.8.17, all nodes are data and master nodes.
Hello, I have a need to expand current Elasticsearch cluster from 3 to 6 nodes.
I have a question regarding parameter
"discovery.zen.minimum_master_nodes"
It should be set to (N/2)+1
So if I'll add new nodes one by one, I should set this parameter to a different number on each node?
on 4 node = 3
on 5 node = 3
on 6 node = 4
How about initial 3 nodes where this paramter set to 2, should I change it to 4 and restart nodes or how this works?
How should I configure this parameter to correctly expand my current cluster.
You could also keep this setting intact and just add new data nodes only by setting for each new node node.master: false.
Otherwise, if you want all nodes to be master eligibles, you should start the 3 new nodes and then use the cluster settings update API to update this value:
Thanks, this is helps.
Can I also ask about "discovery.zen.ping.unicast.hosts", it set to 3 nodes:
discovery.zen.ping.unicast.hosts: [node1,node2,node3]
On each new node I should include previously added node? so it would be
node4 [1,2,3]
node5 [1,2,3,4]
node6 [1,2,3,4,5]
Do I need to change this parameter on inital 3 nodes to include all 6 nodes?
Thanks!
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.