πŸ”’ Guided

Pre-launch preview. Authorised access only.

Incorrect code

Guided by A Guide to Cloud
Explore AB-900 AI-901 aws-aif-c01
Guided AZ-120 Domain 3
Domain 3 β€” Module 2 of 6 33%
17 of 28 overall

AZ-120 Study Guide

Domain 1: Migrate SAP Workloads to Azure

  • SAP on Azure: The Big Picture Free
  • Assessing SAP Workloads for Migration Free
  • Migration Strategies: The Decision Framework Free
  • RISE with SAP on Azure Free
  • Migration Execution: DMO, Classical, and Beyond Free
  • HANA System Replication for Migration Free
  • Post-Migration: Validation, Health, and HLI Migration Free

Domain 2: Design and Implement an Infrastructure to Support SAP Workloads

  • SAP-Certified Virtual Machines on Azure
  • Storage Architecture for SAP on Azure
  • Networking for SAP on Azure
  • HANA Architecture on Azure
  • SAP Application Tier on Azure
  • Proximity Placement and Availability Options
  • Azure Center for SAP Solutions (ACSS)
  • SAP Deployment Automation Framework (SDAF)

Domain 3: Design and Implement High Availability and Disaster Recovery

  • High Availability Concepts for SAP
  • High Availability for ASCS/SCS
  • HANA System Replication for HA
  • Shared Storage and Load Balancer Deep Dive
  • Disaster Recovery Strategy for SAP
  • Disaster Recovery Implementation

Domain 4: Maintain SAP Workloads on Azure

  • Azure Monitor for SAP Solutions
  • Backup for SAP HANA
  • Backup for SAP Application Servers
  • Security and Encryption for SAP
  • Microsoft Sentinel for SAP
  • Cost Optimization for SAP on Azure
  • SAP Operations and Lifecycle Management

AZ-120 Study Guide

Domain 1: Migrate SAP Workloads to Azure

  • SAP on Azure: The Big Picture Free
  • Assessing SAP Workloads for Migration Free
  • Migration Strategies: The Decision Framework Free
  • RISE with SAP on Azure Free
  • Migration Execution: DMO, Classical, and Beyond Free
  • HANA System Replication for Migration Free
  • Post-Migration: Validation, Health, and HLI Migration Free

Domain 2: Design and Implement an Infrastructure to Support SAP Workloads

  • SAP-Certified Virtual Machines on Azure
  • Storage Architecture for SAP on Azure
  • Networking for SAP on Azure
  • HANA Architecture on Azure
  • SAP Application Tier on Azure
  • Proximity Placement and Availability Options
  • Azure Center for SAP Solutions (ACSS)
  • SAP Deployment Automation Framework (SDAF)

Domain 3: Design and Implement High Availability and Disaster Recovery

  • High Availability Concepts for SAP
  • High Availability for ASCS/SCS
  • HANA System Replication for HA
  • Shared Storage and Load Balancer Deep Dive
  • Disaster Recovery Strategy for SAP
  • Disaster Recovery Implementation

Domain 4: Maintain SAP Workloads on Azure

  • Azure Monitor for SAP Solutions
  • Backup for SAP HANA
  • Backup for SAP Application Servers
  • Security and Encryption for SAP
  • Microsoft Sentinel for SAP
  • Cost Optimization for SAP on Azure
  • SAP Operations and Lifecycle Management
Domain 3: Design and Implement High Availability and Disaster Recovery Premium ⏱ ~14 min read

High Availability for ASCS/SCS

Configure HA for SAP Central Services including enqueue replication with ENSA1 vs ENSA2, Pacemaker on SUSE and RHEL, WSFC on Windows, Azure Load Balancer configuration, and SBD vs Azure Fence Agent fencing.

Protecting the heart of SAP

πŸ›‘οΈ Lars pulls up the architecture diagram. β€œASCS is the single most important thing to protect. If the enqueue server goes down and we lose the lock table, every user’s unsaved transaction is at risk. Dr. Schmidt will not accept that for GlobalPharma.”

☁️ Mei agrees. β€œThe good news is that SAP designed a replication mechanism specifically for this. The Enqueue Replication Server β€” ERS β€” keeps a copy of the lock table on a second node. If the primary ASCS fails, the secondary picks up the lock table and users do not lose their work.”

β˜• Simple explanation

Think of it like a backup cashier at a busy store.

The main cashier (ASCS) tracks every open transaction. A backup cashier (ERS) writes down everything the main cashier does in real time. If the main cashier suddenly has to leave, the backup already knows every open transaction and takes over instantly. No customer loses their purchase. With the old system (ENSA1), the backup maintained a copy, but the handoff process had race conditions where some entries could be lost. With the new system (ENSA2), the backup’s list is always reliably up to date.

