Availability and disaster recovery
Availability begins with the user
High availability (HA) limits interruptions from expected component failures. Disaster recovery (DR) restores service after a larger disruption, such as loss of a site or corruption of its configuration. Business continuity includes the people and processes needed to keep essential work going during recovery. In our fictional campus, a user must resolve records.example, establish HTTPS, authenticate and retrieve a record within two seconds. A green switch interface is not enough. Choose the user-visible operation, measurement window and success conditions before selecting redundancy. All results in this chapter are synthetic, not device measurements.
Define the indicator and the objective
A service level indicator (SLI) is a measured quantity; a service level objective (SLO) is its target. An SLA is an agreement with defined consequences and measurement terms. In the time-based classroom SLI below, every instant is classified as available or unavailable, with no excluded intervals or missing data. For 30 days there are 43,200 minutes. At 99.95% availability the unavailable-time budget is 43,200 × 0.0005 = 21.6 minutes. Two non-overlapping outages of 8 and 10 minutes consume 18, leaving 3.6. An additional 5 minutes would exceed the budget by 1.4 minutes. Overlapping intervals must be counted only once. If monitoring is missing, classify it as unknown rather than silently counting it as success.
Window: 30 × 24 × 60 = 43200 minSLO: 99.95%Budget: 43200 × 0.0005 = 21.6 minOutages: 8 + 10 = 18 minRemaining: 3.6 minRequest budgets are a different denominator
A request-based SLI counts good eligible requests divided by all eligible requests. With a target of 99.9% and 20,000 eligible requests, the allowed failure count is 20. If 14 fail, 6 remain. A short busy-period outage can exhaust this budget faster than a long idle-period outage. Do not convert request failure counts into downtime without a justified traffic model. Define retries, probes, timeouts, maintenance and partial failures in the measurement contract. A window with zero eligible requests has no measured request success ratio; it does not automatically score 100%. Latency may be part of the good-request definition or a separately measured objective.
Recover within time and data-loss limits
Recovery time objective (RTO) specifies the targeted maximum service interruption after a disruption; recovery point objective (RPO) describes the acceptable age of the recoverable data at the disruption. They are objectives, not observed results. Our network source-of-truth has RPO 15 minutes and its dependent records service has RTO 45 minutes. A failure at 10:00 followed by verified service at 10:38 meets RTO. A consistent configuration and inventory recovery point at 09:48 gives 12 minutes of potential lost changes, meeting RPO. A snapshot timestamp alone is insufficient: verify its consistency and restore usability. Recovering a router without DNS, identity, certificates or application dependencies does not meet the service RTO.
Choose a recovery design
Backup-and-restore requires a rebuild before serving traffic; warm standby keeps a reduced-capacity service ready; active-active serves traffic in multiple sites but needs a consistent approach to shared state and conflicts. A replica can copy a bad change, so retain tested, protected point-in-time backups. Record compatible software versions, dependencies, authorized recovery identities and independent access to the backups. Do not multiply device availability values unless independence and the service dependency model are justified. Practice with the changed downtime and recovery inputs in the lab; the next lesson checks whether the redundant design actually has a usable surviving path.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Availability and disaster recovery Quiz
Reason about availability budgets, redundancy and operational acceptance.
What is the unavailable-time budget for 99.95% over 30 days?
A 20,000-request window targets 99.9%; 14 requests fail. How many failures remain in budget?
Failure at 10:00, verified service at 10:38. RTO target 45 min. Result?
A consistent recovery point at 09:48 precedes failure at 10:00. What is the recovery-point age?
Why retain point-in-time backups alongside replication?