The Short Answer
High availability (HA) means designing a service so that it keeps working when one of its parts fails. Instead of one server, one disk, or one network link, there are at least two of each important part, and the system switches to the healthy one by itself. The goal is to turn a failure that would stop the service into one that users barely notice.
Single Points of Failure
A single point of failure is any part whose loss stops the whole service. Finding them is the first step. Follow the path of one request and ask, at every step, what happens if this part disappears:
- One power feed, or one power supply in the server.
- One disk holding all the data.
- One server running the application or the database.
- One network link, switch, or router.
- One data center, or one DNS service.
Redundancy at Each Layer
| Layer | Common answer |
|---|---|
| Power | Two supplies, two feeds |
| Disks | RAID 1, 10, or 6 |
| Server | Two or more nodes |
| Network | Two links, bonding |
| Site | A second location |
Disk redundancy is covered in RAID levels explained. Each layer protects only against its own kind of failure: RAID saves you from a dead disk, not from a dead server.
Failover: Active-Passive and Active-Active
- Active-passive: one node serves traffic while a standby waits. When the active node fails, the standby takes over. It is simple to reason about, but half the capacity sits idle.
- Active-active: all nodes serve traffic at once. When one fails, the others carry its share, so each must have room for the extra load.
Failover is only as good as the failure detection behind it. If it is too sensitive, it switches on a short hiccup; if it is too slow, users see the outage.
Health Checks and Load Balancers
A load balancer spreads requests across several servers and checks them at regular intervals. A server that stops answering is taken out of the pool until it recovers. See what is a load balancer, HAProxy, and Nginx load balancing. The load balancer itself must not become the new single point of failure, which leads to the next tool.
A Floating IP Address
A floating (or virtual) IP address belongs to the service, not to one server. Two servers share it, and only the active one answers on it. When the active one fails, the other claims the address, and clients keep using the same IP. On Linux, keepalived does this with the VRRP protocol. Moving an address between servers needs support from the network, so on virtual servers ask your provider whether it is possible.
Data Replication
Stateless web servers are easy to duplicate; data is the hard part. A database becomes highly available by keeping a copy on a second server that follows every change, as in MySQL replication. With asynchronous replication, the newest changes can be lost in a failover; with synchronous replication, every write waits for the second copy. A cluster that decides by majority (quorum) needs at least three voting members, such as three nodes or two nodes and a tie-breaker, so that two halves can never both act as the primary, a state known as split brain.
What the Percentages Mean
Availability is often written as a percentage of time. The arithmetic, for a 365-day year and a 30-day month:
| Availability | Down per year | Down per month |
|---|---|---|
| 99% | 3.65 days | 7.2 hours |
| 99.9% | 8.76 hours | 43.2 minutes |
| 99.95% | 4.38 hours | 21.6 minutes |
| 99.99% | 52.6 minutes | 4.3 minutes |
| 99.999% | 5.3 minutes | 26 seconds |
Parts in a chain multiply: two parts at 99.9% each give about 99.8% together. Two redundant parts in parallel are down together only when both fail at the same time; if their failures are independent, two at 99.9% give about 99.9999%, which is why redundancy raises the figure.
High Availability Is Not a Backup
Replication copies mistakes as faithfully as good data: a table deleted on the primary is deleted on the replica within seconds. High availability keeps the service running; backups let you go back in time. You need both. A sound rule for backups is the 3-2-1 backup rule, and the difference from snapshots is explained in snapshot vs backup.
Updated:
Linux VPS with Full Root Access
MUVCloud cloud servers run on KVM with Enterprise NVMe SSD storage and full root access, in Turkey, the Netherlands, and the USA.
More Guides
No Limits on Service or Support
You are not on your own as your projects grow. Our support engineers are ready 24/7, on several channels, whenever you need them.

- 100% customer satisfaction goal
- Our own hardware
- 24/7 ticket and email support
- 4 countries with locations