ASCS HA revolves around protecting the enqueue lock table. The Enqueue Replication Server (ERS) runs on a second node and maintains a replica of the lock table. When the primary ASCS fails, the cluster software (Pacemaker on Linux, WSFC on Windows) triggers failover. ENSA2 (the current architecture) maintains an active, synchronized replica β€” failover preserves all locks. ENSA1 (legacy) maintained a replicated copy of the lock table, but the failover mechanism had race conditions where some locks could be lost in edge cases.

πŸ“ Architecture diagram: Open the ASCS/SCS HA Cluster diagram in Excalidraw to see the clustering layout with ERS, shared storage, Azure LB, and STONITH fencing.

ENSA1 vs ENSA2

ENSA1 vs ENSA2 enqueue replication
FeatureENSA1 (Legacy)ENSA2 (Current)
Lock table replicationERS maintains a replicated lock table, but failover has race conditions where some locks can be lost in edge casesActive β€” ERS maintains an independent copy with improved failover reliability
Lock preservation on failoverPossible lock loss in edge casesAll locks preserved β€” seamless failover
SAP versionSAP NetWeaver older releasesS/4HANA default, NetWeaver 7.52+
ERS behaviorERS restarts on the same node as ASCS after failoverERS stays on its own node β€” ASCS moves to the ERS node
ComplexitySimpler but less reliableSlightly more complex but robust
Exam focusKnow it exists and its limitationsPrimary focus β€” this is the modern standard

πŸ›‘οΈ Lars checks the SAP version. β€œGlobalPharma runs S/4HANA, so we use ENSA2 by default?”

☁️ Mei confirms. β€œYes. ENSA2 is the default for S/4HANA. ENSA1 is only relevant if you are running older NetWeaver systems that have not been updated.”

πŸ’‘ Exam tip: ENSA2 is the modern answer

When the exam asks about enqueue replication for S/4HANA or modern SAP systems, ENSA2 is always correct. ENSA1 questions typically describe legacy NetWeaver systems. The key difference to remember: ENSA2 maintains an independent copy with reliable failover (no lock loss), ENSA1 maintained a replicated lock table but had race conditions during failover (potential lock loss in edge cases).

πŸ’‘ ⚠️ Recently changed β€” exam alert

ENSA2 (Enqueue Server 2) is the current standard and is mandatory for S/4HANA. The older ENSA1 is only relevant for legacy ECC systems. If an exam question asks about the recommended enqueue replication approach for a new S/4HANA deployment, ENSA2 with standalone ERS is always the correct answer. ENSA1 may appear as a distractor.

Linux HA: Pacemaker for ASCS

On Linux (SUSE SLES or Red Hat RHEL), ASCS HA uses Pacemaker β€” an open-source cluster resource manager:

Cluster components:

  • Two VMs β€” one runs ASCS, the other runs ERS
  • Pacemaker β€” manages which node runs which service
  • Corosync β€” provides cluster communication and membership
  • STONITH β€” fencing mechanism (SBD or Azure Fence Agent)
  • Azure Load Balancer β€” routes traffic to the active ASCS node

How failover works:

  1. The active ASCS node fails (VM crash, OS issue, or ASCS process dies)
  2. Pacemaker detects the failure via the cluster health check
  3. STONITH fences the failed node (Azure Fence Agent restarts it, or SBD blocks it)
  4. Pacemaker moves ASCS to the surviving node (which was running ERS)
  5. ERS moves to the recovered node
  6. Azure Load Balancer health probe detects the move and redirects traffic

SUSE vs RHEL differences

Both SUSE and RHEL support Pacemaker for SAP, but they have different cluster agent names, configuration syntax, and supported fencing approaches:

  • SUSE uses the sapstartsrv and SAPInstance resource agents
  • RHEL uses the SAPInstance resource agent with sap_redhat_cluster_connector
  • Both require the distribution’s HA extension for SAP (SLES for SAP, RHEL for SAP)
  • Configuration guides are distribution-specific β€” Microsoft publishes separate guides for each

Windows HA: WSFC for ASCS

On Windows, ASCS HA uses Windows Server Failover Clustering (WSFC):

  • Azure Shared Disk or SOFS (Scale-Out File Server) for shared storage
  • Cluster role for ASCS with a virtual network name
  • Azure Load Balancer with health probe (same concept as Linux)
  • No STONITH needed β€” WSFC handles fencing differently through cluster arbitration
Windows vs Linux ASCS HA

The exam focuses more on Linux (Pacemaker) than Windows (WSFC) for ASCS HA because most SAP HANA deployments use Linux. However, know that WSFC is the Windows equivalent and uses Azure Shared Disk for shared storage instead of NFS.

SBD vs Azure Fence Agent

