Loadbalancing failover only

Hello there, i'm very uneducated with load balancing. A month ago I subscribed to CF loadbalancing and created my two endpoints (which are two OVH servers with different IP & location). The loadbalancing works well, request sent to my api.xxxxx.xxx will sometime end up on the first server or on the other which is expected behavior I guess. I want to change the way it works by sending all the request to the first server when the first server is healthy. I want to send to server 2 only when server 1 is down. I don't see this option it the "Traffic steering" step so I'm wondering how to achieve that ? I tried setting the server 2 weight to like 1% but it doesn't seem to change anything. Thank you very much !
3 Replies
Chaika
Chaika3mo ago
Cloudflare Docs
Common configurations | Cloudflare Load Balancing docs
Consider the following sections to understand how to achieve some commonly used load balancer configurations.
Chaika
Chaika3mo ago
(you'd need to setup health checks as well of course/some threshold so it knows when your primary one is down)
william.
william.OP3mo ago
Okay so you can only do that through pools got it thanks !
Want results from more Discord servers?
Add your server