discovery.asciidoc 1.0 KB

123456789101112131415161718192021222324252627282930
  1. [[modules-discovery]]
  2. == Discovery
  3. The discovery module is responsible for discovering nodes within a
  4. cluster, as well as electing a master node.
  5. Note, Elasticsearch is a peer to peer based system, nodes communicate
  6. with one another directly if operations are delegated / broadcast. All
  7. the main APIs (index, delete, search) do not communicate with the master
  8. node. The responsibility of the master node is to maintain the global
  9. cluster state, and act if nodes join or leave the cluster by reassigning
  10. shards. Each time a cluster state is changed, the state is made known to
  11. the other nodes in the cluster (the manner depends on the actual
  12. discovery implementation).
  13. [float]
  14. === Settings
  15. The `cluster.name` allows to create separated clusters from one another.
  16. The default value for the cluster name is `elasticsearch`, though it is
  17. recommended to change this to reflect the logical group name of the
  18. cluster running.
  19. include::discovery/azure.asciidoc[]
  20. include::discovery/ec2.asciidoc[]
  21. include::discovery/gce.asciidoc[]
  22. include::discovery/zen.asciidoc[]