STONITH fencing options for SAP on Azure
FeatureSBD (STONITH Block Device)Azure Fence Agent
How it worksUses a shared disk for fencing messages β€” nodes write 'poison pills'Calls Azure REST API to deallocate or restart the failed VM
Storage requiredAzure Shared Disk (small, dedicated for SBD)No additional storage needed
Network dependencyWorks even if network is partitioned (uses shared disk)Requires network access to Azure API endpoints
Setup complexityModerate β€” configure SBD device and iSCSI/shared diskSimpler β€” configure managed identity and permissions
SUSE supportYesYes
RHEL supportYesYes
Exam tipKnow that SBD uses shared storage for fencingKnow that it uses Azure API and needs network

πŸ›‘οΈ Lars evaluates. β€œAzure Fence Agent is simpler, but SBD works even if the network is down. For GlobalPharma’s compliance requirements, I prefer SBD β€” belt and suspenders.”

☁️ Mei agrees. β€œSBD is more robust in network-partition scenarios. But Azure Fence Agent is easier to set up and works well for most deployments. The exam may test both.”

Azure Load Balancer for ASCS

The Load Balancer configuration for ASCS HA:

  • Standard SKU, internal β€” SAP cluster IPs are always private
  • Floating IP enabled β€” mandatory for the virtual cluster IP to work
  • Health probe on port 620xx β€” where xx is the ASCS instance number (e.g., 62000 for instance 00)
  • Health probe on port 621xx β€” for ERS instance
  • HA ports rule β€” forwards all ports to the active node
  • Idle timeout β€” set to 30 minutes for SAP long-running connections
πŸ’‘ Exam tip: Health probe ports

The exam loves testing ASCS Load Balancer health probe ports. The pattern is 620xx for ASCS and 621xx for ERS, where xx is the SAP instance number. For a multi-SID setup, each SID needs its own frontend IP and health probe on distinct ports.

Question

What is the key difference between ENSA1 and ENSA2?

Click or press Enter to reveal answer

Answer

ENSA2 maintains an active, independent copy of the lock table on the ERS node with improved failover reliability β€” failover preserves all locks. ENSA1 maintained a replicated lock table, but the failover mechanism had race conditions where some locks could be lost in edge cases.

Click to flip back

Question

What cluster software manages ASCS HA on Linux?

Click or press Enter to reveal answer

Answer

Pacemaker with Corosync. Pacemaker is the resource manager that decides which node runs ASCS and ERS. Corosync handles cluster communication and membership. Both work together with STONITH fencing (SBD or Azure Fence Agent) for a supported HA configuration.

Click to flip back

Question

What health probe port pattern does Azure Load Balancer use for ASCS HA?

Click or press Enter to reveal answer

Answer

620xx for ASCS and 621xx for ERS, where xx is the SAP instance number. For example, ASCS instance 00 uses port 62000, ERS instance 01 uses port 62101. Each SID in a multi-SID setup needs its own frontend IP and probe.

Click to flip back

Question

What happens during an ASCS failover with ENSA2 on Pacemaker?

Click or press Enter to reveal answer

Answer

1. Pacemaker detects ASCS failure. 2. STONITH fences the failed node. 3. ASCS moves to the ERS node (which already has the lock table replica). 4. ERS moves to the recovered node. 5. Azure Load Balancer health probe detects the change and redirects traffic. All locks are preserved.

Click to flip back

Question

Why might you choose SBD over Azure Fence Agent for STONITH?

Click or press Enter to reveal answer

Answer

SBD uses a shared disk for fencing messages, so it works even during network partitions. Azure Fence Agent requires network access to Azure APIs. SBD is more robust in split-brain scenarios where network connectivity is lost between nodes, but it requires an additional shared disk.

Click to flip back

Knowledge check

Knowledge Check

GlobalPharma runs S/4HANA and needs ASCS HA. Which enqueue replication architecture should Lars configure?

Knowledge Check

Lars needs a STONITH mechanism that works even if network connectivity between the two ASCS nodes is lost. What should he choose?

Knowledge Check

What port should Lars configure for the Azure Load Balancer health probe for ASCS instance number 01?

Knowledge Check

Lars is comparing clustering options for different OS platforms in GlobalPharma's SAP landscape. On which operating system does ASCS HA use Windows Server Failover Clustering (WSFC)?

Summary

You now know how to protect ASCS/SCS β€” the most critical SPOF in SAP. ENSA2 provides active lock table replication for seamless failover, Pacemaker handles Linux clustering (WSFC for Windows), SBD and Azure Fence Agent provide STONITH fencing, and Azure Load Balancer routes traffic to the active node. The health probe port pattern (620xx/621xx) is an exam favorite.

Next, we protect the other critical SPOF: the HANA database itself, using HANA System Replication for high availability.

🎬 Video coming soon

← Previous

High Availability Concepts for SAP

Next β†’

HANA System Replication for HA

Guided

I learn, I simplify, I share.

A Guide to Cloud YouTube Feedback

© 2026 Sutheesh. All rights reserved.

Guided is an independent study resource and is not affiliated with, endorsed by, or officially connected to Microsoft. Microsoft, Azure, and related trademarks are property of Microsoft Corporation. Always verify information against Microsoft Learn.