Does anyone know how to set up cross-cluster search on a locally using a zip version of Elasticsearch search? Whatever mixture of nodes between 2 clusters, how do you get cluster 1 to talk to cluster 2.
My current yml settings are as followed.
cluster.name: cluster 1
I opened this same terminal and created a 5-node cluster.
Another complete install of elasticsearch installed and open with these yml settings. No security enabled as it looking for the cluster1 keystore.
After starting all terminals I receive the following errors from the cluster1 nodes
[node1] fetching nodes from external cluster [my_application] failed
Thanks a lot for taking the time to open this discussion. We will probably need a bit more information from your setup and request to give you an educated and proper answer. Can you please copy and paste the cross-cluster search request you are performing here in the discussion? And let's see if we can figure out things from there.
Awaiting your response.
Solved...this is my PUT command.
I then checked cluster/remote settings and both addresses are connected: true
I performed a this query and got back results GET cluster2:earthquakes,earthquakes/_search
The IP's were taken from the published addresses when the nodes start up. So I took the cluster1, node1 published address against the cluster2, node6 published address.
NO security is enabled for either cluster for this sample.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.