4 node cluster problem
Posted: Wed Sep 04, 2019 10:30 am
While my back was turned for a few days, one of my systems decided to drop from the cluster.
I have since stopped logstash and elasticsearch, let it settle, and restarted them on the node. It now thinks it is a one node cluster. I have been waiting for the 4 systems to start chatting again but they are not. The remaining 3 nodes are happy and think they are a 3 node cluster.
So, how do I make the 4th node rejoin? It has been offline long enough for the other 3 systems to clear up and become green.
Is this a delete and add thing?
Please advise. (more info below)
Thanks
Steve B
Firewall ports are open
3 node cluster health status
1 node cluster health status
I have since stopped logstash and elasticsearch, let it settle, and restarted them on the node. It now thinks it is a one node cluster. I have been waiting for the 4 systems to start chatting again but they are not. The remaining 3 nodes are happy and think they are a 3 node cluster.
So, how do I make the 4th node rejoin? It has been offline long enough for the other 3 systems to clear up and become green.
Is this a delete and add thing?
Please advise. (more info below)
Thanks
Steve B
Firewall ports are open
Code: Select all
firewall-cmd --list-all
ports: 80/tcp 443/tcp 3515/tcp 2056/tcp 2057/tcp
9300-9400/tcp 514/tcp 514/udp 1514/tcp 1514/udp
5544/tcp 5544/udp 3306/tcp 4444/tcp 4567/tcp
4567/udp 4568/tcp 5142/tcp
Code: Select all
curl http://localhost:9200/_cluster/health?pretty
{
"cluster_name" : "79e8bf76-674f-4ecd-8741-27a3587a3f39",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 3,
"number_of_data_nodes" : 3,
"active_primary_shards" : 245,
"active_shards" : 490,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0
}
Code: Select all
curl http://localhost:9200/_cluster/health?pretty
{
"cluster_name" : "79e8bf76-674f-4ecd-8741-27a3587a3f39",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 130,
"active_shards" : 130,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 380,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0
}