changeset 2321:77c3f7ddcb5f

Basic config.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Sun, 30 Dec 2018 17:43:27 +0200
parents b7a2c43902f3
children 237657ef1fd9
files elasticsearch.rst
diffstat 1 files changed, 46 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/elasticsearch.rst	Sun Dec 30 17:41:54 2018 +0200
+++ b/elasticsearch.rst	Sun Dec 30 17:43:27 2018 +0200
@@ -25,6 +25,49 @@
 https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html
   Install Elasticsearch with Debian Package.
 
+Basic config
+============
+
+Common cluster name inside given intranet::
+
+  cluster.name: mycluster
+
+Unique node name within claser::
+
+  node.name: "node1"
+
+Node types::
+
+  node.master: true
+  node.ingest: true
+  node.data: true
+
+Network interfaces to bind to::
+
+  network.host: [_local_, node1.example.com]
+
+Port definitions::
+
+  http.port : 9200
+  tcp.port : 9300
+
+Override default locations::
+
+  path.data: /path/to/data1,/path/to/data2
+  path.logs: /path/to/logs
+  path.plugins: /path/to/plugins
+
+Explicit list of seed nodes in cluster::
+
+  discovery.zen.ping.unicast.hosts: ["master1.example.com", "master2.example.com:9300"]
+
+https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html
+  Node types.
+https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-discovery-zen.html
+  Discovery settings.
+https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-transport.html
+  Transport definitions.
+
 REST syntax conventions
 =======================
 
@@ -55,6 +98,7 @@
 List cluster state::
 
   GET /_cluster/state?pretty
+  GET /_cluster/allocation/explain
 
 List of tasks executed in cluster::
 
@@ -80,6 +124,8 @@
 
 https://www.elastic.co/guide/en/elasticsearch/reference/current/_cluster_health.html
   Cluster Health.
+https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-allocation-explain.html
+  Cluster Allocation Explain API
 https://www.elastic.co/guide/en/elasticsearch/reference/current/_list_all_indices.html
   List All Indices.
 https://www.elastic.co/guide/en/elasticsearch/reference/current/cat.html