System Availability and Disaster Recovery
300Hours Learn Lab Curriculum Reading | Topic: AVAILABILITY | Qualification: CPA LEVEL1
# System Availability and Disaster Recovery For modern digital enterprises, unplanned system downtime leads directly to operational paralysis, transactional loss, regulatory penalties, and reputational damage. Under the AICPA Information Systems and Controls (ISC) blueprint, the **Availability** principle focuses on architecting fault-tolerant infrastructure, executing resilient backup pipelines, and implementing tested Business Continuity and Disaster Recovery (BCP/DRP) frameworks. --- ## High Availability and Infrastructure Fault Tolerance A system is considered **Highly Available (HA)** when it is engineered to withstand localized hardware, network, or power disruptions without interrupting service to end users. High availability architectures eliminate **Single Points of Failure (SPOFs)** by embedding redundant pathways at every computing tier. ```mermaid \%\%{init: { "theme": "base", "themeVariables": { "fontFamily": "Barlow, Roboto, sans-serif" } } }\%\% flowchart TD LB["1. REDUNDANT LOAD BALANCERS (Traffic Distribution & Health Probes)"] S1["2. COMPUTE CLUSTER NODE ALPHA (Active Workload Processing)"] S2["2. COMPUTE CLUSTER NODE BETA (Active Workload Processing)"] R1["3. FAULT-TOLERANT STORAGE (RAID 10 Striped & Mirrored Array)"] LB --> S1 LB --> S2 S1 --> R1 S2 --> R1 classDef lbStyle fill:#e3f2fd,stroke:#1976D2,stroke-width:1.5px,color:#0d47a1; classDef nodeStyle fill:#e8f5e9,stroke:#009966,stroke-width:1.5px,color:#1b5e20; classDef raidStyle fill:#fff3e0,stroke:#FFA300,stroke-width:1.5px,color:#e65100; class LB lbStyle; class S1 nodeStyle; class S2 nodeStyle; class R1 raidStyle; ``` ### Physical and Computational Redundancy Safeguards - **Uninterruptible Power Supply (UPS) & Backup Generators:** Dual-feed utility grids backed by industrial UPS battery banks provide seamless electrical bridging until on-site diesel generators reach operational output (typically within 10 to 30 seconds). - **Redundant Load Balancers:** Reverse-proxy clusters that route incoming client requests across healthy backend server nodes using health-check probes, automatically isolating degraded instances. - **Active-Active vs. Active-Passive Clustering:** - *Active-Active:* All clustered nodes process live transactional workloads concurrently, sharing traffic load and providing instantaneous zero-downtime failover if any single node fails. - *Active-Passive:* A secondary standby node remains idle, continuously receiving heartbeats from the primary node. If the primary node crashes, the secondary node initiates failover. ### Storage Redundancy: RAID Architectures **Redundant Array of Independent Disks (RAID)** combines multiple physical disk drives into a single logical volume to protect against mechanical disk failure: | RAID Configuration | Technical Mechanism | Minimum Disks | Fault Tolerance & Data Loss Risk | Key Auditor Consideration | | :--- | :--- | :--- | :--- | :--- | | **RAID 0 (Striping)** | Data blocks striped across multiple disks without parity | 2 | **Zero Redundancy.** Loss of a single disk destroys all volume data. | Used purely for non-critical performance caches. Unacceptable for financial ledgers. | | **RAID 1 (Mirroring)** | Identical data mirrored across paired physical drives | 2 | Can survive a single disk failure without downtime. | High storage overhead (50\% capacity penalty), but simple and fast read performance. | | **RAID 5 (Striping + Parity)** | Block-level striping with distributed parity | 3 | Can survive the failure of 1 drive. Data reconstructed via parity calculations. | Balanced cost and redundancy; write operations incur parity computation overhead. | | **RAID 6 (Dual Parity)** | Block-level striping with dual distributed parity blocks | 4 | Can survive the concurrent failure of any 2 drives. | Essential for massive enterprise storage arrays where rebuild times are long. | | **RAID 10 (1+0 Striping & Mirroring)** | Mirrored sets of drives striped together | 4 | Can survive multiple disk failures as long as no single mirror pair loses both drives. | Optimal performance and redundancy for mission-critical relational database OLTP workloads. | --- ## Backup Strategies: Full, Incremental, and Differential Enterprise backup frameworks balance three competing operational constraints: backup window duration, network storage consumption, and mean time to recovery (MTTR). ```mermaid \%\%{init: { "theme": "base", "themeVariables": { "fontFamily": "Barlow, Roboto, sans-serif" } } }\%\% flowchart TD I0["INCREMENTAL BACKUP SEQUENCE (Faster Daily Backups, Sequential Restoration)"] IFull["Sunday: Full Base Backup (100\% Data)"] IMon["Monday: Delta since Sunday"] ITue["Tuesday: Delta since Monday"] IWed["Wednesday: Delta since Tuesday"] I0 --> IFull --> IMon --> ITue --> IWed D0["DIFFERENTIAL BACKUP SEQUENCE (Cumulative Storage, Fast 2-Step Restoration)"] DFull["Sunday: Full Base Backup (100\% Data)"] DMon["Monday: Delta since Sunday"] DTue["Tuesday: Cumulative Delta since Sunday"] DWed["Wednesday: Cumulative Delta since Sunday"] D0 --> DFull DFull --> DMon DFull --> DTue DFull --> DWed classDef headerBlue fill:#e3f2fd,stroke:#1976D2,stroke-width:2px,color:#0d47a1; classDef headerYellow fill:#fff3e0,stroke:#FFA300,stroke-width:2px,color:#e65100; classDef fullStyle fill:#e3f2fd,stroke:#1976D2,stroke-width:1.5px,color:#0d47a1; classDef incStyle fill:#e8f5e9,stroke:#009966,stroke-width:1.5px,color:#1b5e20; classDef diffStyle fill:#fff3e0,stroke:#FFA300,stroke-width:1.5px,color:#e65100; class I0 headerBlue; class IFull fullStyle; class IMon incStyle; class ITue incStyle; class IWed incStyle; class D0 headerYellow; class DFull fullStyle; class DMon diffStyle; class DTue diffStyle; class DWed diffStyle; ``` ### Comprehensive Backup Strategy Comparison | Dimension | Full Backup | Incremental Backup | Differential Backup | | :--- | :--- | :--- | :--- | | **Data Captured** | 100\% of all files and databases in scope | Only data modified since the *most recent backup of any kind* | All data modified since the *most recent FULL backup* | | **Backup Speed** | **Slowest** (Captures entire data footprint) | **Fastest** (Captures only small daily deltas) | **Moderate** (File size grows larger each day) | | **Storage Consumption** | **Highest** | **Lowest** | **Moderate** | | **Restoration Complexity** | **Fastest & Simplest** (Requires only 1 full image) | **Slowest & Most Complex** (Requires 1 Full + *every single* sequential incremental image in exact order) | **Fast & Moderate** (Requires 1 Full + only the *single latest* differential image) | | **Archive Bit Behavior** | Resets the archive bit on all files | Resets the archive bit on copied files | **Does NOT reset** the archive bit | --- ## Designing Recovery Metrics: RPO vs. RTO Every Business Continuity Plan (BCP) and Disaster Recovery Plan (DRP) is calibrated around two fundamental, quantitative service-level metrics: ```mermaid \%\%{init: { "theme": "base", "themeVariables": { "fontFamily": "Barlow, Roboto, sans-serif" } } }\%\% flowchart TD A["1. Scheduled Backup Taken (e.g., 02:00 AM Point of Integrity)"] B["2. DISRUPTIVE DISASTER EVENT (e.g., 06:00 AM Data Center Fire)"] C["3. Full System Recovery & Verification (e.g., 10:00 AM Systems Online)"] A -->|"Recovery Point Objective (RPO): Max Data Loss Window (4 Hours)"| B B -->|"Recovery Time Objective (RTO): Max Outage Downtime (4 Hours)"| C classDef default fill:#f8fafc,stroke:#cbd5e1,stroke-width:1px,color:#0f172a; classDef primary fill:#e3f2fd,stroke:#1976D2,stroke-width:1.5px,color:#0d47a1; classDef alert fill:#fee2e2,stroke:#A11E3D,stroke-width:1.5px,color:#7f1d1d; classDef success fill:#e8f5e9,stroke:#009966,stroke-width:1.5px,color:#1b5e20; class A primary; class B alert; class C success; ``` - **Recovery Point Objective (RPO):** The maximum tolerable volume of transactional data loss, expressed in units of time. RPO dictates **backup frequency**. If management mandates an RPO of 15 minutes, data replication must occur at least every 15 minutes. - **Recovery Time Objective (RTO):** The maximum allowable duration of total system downtime before business operations must be fully restored. RTO dictates **infrastructure recovery speed** and failover automation. - **Maximum Tolerable Downtime (MTD):** The absolute ceiling of downtime a business can experience before irreversible insolvency or catastrophic legal default occurs ($ \text{MTD} \ge \text{RTO} + \text{Work Recovery Time} $). --- --- ## Disaster Recovery Site Topologies When catastrophic physical events (fires, floods, regional power grid collapse) destroy a primary facility, the organization initiates failover to an alternate recovery site: ```mermaid \%\%{init: { "theme": "base", "themeVariables": { "fontFamily": "Barlow, Roboto, sans-serif" } } }\%\% flowchart TD H["1. HOT SITE (Real-Time Sync, Fully Powered Hardware, Near-Zero RTO)"] W["2. WARM SITE (Hardware Installed, No Live Data, Moderate RTO of 1-3 Days)"] C["3. COLD SITE (Empty Facility Shell, HVAC/Power Only, High RTO of Weeks)"] H -->|"Decreasing Cost / Increasing RTO"| W W -->|"Decreasing Cost / Increasing RTO"| C classDef hot fill:#e3f2fd,stroke:#1976D2,stroke-width:1.5px,color:#0d47a1; classDef warm fill:#fff3e0,stroke:#FFA300,stroke-width:1.5px,color:#e65100; classDef cold fill:#f3e5f5,stroke:#8A759D,stroke-width:1.5px,color:#4a148c; class H hot; class W warm; class C cold; ``` ### Site Characteristics and Audit Trade-Offs - **Hot Site:** A fully provisioned mirror data center with live servers, continuous database replication, and active network circuits. Failover occurs within minutes or seconds (near-zero RTO/RPO). Required for payment gateways, commercial banks, and health care life-support infrastructure. - **Warm Site:** Contains pre-installed server racks, network routers, and storage hardware, but **lacks live, current transactional data**. Restoration requires retrieving recent backup tapes/cloud images and loading them onto servers. RTO is typically 24 to 72 hours. - **Cold Site:** A hardened physical shell equipped with electrical power, raised flooring, and HVAC cooling, but **devoid of computational hardware or pre-configured network equipment**. The organization must procure, ship, and configure servers from scratch. RTO spans several weeks to months. --- Always remember the difference between RAID and backups: RAID is not a backup! RAID protects against physical hard drive hardware failure. If an employee accidentally drops a database table or ransomware encrypts all files on a RAID array, the corrupted files are instantly mirrored across all disks! True backups and air-gapped snapshots are still strictly required. Sophie Says --- On the CPA ISC exam, test scenarios frequently ask you to determine the exact tapes needed to restore after a mid-week crash: - **Incremental Restore Path:** Sunday Full + Monday Incremental + Tuesday Incremental + Wednesday Incremental. If *any single* intermediate incremental tape is corrupt, all subsequent days cannot be restored! - **Differential Restore Path:** Sunday Full + Wednesday Differential. You completely discard Monday and Tuesday differential tapes because the Wednesday tape already contains all accumulated changes since Sunday. Exam Traps and Key Rules --- - **High Availability Principles:** Elimination of single points of failure through active-active clusters, redundant load balancers, and fault-tolerant RAID storage arrays. - **Incremental vs. Differential Backups:** Incremental backs up deltas since the last backup of any type and requires all sequential tapes to restore; Differential backs up deltas since the last full backup and requires only the full backup plus the single latest differential tape. - **RPO vs. RTO Metrics:** Recovery Point Objective (RPO) governs allowable data loss and dictates backup frequency; Recovery Time Objective (RTO) governs allowable downtime and dictates recovery speed. - **Disaster Recovery Sites:** Hot sites offer real-time replication with near-zero RTO; Warm sites provide hardware requiring backup restoration; Cold sites provide empty physical facility shells with long recovery timelines. - **Business Continuity Testing:** Tabletop walk-throughs, simulated component failovers, and parallel/full-interruption cutover tests validate disaster recovery effectiveness. What You Need to Know