2013-08-28 19:24:34 -04:00
|
|
|
[[modules-discovery]]
|
|
|
|
== Discovery
|
|
|
|
|
|
|
|
The discovery module is responsible for discovering nodes within a
|
|
|
|
cluster, as well as electing a master node.
|
|
|
|
|
2014-01-06 15:58:46 -05:00
|
|
|
Note, Elasticsearch is a peer to peer based system, nodes communicate
|
2013-08-28 19:24:34 -04:00
|
|
|
with one another directly if operations are delegated / broadcast. All
|
|
|
|
the main APIs (index, delete, search) do not communicate with the master
|
|
|
|
node. The responsibility of the master node is to maintain the global
|
|
|
|
cluster state, and act if nodes join or leave the cluster by reassigning
|
|
|
|
shards. Each time a cluster state is changed, the state is made known to
|
|
|
|
the other nodes in the cluster (the manner depends on the actual
|
|
|
|
discovery implementation).
|
|
|
|
|
|
|
|
[float]
|
|
|
|
=== Settings
|
|
|
|
|
|
|
|
The `cluster.name` allows to create separated clusters from one another.
|
|
|
|
The default value for the cluster name is `elasticsearch`, though it is
|
|
|
|
recommended to change this to reflect the logical group name of the
|
|
|
|
cluster running.
|
|
|
|
|
2014-02-05 12:06:39 -05:00
|
|
|
include::discovery/azure.asciidoc[]
|
|
|
|
|
2013-08-28 19:24:34 -04:00
|
|
|
include::discovery/ec2.asciidoc[]
|
|
|
|
|
2014-02-05 12:06:39 -05:00
|
|
|
include::discovery/gce.asciidoc[]
|
|
|
|
|
2013-08-28 19:24:34 -04:00
|
|
|
include::discovery/zen.asciidoc[]
|