2013-08-28 19:24:34 -04:00
|
|
|
[[modules-cluster]]
|
|
|
|
== Cluster
|
|
|
|
|
2015-06-22 17:49:45 -04:00
|
|
|
One of the main roles of the master is to decide which shards to allocate to
|
|
|
|
which nodes, and when to move shards between nodes in order to rebalance the
|
|
|
|
cluster.
|
2013-08-28 19:24:34 -04:00
|
|
|
|
2015-06-22 17:49:45 -04:00
|
|
|
There are a number of settings available to control the shard allocation process:
|
2013-08-28 19:24:34 -04:00
|
|
|
|
2015-06-22 17:49:45 -04:00
|
|
|
* <<shards-allocation>> lists the settings to control the allocation an
|
|
|
|
rebalancing operations.
|
2013-08-28 19:24:34 -04:00
|
|
|
|
2015-06-22 17:49:45 -04:00
|
|
|
* <<disk-allocator>> explains how Elasticsearch takes available disk space
|
|
|
|
into account, and the related settings.
|
2013-08-28 19:24:34 -04:00
|
|
|
|
2015-06-22 17:49:45 -04:00
|
|
|
* <<allocation-awareness>> and <<forced-awareness>> control how shards can
|
|
|
|
be distributed across different racks or availability zones.
|
2013-08-28 19:24:34 -04:00
|
|
|
|
2015-06-22 17:49:45 -04:00
|
|
|
* <<allocation-filtering>> allows certain nodes or groups of nodes excluded
|
|
|
|
from allocation so that they can be decommisioned.
|
2013-08-28 19:24:34 -04:00
|
|
|
|
2015-06-22 17:49:45 -04:00
|
|
|
Besides these, there are a few other <<misc-cluster,miscellaneous cluster-level settings>>.
|
2013-08-28 19:24:34 -04:00
|
|
|
|
2015-06-22 17:49:45 -04:00
|
|
|
All of the settings in this section are _dynamic_ settings which can be
|
|
|
|
updated on a live cluster with the
|
|
|
|
<<cluster-update-settings,cluster-update-settings>> API.
|
2013-08-28 19:24:34 -04:00
|
|
|
|
2015-06-22 17:49:45 -04:00
|
|
|
include::cluster/shards_allocation.asciidoc[]
|
2013-08-28 19:24:34 -04:00
|
|
|
|
2015-06-22 17:49:45 -04:00
|
|
|
include::cluster/disk_allocator.asciidoc[]
|
2013-08-28 19:24:34 -04:00
|
|
|
|
2015-06-22 17:49:45 -04:00
|
|
|
include::cluster/allocation_awareness.asciidoc[]
|
2014-09-26 15:04:42 -04:00
|
|
|
|
2015-06-22 17:49:45 -04:00
|
|
|
include::cluster/allocation_filtering.asciidoc[]
|
2014-11-04 08:32:05 -05:00
|
|
|
|
2015-06-22 17:49:45 -04:00
|
|
|
include::cluster/misc.asciidoc[]
|