summaryrefslogtreecommitdiff
path: root/docs/reference/modules/discovery.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference/modules/discovery.asciidoc')
-rw-r--r--docs/reference/modules/discovery.asciidoc30
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/reference/modules/discovery.asciidoc b/docs/reference/modules/discovery.asciidoc
new file mode 100644
index 0000000..292748d
--- /dev/null
+++ b/docs/reference/modules/discovery.asciidoc
@@ -0,0 +1,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[]