Question
about gateway.recover_after_nodes and discovery.zen.minimum_master_nodes in
a distributed ES cluster. By "distributed" I mean I have:
2 nodes that are data only:
'node.data' => 'true',
'node.master' => 'false',
'http.enabled' => 'false',
1 node that is a master/search only node:
'node.master' => 'true',
'node.data' => 'false',
'http.enabled' => 'true',
When setting discovery.zen.minimum_master_nodes, is the (n / 2) + 1 formula
including all nodes of all types in the cluster, or just those who can be
masters?
Similarly, when setting gateway.recover_after_nodes, is this value the
number of all nodes of all types in the cluster, or just those that are
data nodes?
Only master eligible for discovery.zen.minimum_master_nodes, so in your
case it is 1. And that's bad as you can end up with a split brain
situation. You should, if you can, make all three nodes master eligible.
Question
about gateway.recover_after_nodes and discovery.zen.minimum_master_nodes in
a distributed ES cluster. By "distributed" I mean I have:
2 nodes that are data only:
'node.data' => 'true',
'node.master' => 'false',
'http.enabled' => 'false',
1 node that is a master/search only node:
'node.master' => 'true',
'node.data' => 'false',
'http.enabled' => 'true',
When setting discovery.zen.minimum_master_nodes, is the (n / 2) + 1
formula including all nodes of all types in the cluster, or just
those who can be masters?
Similarly, when setting gateway.recover_after_nodes, is this value the
number of all nodes of all types in the cluster, or just those that are
data nodes?
Only master eligible for discovery.zen.minimum_master_nodes, so in your
case it is 1. And that's bad as you can end up with a split brain
situation. You should, if you can, make all three nodes master eligible.
Question
about gateway.recover_after_nodes and discovery.zen.minimum_master_nodes in
a distributed ES cluster. By "distributed" I mean I have:
2 nodes that are data only:
'node.data' => 'true',
'node.master' => 'false',
'http.enabled' => 'false',
1 node that is a master/search only node:
'node.master' => 'true',
'node.data' => 'false',
'http.enabled' => 'true',
When setting discovery.zen.minimum_master_nodes, is the (n / 2) + 1
formula including all nodes of all types in the cluster, or just
those who can be masters?
Similarly, when setting gateway.recover_after_nodes, is this value the
number of all nodes of all types in the cluster, or just those that are
data nodes?
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.