You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With remote clusters taking on a larger role, we have make the
infrastructure more generic than being tied to cross-cluster search
(CCS). We want to refer to the remote clusters configuration in the
cross-cluster replication (CCR) docs. Yet, these docs are still tied to
CCS. This commit extracts the remote clusters docs from CCS (with some
wording changes to make them more general) so that we can refer to them
in the CCR docs.
Copy file name to clipboardExpand all lines: docs/reference/modules/cross-cluster-search.asciidoc
+2-167Lines changed: 2 additions & 167 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,52 +6,10 @@ multiple clusters. In contrast to the <<modules-tribe,tribe node>> feature, a c
6
6
join the remote cluster, instead it connects to a remote cluster in a light fashion in order to execute
7
7
federated search requests.
8
8
9
-
Cross cluster search works by configuring a remote cluster in the cluster state and connecting only to a
10
-
limited number of nodes in the remote cluster. Each remote cluster is referenced by a name and a list of seed nodes.
11
-
When a remote cluster is registered, its cluster state is retrieved from one of the seed nodes so that up to 3
12
-
_gateway nodes_ are selected to be connected to as part of upcoming cross cluster search requests.
13
-
Cross cluster search requests consist of uni-directional connections from the coordinating node to the previously
14
-
selected remote nodes only. It is possible to tag which nodes should be selected through
15
-
node attributes (see <<cross-cluster-search-settings>>).
16
-
17
-
Each node in a cluster that has remote clusters configured connects to one or more _gateway nodes_ and uses
18
-
them to federate search requests to the remote cluster.
19
-
20
9
[float]
21
-
=== Configuring Cross Cluster Search
22
-
23
-
Remote clusters can be specified globally using <<cluster-update-settings,cluster settings>>
24
-
(which can be updated dynamically), or local to individual nodes using the
25
-
`elasticsearch.yml` file.
26
-
27
-
If a remote cluster is configured via `elasticsearch.yml` only the nodes with
28
-
that configuration will be able to connect to the remote cluster. In other
29
-
words, federated search requests will have to be sent specifically to those
30
-
nodes. Remote clusters set via the <<cluster-update-settings,cluster settings API>>
31
-
will be available on every node in the cluster.
32
-
33
-
[WARNING]
34
-
This feature was added as Beta in Elasticsearch `v5.3` with further improvements made in 5.4 and 5.5. It requires gateway eligible nodes to be on `v5.5` onwards.
35
-
36
-
The `elasticsearch.yml` config file for a _cross cluster search_ node just needs to list the
37
-
remote clusters that should be connected to, for instance:
38
-
39
-
[source,yaml]
40
-
--------------------------------
41
-
cluster:
42
-
remote:
43
-
cluster_one: <1>
44
-
seeds: 127.0.0.1:9300
45
-
cluster_two: <1>
46
-
seeds: 127.0.0.1:9301
47
-
48
-
--------------------------------
49
-
<1> `cluster_one` and `cluster_two` are arbitrary cluster aliases representing the connection to each cluster.
50
-
These names are subsequently used to distinguish between local and remote indices.
10
+
=== Using cross cluster search
51
11
52
-
The equivalent example using the <<cluster-update-settings,cluster settings API>>
53
-
to add remote clusters to all nodes in the cluster would look like the
0 commit comments