Red Hat Enterprise Linux (RHEL) has been providing high availability (HA) for business critical workloads at the application and database (DB) level for years, helping maximize uptime and minimize unplanned disruptions of service, making critical environments more resilient.
Thanks to the RHEL High Availability Solutions for SAP, based on the RHEL HA Add-On and included with the Red Hat Enterprise Linux for SAP Solutions subscription, single points of failure like shared file systems, databases, message servers and enqueue servers are extensively mitigated, if not outright eliminated, by clustering these resources.
In the case of SAP HANA, the DB incorporates a mechanism called SAP HANA System Replication (HSR) which replicates the DB to one or more nodes but does not provide automatic failover in case of problems. RHEL HA Solutions for SAP can take care of this automation and help SAP Basis engineers sleep more soundly, knowing that it is much less likely that they’ll have to perform a manual failover of the DB in the middle of the night.
The collaboration between Red Hat and SAP means that new HA scenarios and models incorporated into both DB and application layers are covered by RHEL HA Solutions for SAP so that customers are able to benefit from them. Red Hat performs extensive testing on different releases of RHEL to get them certified by SAP to provide HA for those scenarios and models.
High availability at application level
If we look at the application side, there are two models created by SAP to achieve HA — ENSA1 and ENSA2. The latter is recommended for SAP NetWeaver (starting from version 7.51) and SAP S/4HANA (starting from version 1809), while ENSA1 is used in older versions of SAP NetWeaver based SAP products. In both, the enqueue server (which stores a table of all the locks held by users at all times) is replicated to ensure that, if there is a failure, there will be no data overwriting in the DB so it remains consistent (see Evolution of ENSA2 and ERS2 for details on the differences between ENSA1 and ENSA2).
As in the SAP HANA System Replication case that we mentioned earlier, the failover is not done automatically, so RHEL HA Solutions for SAP adds this layer of automation to clusters of two or more nodes (more than two nodes is only applicable when implementing ENSA2).
Some customers may decide to have the DB and the application on the same server for some of their systems in order to reduce costs (mostly if they are on a cloud service and they need to minimize the expenditure), or they could have the primary application instance (PAS) and other application instances also on one host. These scenarios, so called cost-optimized deployments, are also covered by RHEL HA Solutions for SAP.
![RHEL HA for SAP - high availability at application level RHEL High Availability for SAP - high availability at application level](/rhdc/managed-files/styles/wysiwyg_full_width/private/RHEL-HA-for-SAP-image1.png?itok=y2Xp8lmr)
See Configuring Cost-Optimized SAP S/4HANA ASCS/ERS/HDB with Standalone Enqueue Server 2 (ENSA 2) in a Pacemaker Cluster - Red Hat Customer Portal for details on how to set up a HA cluster for managing both HANA System Replication and ENSA2 in a single cluster.
High availability at DB level
Regarding the DB layer availability, here we’ll focus on SAP HANA. A SAP HANA instance can be installed on one server, or it can be distributed across multiple servers to have more resources.
The first case is called a “scale-up deployment” because if more resources are needed they may be added to the same server, and the second is called a “scale-out deployment”. High availability can be provided for both implementations. In the first case, an identical instance with the same resources will be installed in another server (also with the same resources and SID), and in the second case, the same configuration will be replicated to the same number of hosts.
As we mentioned earlier, SAP HANA System Replication will provide for the replication and consistency of the data, but requires a cluster solution such as RHEL HA Solutions for SAP to take care of the automatic failover of the resources in case of problems.
In order to achieve even more redundancy, SAP introduced the possibility of Multitier System Replication in SAP HANA 1.0 SP12. With this, a DB is replicated and the replica is in turn replicated to a third tier.
![RHEL High Availability for SAP - multitier system replication RHEL High Availability for SAP - multitier system replication](/rhdc/managed-files/styles/wysiwyg_full_width/private/RHEL-HA-for-SAP-image2.png?itok=T1z828YN)
Later on, in SAP HANA 2.0 SP03, Multitarget System Replication was introduced to deliver even more redundancy by replicating the original DB to more than one target simultaneously. This means that if the secondary fails, the third will still be in sync with the primary, while with multi-tier, if the secondary fails, the changes in the primary will no longer be propagated to the third.
![RHEL High Availability for SAP - multitarget system replication RHEL High Availability for SAP - multitarget system replication](/rhdc/managed-files/styles/wysiwyg_full_width/private/RHEL-HA-for-SAP-image3.png?itok=CVlM7xm2)
Both scenarios are supported with current versions of RHEL HA Solutions for SAP starting as of RHEL 8 for SAP Solutions.
There are additional cost-optimized scenarios described by SAP for SAP HANA database deployments, in which the secondary server not only has a replica of the primary DB but also hosts a DEV or QAS DB that serves queries. Since both DBs have to share resources, the DEV/QAS DB has to be shut down first in order to allow allocation of all the resources to the production database and to allow the primary to fail over to the secondary.
![RHEL High Availability for SAP - automating cost-optimized SAP HANA RHEL High Availability for SAP - automating cost-optimized SAP HANA](/rhdc/managed-files/styles/wysiwyg_full_width/private/RHEL-HA-for-SAP-image4.png?itok=QcksJdme)
RHEL HA Solutions for SAP supports this solution as of version RHEL 8 for SAP Solutions (and later). See Automating Cost-Optimized SAP HANA Scale-Up System Replication using the RHEL HA Add-On - Red Hat Customer Portal for further details on this solution.
You can find a detailed description of all the supported HA scenarios in this article.
Adding automation to the recipe
Red Hat Ansible Automation Platform can take care of many parts of the IT landscape, including creating and operating clusters. Using automation simplifies the process of configuring Pacemaker clusters and reduces the possibility of human errors. Once a configuration is tested and validated, it can be built into a template that the Ansible roles and playbooks will deploy any number of times. This blog post shows you how to automatically create a SAP HANA Pacemaker cluster with Ansible.
Finally, it is important to note that HA is not only needed to help avoid unplanned outages, but can also be used in combination with automation to minimize the downtime needed for planned maintenance activities as described in this portfolio architecture.
Reliable and cost efficient SAP systems
As we know, SAP workloads are critical because they tend to sit at the core of an organization, so driving towards maximum uptime while minimizing outages (planned and unplanned) is a main concern for IT departments. With the latest scenarios supported by RHEL HA Solutions for SAP, customers can be even more confident that their SAP systems are available and responsive to business needs, providing a smooth user experience while achieving higher levels of data redundancy.
Also, support for SAP HANA cost-optimized solutions can help considerably in reducing expenditure on computing resources, such as organizations with hybrid cloud environments that want to get the most of their systems that are on public cloud, while making sure they are in control of how much they pay for their utilization.
Learn more
저자 소개
Ricardo Garcia Cavero joined Red Hat in October 2019 as a Senior Architect focused on SAP. In this role, he developed solutions with Red Hat's portfolio to help customers in their SAP journey. Cavero now works for as a Principal Portfolio Architect for the Portfolio Architecture team.
채널별 검색
오토메이션
기술, 팀, 인프라를 위한 IT 자동화 최신 동향
인공지능
고객이 어디서나 AI 워크로드를 실행할 수 있도록 지원하는 플랫폼 업데이트
오픈 하이브리드 클라우드
하이브리드 클라우드로 더욱 유연한 미래를 구축하는 방법을 알아보세요
보안
환경과 기술 전반에 걸쳐 리스크를 감소하는 방법에 대한 최신 정보
엣지 컴퓨팅
엣지에서의 운영을 단순화하는 플랫폼 업데이트
인프라
세계적으로 인정받은 기업용 Linux 플랫폼에 대한 최신 정보
애플리케이션
복잡한 애플리케이션에 대한 솔루션 더 보기
오리지널 쇼
엔터프라이즈 기술 분야의 제작자와 리더가 전하는 흥미로운 스토리
제품
- Red Hat Enterprise Linux
- Red Hat OpenShift Enterprise
- Red Hat Ansible Automation Platform
- 클라우드 서비스
- 모든 제품 보기
툴
체험, 구매 & 영업
커뮤니케이션
Red Hat 소개
Red Hat은 Linux, 클라우드, 컨테이너, 쿠버네티스 등을 포함한 글로벌 엔터프라이즈 오픈소스 솔루션 공급업체입니다. Red Hat은 코어 데이터센터에서 네트워크 엣지에 이르기까지 다양한 플랫폼과 환경에서 기업의 업무 편의성을 높여 주는 강화된 기능의 솔루션을 제공합니다.