10

Distributed Resiliency of SAP CAP applications using SAP HANA Cloud (Multi-Zone...

 1 year ago
source link: https://blogs.sap.com/2022/11/12/distributed-resiliency-of-sap-cap-applications-using-sap-hana-cloud-multi-zone-replication-with-azure-traffic-manager/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
November 12, 2022 2 minute read

Distributed Resiliency of SAP CAP applications using SAP HANA Cloud (Multi-Zone Replication) with Azure Traffic Manager

Introduction

The goal of resilience or robust software design is to deal with failures that occur in complex system landscapes while they are being used, but should ideally go unnoticed by users. In contrast to conventional stability techniques, its objective is to maximize the availability of systems and system landscapes rather than to decrease the likelihood of failure occurring. It embraces the unavoidability and unpredictability of failures and concentrates on resolving them as soon as feasible.

There are different principles and patterns that may be used to make your applications more resilient. However, it is not always easy to find the combination that best fits your applications. The Developing Resilient Apps on SAP BTP Guide provides an overview of the various options you have, as well as detailed information about the particular patterns you may employ.

The majority of SAP BTP services support Availability Zones (AZ) for high availability. However, the Availability Zones (AZ) are confined to a single region, which is insufficient for mission-critical applications. Implementing the multi-region architecture, further reduce downtime, reduce regional latency, or simply use this architecture as a load balancer to disperse rising traffic between regions.

This blog post primarily focuses on the application’s active-active (Distributed Resiliency) setup employing multi-region architectural concepts. Here, you will discover how to deploy the SAP CAP application to multiple regions, divert traffic to the appropriate region, and monitor its availability.

Solution Architecture

The conceptual solution diagram below shows an active-active (Distributed Resiliency) setup employing multi-region architecture.

Distributed%20Resiliency%20of%20SAP%20CAP%20applications%20using%20SAP%20HANA%20Cloud

SAP CAP application Distributed Resiliency using SAP HANA Cloud

In this setup, SAP CAP applications are spread across different regions and connected to SAP HANA Cloud database. The incoming requests are routed to the appropriate region using Azure Traffic Manager.

To optimize your application’s response time, we recommend deploying it across data centers where your target audience and back-end system are situated. For instance, consumers in Europe may select the Frankfurt and Amsterdam data centers.

Note: Be aware that there may be concerns with respect to legal data processing constraints if you wish to deploy your application in data centers that are not in the same region. For more information, see Data Protection and Privacy

High-level Implementation Steps

  • SAP BTP, Cloud Foundry Runtime in two subaccounts from different regions or hyperscallers.
  • A custom domain URL serves as the single point of entry to the SAP CAP Application.
  • Using the SAP BTP Custom Domain service, configure and map the custom domain to SAP CAP Application routes.
  • Azure Traffic Manager is an intelligent component that monitors the application’s health and sends user requests to another region in the event of a failover.
  • SAP CAP Applications are smoothly synchronized to several regions using the SAP Cloud Transport Management service.

While implementing this architecture, consider the subscription costs for duplicate services in different subaccounts and ensure that the applications are always in sync. It is required to configure SSO for a seamless switch between the regions.

We have a detailed step-by-step discovery center mission for this scenario if you want to try it

Related Blogposts

SAP BTP Multi-Region reference architectures for High Availability and Resiliency by Mahesh

Architecting solutions on SAP BTP for High Availability by Murali Shanmugham

How to crash your iflows and watch them failover beautifully by Martin Pankraz

In Closing

I hope this blog post gives  you an idea in terms of how you can leverage SAP BTP across different regions/providers to architect highly available solutions.

Please leave any thoughts or feedback in the comments section below.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK