|
@@ -5,7 +5,7 @@ Starting an Elasticsearch cluster for the very first time requires the initial
|
|
|
set of <<master-node,master-eligible nodes>> to be explicitly defined on one or
|
|
|
more of the master-eligible nodes in the cluster. This is known as _cluster
|
|
|
bootstrapping_. This is only required the first time a cluster starts up.
|
|
|
-Freshly-started nodes that are joining a running cluster obtain this
|
|
|
+Freshly-started nodes that are joining a running cluster obtain this
|
|
|
information from the cluster's elected master.
|
|
|
|
|
|
The initial set of master-eligible nodes is defined in the
|
|
@@ -27,17 +27,20 @@ node:
|
|
|
if it is not possible to use the `node.name` of the node and there are
|
|
|
multiple nodes sharing a single IP address.
|
|
|
|
|
|
+Do not set `cluster.initial_master_nodes` on master-ineligible nodes.
|
|
|
+
|
|
|
[IMPORTANT]
|
|
|
====
|
|
|
After the cluster has formed, remove the `cluster.initial_master_nodes` setting
|
|
|
-from each node's configuration. It should not be set for master-ineligible
|
|
|
-nodes, master-eligible nodes joining an existing cluster, or nodes which are
|
|
|
-restarting.
|
|
|
-
|
|
|
-If you leave `cluster.initial_master_nodes` in place once the cluster has
|
|
|
-formed then there is a risk that a future misconfiguration may result in
|
|
|
-bootstrapping a new cluster alongside your existing cluster. It may not be
|
|
|
-possible to recover from this situation without losing data.
|
|
|
+from each node's configuration and never set it again for this cluster. Do not
|
|
|
+configure this setting on nodes joining an existing cluster. Do not configure
|
|
|
+this setting on nodes which are restarting. Do not configure this setting when
|
|
|
+performing a full-cluster restart.
|
|
|
+
|
|
|
+If you leave `cluster.initial_master_nodes` in place once the cluster has formed
|
|
|
+then there is a risk that a future misconfiguration may result in bootstrapping
|
|
|
+a new cluster alongside your existing cluster. It may not be possible to recover
|
|
|
+from this situation without losing data.
|
|
|
====
|
|
|
|
|
|
The simplest way to create a new cluster is for you to select one of your
|