mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 02:13:33 -04:00
* [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.
15 lines
555 B
Text
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.
|