blob: 292748d1d7b908ecb6720eba1c83ea2940df34e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
[[modules-discovery]]
== Discovery
The discovery module is responsible for discovering nodes within a
cluster, as well as electing a master node.
Note, Elasticsearch is a peer to peer based system, nodes communicate
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.
include::discovery/azure.asciidoc[]
include::discovery/ec2.asciidoc[]
include::discovery/gce.asciidoc[]
include::discovery/zen.asciidoc[]
|