cluster-name.asciidoc 651 B

123456789101112131415161718
  1. [[cluster-name]]
  2. [discrete]
  3. ==== Cluster name setting
  4. A node can only join a cluster when it shares its `cluster.name` with all the
  5. other nodes in the cluster. The default name is `elasticsearch`, but you should
  6. change it to an appropriate name that describes the purpose of the cluster.
  7. [source,yaml]
  8. --------------------------------------------------
  9. cluster.name: logging-prod
  10. --------------------------------------------------
  11. IMPORTANT: Do not reuse the same cluster names in different environments.
  12. Otherwise, nodes might join the wrong cluster.
  13. NOTE: Changing the name of a cluster requires a <<restart-cluster-full,full
  14. cluster restart>>.