I have two lab ES 6.2.2 data nodes, and one data node also acts as a Cross Cluster Search node. When I start the CCS node for the first time with a script that starts up ES upon reboot, curl shows the node is connected, but when I dig a little deeper looking at the CCS connectivity, it shows the local node being disconnected. If I restart ES, everything works fine.
Here's the initial curl output following a reboot:
curl http://"<IPv6_address>":9200
{
"name" : "node2",
"cluster_name" : "cluster2",
"cluster_uuid" : "oaTc47YtQ_WFip5zoRvzag",
"version" : {
"number" : "6.2.2",
"build_hash" : "10b1edd",
"build_date" : "2018-02-16T19:01:30.685723Z",
"build_snapshot" : false,
"lucene_version" : "7.2.1",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
But when I look at the CCS info, here's what I see:
curl -XGET 'localhost:9200/_remote/info?pretty'
{
"cluster2" : {
"seeds" : [ ],
"http_addresses" : [ ],
"connected" : false,
"num_nodes_connected" : 0,
"max_connections_per_cluster" : 3,
"initial_connect_timeout" : "30s",
"skip_unavailable" : false
},
"cluster1" : {
"seeds" : [
"[<IPv6_address>]:9300"
],
"http_addresses" : [
"[<IPv6_address>]:9200"
],
"connected" : true,
"num_nodes_connected" : 1,
"max_connections_per_cluster" : 3,
"initial_connect_timeout" : "30s",
"skip_unavailable" : false
}
}
Here's my elasticsearch.yml file on the CCS node, with all commented out lines removed for brevity:
cluster.name: cluster2
node.name: node2
bootstrap.memory_lock: true
network.bind_host: 0.0.0.0
network.publish_host: eth0:ipv6
network.tcp.keep_alive: true
bootstrap.system_call_filter: false
search.remote.cluster1.seeds: "<node1_name>:9300"
search.remote.cluster2.seeds: "<node2_name>:9300"
Has anyone seen this behavior before, and if so, what did you do to solve it? Thanks in advance!