cd ../projects
Cloud Migration / HA

🏗️SAP on Azure NetApp HA

Terraform + Python replication for SAP HANA HA across zones

TerraformAzure NetApp FilesPythonSAP HANAPacemakerAzureAnsible

OVERVIEW

High-availability SAP HANA infrastructure on Azure using NetApp Files for shared storage, cross-zone replication via Python automation, Pacemaker clustering, and Terraform-managed infrastructure. Delivered zero-downtime SAP migration.

ARCHITECTURE

// mermaid architecture diagram
graph TB
  subgraph PRIMARY["Primary Zone (AZ1)"]
    HANA1[SAP HANA Primary]
    ANF1[NetApp Files Primary]
  end
  subgraph SECONDARY["Secondary Zone (AZ2)"]
    HANA2[SAP HANA Secondary]
    ANF2[NetApp Files Replica]
  end
  subgraph MGMT["Management"]
    TF[Terraform]
    PY[Python Replication Agent]
    PCMK[Pacemaker Cluster]
  end
  HANA1 <-->|HSR Replication| HANA2
  ANF1 <-->|Cross-Zone Replication| ANF2
  PY -->|Monitor & Trigger| PCMK
  TF -->|Provision| PRIMARY & SECONDARY

💡 Render with mermaid.live for interactive diagram

KEY HIGHLIGHTS

  • Azure NetApp Files cross-zone replication with < 1s lag
  • Python agent for automated failover detection and PCMK control
  • Terraform modules for ANF volumes, capacity pools, VNets
  • Ansible playbooks for SAP HANA system replication setup
  • Zero-downtime cutover with pre-validation test scripts

METRICS

Zero data loss RPO
< 2min RTO failover
SAP HANA replication lag < 1s
Key Contributor Award

TECH STACK

TerraformAzure NetApp FilesPythonSAP HANAPacemakerAzureAnsible
Back to all projects