Cyberstudy
3.4 In progress

High Availability

19 flashcards

Summary

High availability (HA) designs keep services running with minimal downtime by removing single points of failure. Availability is measured as a percentage of uptime, often described in "nines". Redundant components, clusters, alternate sites and geographic dispersion all contribute.

In plain words

High availability (HA) keeps systems running with minimal downtime by using redundant parts, clusters, network redundancy, resilient datacenters and geographic diversity. Availability is expressed in 'nines' (99.999% allows about 5 minutes of downtime a year). Scalability means growing capacity (scale out = more nodes, scale up = bigger nodes); elasticity means adjusting in real time. Recovery sites can be hot (ready immediately), warm (needs latest data loaded) or cold (an empty building).

Detailed explanation

  • High availability (HA): A system's ability to remain operational for a very high percentage of time.
  • Availability percentage: Uptime divided by total time; 99.999 percent ("five nines") allows about five minutes of downtime a year.
  • Maximum tolerable downtime (MTD): The longest a process can be unavailable before the organization suffers unacceptable harm.
  • Fault tolerance: The ability to keep working without interruption when a component fails, through redundancy.
  • Scalability: Adding capacity as demand grows, either up (bigger systems) or out (more systems).
  • Elasticity: Automatically adding and removing capacity as demand rises and falls.

Alternate sites

  • Hot site: A fully equipped site with current data that can take over within minutes or hours; the most expensive.
  • Warm site: Has equipment and connectivity but needs data restored and configuration; takes hours to days.
  • Cold site: Space and power only; takes days or weeks to bring online; the cheapest.
  • Geographic dispersion: Placing sites far enough apart that one disaster can't affect both.
  • Cloud disaster recovery: Using cloud resources as a recovery site, which reduces cost and speeds deployment.
  • Failover testing: Deliberately failing components to confirm redundancy works.

Important terms

taken from the text above
High availability (HA)
A system's ability to remain operational for a very high percentage of time.
Availability percentage
Uptime divided by total time; 99.999 percent ("five nines") allows about five minutes of downtime a year.
Maximum tolerable downtime (MTD)
The longest a process can be unavailable before the organization suffers unacceptable harm.
Fault tolerance
The ability to keep working without interruption when a component fails, through redundancy.
Scalability
Adding capacity as demand grows, either up (bigger systems) or out (more systems).
Elasticity
Automatically adding and removing capacity as demand rises and falls.
Hot site
A fully equipped site with current data that can take over within minutes or hours; the most expensive.
Warm site
Has equipment and connectivity but needs data restored and configuration; takes hours to days.
Cold site
Space and power only; takes days or weeks to bring online; the cheapest.
Geographic dispersion
Placing sites far enough apart that one disaster can't affect both.
Cloud disaster recovery
Using cloud resources as a recovery site, which reduces cost and speeds deployment.
Failover testing
Deliberately failing components to confirm redundancy works.

Examples & real-world scenarios

  • A hot site with live data replicated from the primary.
  • Dual network links from different ISPs.
  • Cloud DR replicating servers into another region.

Scenario

A business can tolerate at most 4 hours of downtime but only has a cold site, which takes weeks to equip. It needs a warm or hot site (or cloud DR) to meet its MTD.

Common mistakes

  • Mixing up hot, warm and cold sites.
  • Mixing up scale up (more power per node) and scale out (more nodes).

Practical skills

  • Convert an availability percentage into allowed downtime.
  • Choose a recovery site type from an MTD.

What I should remember

  • Hot site: Ready almost immediately; most expensive.
  • Warm site: Partly ready; restore data and configure.
  • Cold site: Empty facility; slowest and cheapest.
  • Five nines: About five minutes of downtime per year.
  • Geographic dispersion: Keeps one disaster from taking out all sites.