Server failover - looking for more info
I'm trying to learn more about server failover at Cloudflare but am not finding much info. Tips appreciated.
Most info I've found so far talks more about load balancing (which is certainly related). This is the best detail I've found: https://www.cloudflare.com/learning/performance/what-is-server-failover/
"Active-standby" failover is what I'm looking for more info about. For example, does it only support HTTP/HTTPS monitoring? On that page I see mention about heartbeat cables but our primary and secondary are not at the same location, so I don't think that applies to our use case.
2 Replies
Load Balancer is nice and flexible. You create monitors with a lot of options: https://developers.cloudflare.com/load-balancing/monitors/, and attach them to Pools. For example in your case you'd have a pool for primary and a pool for secondary. Then you could use "off" steering just routing in failover order.
There's a doc about that exact setup here: https://developers.cloudflare.com/load-balancing/load-balancers/common-configurations/#active---passive-failover
Cloudflare Docs
Common configurations · Cloudflare Load Balancing docs
Consider the following sections to understand how to achieve some commonly used load balancer configurations.
Thanks a lot for that explanation, it really helped me