#community-help

Handling Server Failures in Cluster with Load Balancer

TLDR Saurabh asked about handling server failures in their cluster set-up. Jason suggested having an odd number of nodes, at least 3, to tolerate a 1 node failure.

Powered by Struct AI
2
3mo
Solved
Join the chat
Jun 23, 2023 (3 months ago)
Saurabh
Photo of md5-57be9cd26696982f7dd2392eff28df99
Saurabh
09:24 PM
hi team !!
I have set-up 2 clusters with a load balancer !!!! If one server goes down, the other server also goes down? how can we handle this ?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
09:31 PM
I assume you meant 2 nodes in a single cluster (and not two separate clusters).

You need an odd number of nodes to form a stable cluster. So you’d need at least 3 nodes, to make sure that the cluster can tolerate a 1 node failure.