Having a problem joining nodes into a cluster. The two I'm using to troubleshoot are 10.21.5.14 and 10.21.5.15. They seem to join the same cluster_uuid, but don't recognize each other as nodes. Netstats are run - both port 9200 and 9300 are listening. Any ideas? config files at the end.
curl -X GET "10.21.5.14:9200/_cluster/health?pretty"
{
"cluster_name" : "Production",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 33,
"active_shards" : 33,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 26,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 55.932203389830505
}
curl -X GET "10.21.5.14:9200/"`
{
"name" : "Log1",
"cluster_name" : "Production",
"cluster_uuid" : "Lbq1LvwERjK_ki9GMsdIuA",
"version" : {
"number" : "7.0.0",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "b7e28a7",
"build_date" : "2019-04-05T22:55:32.697037Z",
"build_snapshot" : false,
"lucene_version" : "8.0.0",
"minimum_wire_compatibility_version" : "6.7.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
curl -X GET "10.21.5.15:9200/_cluster/health?pretty"`
{
"cluster_name" : "Production",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 30,
"active_shards" : 30,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 25,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0,
"task_max_waiting_in_queue_millis" : 0,
"active_shards_percent_as_number" : 54.54545454545454
}
curl -X GET "10.21.5.15:9200/"
{
"name" : "Log2",
"cluster_name" : "Production",
"cluster_uuid" : "Lbq1LvwERjK_ki9GMsdIuA",
"version" : {
"number" : "7.0.0",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "b7e28a7",
"build_date" : "2019-04-05T22:55:32.697037Z",
"build_snapshot" : false,
"lucene_version" : "8.0.0",
"minimum_wire_compatibility_version" : "6.7.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
Node1 config.yml
cluster.name: Production
node.name: Log1
node.attr.rack: r1
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
network.host: 10.21.5.14
http.port: 9200
discovery.zen.ping.unicast.hosts: [10.21.5.14, 10.21.5.15]
discovery.zen.minimum_master_nodes: 2
cluster.initial_master_nodes:
- 10.21.5.14
- 10.21.5.15
Node2 config.yml
cluster.name: Production
node.name: Log2
node.attr.rack: r1
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
network.host: 10.21.5.15
http.port: 9200
discovery.zen.ping.unicast.hosts: [10.21.5.14, 10.21.5.15]
discovery.zen.minimum_master_nodes: 2
cluster.initial_master_nodes:
- 10.21.5.14
- 10.21.5.15