Skip to content

Commit 610161b

Browse files
authored
Clarify the remote clusters seeds setting
Clarify the required value for the `seeds` setting, specifically that it requires the `transport.tcp.port` (as opposed to the `http.port`) of the remote cluster.
1 parent 8807f0c commit 610161b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/reference/modules/remote-clusters.asciidoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,23 @@ driven specifically from those nodes. Remote clusters set via the
4141
in the cluster.
4242

4343
The `elasticsearch.yml` config file for a node that connects to remote clusters
44-
needs to list the remote clusters that should be connected to, for instance:
44+
needs to list the remote clusters that should be connected to. The format for each
45+
`seeds` entry is `remote_host`:`transport.tcp.port`, for instance:
4546

4647
[source,yaml]
4748
--------------------------------
4849
cluster:
4950
remote:
5051
cluster_one: <1>
51-
seeds: 127.0.0.1:9300
52-
cluster_two: <1>
5352
seeds: 127.0.0.1:9301
53+
cluster_two: <1>
54+
seeds: 127.0.0.1:9302
5455
5556
--------------------------------
5657
<1> `cluster_one` and `cluster_two` are arbitrary _cluster aliases_ representing
5758
the connection to each cluster. These names are subsequently used to distinguish
58-
between local and remote indices.
59+
between local and remote indices. In this example, `cluster_one` is using port `9301`
60+
for transport, and `cluster_two` is using port `9302`.
5961

6062
The equivalent example using the <<cluster-update-settings,cluster settings
6163
API>> to add remote clusters to all nodes in the cluster would look like the

0 commit comments

Comments
 (0)