Elasticsearch 7.5 + ubuntu 18.04 3 nodes clusters problem

Hello

Need some help.

I have set up a 3 nodes clusters (3 ubuntu 18.04 servers (8G, 8G, and 4G)) with elasticsearch 7.5

For unknown reasons even though I think the elasticsearch.yml settings are correct.
I can only see node2 and node3 are green (changes of node2 are seen on node3 and vice versa) but node1 is yellow and indexes created at node1 are not propagated to node2 or node3 (and I cannot also see changes of node2 and node3 to node1).

What can be wrong with my settings?

Node1:
cluster.name: ES-cluster
node.name: ES-node-01
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
network.host: 0.0.0.0
#http.port: 9200
discovery.seed_hosts: ["ES-node01-lan", "ES-node02-lan", "ES-node03-lan"]

Node2
cluster.name: ES-cluster
node.name: ES-node-02
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
network.host: 0.0.0.0
#http.port: 9200
discovery.seed_hosts: ["ES-node01-lan", "ES-node02-lan", "ES-node03-lan"]

Node3
cluster.name: ES-cluster
node.name: ES-node-03
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
bootstrap.memory_lock: true
network.host: 0.0.0.0
#http.port: 9200
discovery.seed_hosts: ["ES-node01-lan", "ES-node02-lan", "ES-node03-lan"]

When doing curl -XGET http://localhost:9200/_cluster/health?pretty

at Node1:
"cluster_name" : "ES-cluster",
"status" : "yellow",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 1,
"active_shards" : 1,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 1,
"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" : 50.0

at Node2:
"cluster_name" : "ES-cluster",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 2,
"number_of_data_nodes" : 2,
"active_primary_shards" : 2,
"active_shards" : 4,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"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" : 100.0

At Node3:
"cluster_name" : "ES-cluster",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 2,
"number_of_data_nodes" : 2,
"active_primary_shards" : 2,
"active_shards" : 4,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"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" : 100.0

Can someone please know what can be misconfigured?

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