Broadly there are four types of failover strategies -
- No Failover
- Cold Failover
- Warm Failover
- Hot Failover
These strategies vary in their recovery time, cost and impact. Also often a combination of these strategies are used. For example, hot failover strategy for high availability and cold failover strategy for disaster recovery to resume availability.
Next part is techniques. Typically the techniques utilized for doing hot failover are -
- Client-based failover
- DNS-based failover
- Network-based failover
- IP Address takeover
- Gratuitous ARP based failover
- Server-based failover
Distributed systems are all about trade-offs. Each failover strategy mentioned above has its own pro's and con's. Same with failover techniques. In rest of the post we dive deeper into these details. At the end we touch base some of the challenges in failover like tug-of-war, split-brain, quorums etc.