@@ -34,7 +34,7 @@ By default the cluster formation module offers two hosts providers to configure
34
34
the list of seed nodes: a _settings_-based and a _file_-based hosts provider.
35
35
It can be extended to support cloud environments and other forms of hosts
36
36
providers via {plugins}/discovery.html[discovery plugins]. Hosts providers are
37
- configured using the `discovery.zen.hosts_provider ` setting, which defaults to
37
+ configured using the `discovery.seed_providers ` setting, which defaults to
38
38
the _settings_-based hosts provider. Multiple hosts providers can be specified
39
39
as a list.
40
40
@@ -49,12 +49,12 @@ round of discovery. Note that if you are in an environment where DNS resolutions
49
49
vary with time, you might need to adjust your <<networkaddress-cache-ttl,JVM
50
50
security settings>>.
51
51
52
- The list of hosts is set using the <<unicast.hosts,`discovery.zen.ping.unicast.hosts `>> static
52
+ The list of hosts is set using the <<unicast.hosts,`discovery.seed_hosts `>> static
53
53
setting. For example:
54
54
55
55
[source,yaml]
56
56
--------------------------------------------------
57
- discovery.zen.ping.unicast.hosts :
57
+ discovery.seed_hosts :
58
58
- 192.168.1.10:9300
59
59
- 192.168.1.11 <1>
60
60
- seeds.mydomain.com <2>
@@ -64,9 +64,9 @@ discovery.zen.ping.unicast.hosts:
64
64
<2> A hostname that resolves to multiple IP addresses will try all resolved
65
65
addresses.
66
66
67
- Additionally, the `discovery.zen.ping.unicast.hosts.resolve_timeout ` configures
68
- the amount of time to wait for DNS lookups on each round of discovery. This is
69
- specified as a <<time-units, time unit>> and defaults to 5s.
67
+ Additionally, the `discovery.seed_resolver.timeout ` configures the amount of
68
+ time to wait for DNS lookups on each round of discovery. This is specified as a
69
+ <<time-units, time unit>> and defaults to 5s.
70
70
71
71
Unicast discovery uses the <<modules-transport,transport>> module to perform the
72
72
discovery.
@@ -87,21 +87,21 @@ in the `elasticsearch.yml` file:
87
87
88
88
[source,yml]
89
89
----------------------------------------------------------------
90
- discovery.zen.hosts_provider : file
90
+ discovery.seed_providers : file
91
91
----------------------------------------------------------------
92
92
93
93
Then create a file at `$ES_PATH_CONF/unicast_hosts.txt` in the format described
94
94
below. Any time a change is made to the `unicast_hosts.txt` file the new changes
95
95
will be picked up by Elasticsearch and the new hosts list will be used.
96
96
97
97
Note that the file-based discovery plugin augments the unicast hosts list in
98
- `elasticsearch.yml`. If there are valid unicast host entries in
99
- `discovery.zen.ping.unicast.hosts`, they are used in addition to those
100
- supplied in `unicast_hosts.txt`.
98
+ `elasticsearch.yml`. If there are valid seed addresses in
99
+ `discovery.seed_hosts` then they are used in addition to those supplied in
100
+ `unicast_hosts.txt`.
101
101
102
- The `discovery.zen.ping.unicast.hosts.resolve_timeout ` setting also applies to
103
- DNS lookups for nodes specified by address via file-based discovery. This is
104
- specified as a <<time-units, time unit>> and defaults to 5s.
102
+ The `discovery.seed_resolver.timeout ` setting also applies to DNS lookups for
103
+ seed addresses given via file-based discovery. This is specified as a
104
+ <<time-units, time unit>> and defaults to 5s.
105
105
106
106
The format of the file is to specify one node entry per line. Each node entry
107
107
consists of the host (host name or IP address) and an optional transport port
@@ -123,7 +123,7 @@ the default port:
123
123
----------------------------------------------------------------
124
124
125
125
Host names are allowed instead of IP addresses (similar to
126
- `discovery.zen.ping.unicast.hosts `), and IPv6 addresses must be specified in
126
+ `discovery.seed_hosts `), and IPv6 addresses must be specified in
127
127
brackets with the port coming after the brackets.
128
128
129
129
You can also add comments to this file. All comments must appear on
0 commit comments