A company's SAP on Azure deployment uses an Azure Internal Load Balancer for the HANA HA cluster. After a failover, some application server connections remain stuck for minutes pointing to the old primary node. What is the most effective configuration to resolve this?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Enable TCP Reset on Idle (tcp_reset_idle) on the ILB rule, and configure SAP kernel parameters (KEEPALIVE) to detect stale connections faster

After a HANA failover, existing TCP connections from app servers to the old primary are stale. Two fixes work together: (1) **TCP Reset on Idle** on the ILB rule sends RST packets ...

๐Ÿ“‹Part of Microsoft Certified: Azure for SAP Workloads Specialty (AZ-120) ยท Azure Certification Practice
Real Exam ScenarioHigh Availability

A company's SAP on Azure deployment uses an Azure Internal Load Balancer for the HANA HA cluster. After a failover, some application server connections remain stuck for minutes pointing to the old primary node. What is the most effective configuration to resolve this?

โœ“ Correct Answer & ExplanationHigh Availability

Correct Answer

Enable TCP Reset on Idle (tcp_reset_idle) on the ILB rule, and configure SAP kernel parameters (KEEPALIVE) to detect stale connections faster

Why This Answer Is Correct

After a HANA failover, existing TCP connections from app servers to the old primary are stale. Two fixes work together: (1) **TCP Reset on Idle** on the ILB rule sends RST packets to terminate stale connections that exceed the idle timeout, (2) **SAP kernel KEEPALIVE settings** (e.g., `enque/encni/set_so_keepalive = true`, OS-level `tcp_keepalive_time`) probe the connection health and detect failures faster. Traffic Manager adds DNS TTL-based delay. A 1-second health probe interval is too aggressive and may cause false failovers.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of High Availability โ€” a core concept tested in Microsoft Certified: Azure for SAP Workloads Specialty (AZ-120). Understanding High Availability is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.