cluster-name.asciidoc 554 B

123456789101112131415
  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.