elasticsearch/docs/reference/setup/important-settings/cluster-name.asciidoc
debadair bef9b8a9b3
[DOCS] Edit JVM settings info. Closes #72259 (#72350)
* [DOCS] Edit JVM settings info. Closes #72259

* Apply suggestions from code review

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* Incorporated review feedback.
2021-04-28 18:30:32 -07:00

15 lines
555 B
Text

[[cluster-name]]
[discrete]
==== Cluster name setting
A node can only join a cluster when it shares its `cluster.name` with all the
other nodes in the cluster. The default name is `elasticsearch`, but you should
change it to an appropriate name that describes the purpose of the cluster.
[source,yaml]
--------------------------------------------------
cluster.name: logging-prod
--------------------------------------------------
IMPORTANT: Do not reuse the same cluster names in different environments.
Otherwise, nodes might join the wrong cluster.