mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
17 lines
634 B
Text
17 lines
634 B
Text
[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.
|
|
|
|
NOTE: Changing the name of a cluster requires a <<restart-cluster-full,full
|
|
cluster restart>>.
|