cluster.asciidoc 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. [[modules-cluster]]
  2. === Cluster-level shard allocation and routing settings
  3. _Shard allocation_ is the process of allocating shards to nodes. This can
  4. happen during initial recovery, replica allocation, rebalancing, or
  5. when nodes are added or removed.
  6. One of the main roles of the master is to decide which shards to allocate to
  7. which nodes, and when to move shards between nodes in order to rebalance the
  8. cluster.
  9. There are a number of settings available to control the shard allocation process:
  10. * <<cluster-shard-allocation-settings>> control allocation and
  11. rebalancing operations.
  12. * <<disk-based-shard-allocation>> explains how Elasticsearch takes available
  13. disk space into account, and the related settings.
  14. * <<shard-allocation-awareness>> and <<forced-awareness>> control how shards
  15. can be distributed across different racks or availability zones.
  16. * <<cluster-shard-allocation-filtering>> allows certain nodes or groups of
  17. nodes excluded from allocation so that they can be decommissioned.
  18. Besides these, there are a few other <<misc-cluster-settings,miscellaneous cluster-level settings>>.
  19. include::cluster/shards_allocation.asciidoc[]
  20. include::cluster/disk_allocator.asciidoc[]
  21. include::cluster/allocation_awareness.asciidoc[]
  22. include::cluster/allocation_filtering.asciidoc[]
  23. include::cluster/misc.asciidoc[]