|
@@ -7,7 +7,7 @@ conjunction with <<shard-allocation-filtering, per-index allocation filtering>>
|
|
|
and <<allocation-awareness, allocation awareness>>.
|
|
|
|
|
|
Shard allocation filters can be based on custom node attributes or the built-in
|
|
|
-`_name`, `_ip`, and `_host` attributes.
|
|
|
+`_name`, `_host_ip`, `_publish_ip`, `_ip`, `_host` and `_id` attributes.
|
|
|
|
|
|
The `cluster.routing.allocation` settings are dynamic, enabling live indices to
|
|
|
be moved from one set of nodes to another. Shards are only relocated if it is
|
|
@@ -50,9 +50,14 @@ PUT _cluster/settings
|
|
|
The cluster allocation settings support the following built-in attributes:
|
|
|
|
|
|
[horizontal]
|
|
|
-`_name`:: Match nodes by node names
|
|
|
-`_ip`:: Match nodes by IP addresses (the IP address associated with the hostname)
|
|
|
-`_host`:: Match nodes by hostnames
|
|
|
+`_name`:: Match nodes by node name
|
|
|
+`_host_ip`:: Match nodes by host IP address (IP associated with hostname)
|
|
|
+`_publish_ip`:: Match nodes by publish IP address
|
|
|
+`_ip`:: Match either `_host_ip` or `_publish_ip`
|
|
|
+`_host`:: Match nodes by hostname
|
|
|
+`_id`:: Match nodes by node id
|
|
|
+
|
|
|
+
|
|
|
|
|
|
You can use wildcards when specifying attribute values, for example:
|
|
|
|