Cross cluster search problem

Hello. Please I need some help with the cross cluster search.

I have a production cluster and a monitoring cluster (1 node only). All of them in version 6.4

I try to make cross cluster search and to accomplish this I execute in production cluster:

PUT _cluster/settings
{
"persistent": {
"search": {
"remote": {
"cluster_one": {
"seeds": ["192.168.56.104:9300"]
}
}
}
}
}

(192.168.56.104 is the monitoring cluster node ip)

When I execute "GET _remote/info" I get:

{
"cluster_one": {
"seeds": ,
"http_addresses": ,
"connected": false,
"num_nodes_connected": 0,
"max_connections_per_cluster": 3,
"initial_connect_timeout": "30s",
"skip_unavailable": false
}
}

Of course, there exist communication between the production cluster and port 9300 of the monitoring cluster.

At first, I thought the problem was the elastic-certificates.p12 that are different in both clusters, since I do not have hostname verification, I have changed that file for the same we have in production cluster, but the problem still remains.

Please, can you give me a clue on this issue?

Thank you very much.

Sorry, problem solved.

Removing the configuration:

PUT _cluster/settings
{
"persistent": {
"search": {
"remote": {
"cluster_one": {
"seeds": null
}
}
}
}
}

And recreating again solved the problem. It was the certificate, which was not properly configured for communication between clusters.

Thank you very much. And sorry.

2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.