Chapter 2. Planning the HA cluster setup


Plan your setup carefully to ensure that all requirements for the HA cluster configuration for automating the HANA system replication of your HANA landscape are met.

2.1. Subscription and repositories for SAP HANA HA

The solutions for SAP HANA in a Pacemaker cluster for High Availability (HA) are provided in dedicated repositories. The RHEL for SAP Solutions subscription is required to access all relevant content. In addition to the standard RHEL repos the subscription provides access to the following repos, which are required to set up the SAP HANA HA solution:

  • High Availability

    The RHEL HA Add-On’s content is stored in a repository named High Availability. The repository ID is represented as rhel-9-for-<arch>-highavailability-e4s-rpms.

  • SAP Solutions

    Name of the repository that contains the SAP HANA specific content. The repository ID is represented as rhel-9-for-<arch>-sap-solutions-e4s-rpms.

The <arch> denotes the specific hardware architecture:

  • x86_64
  • ppc64le

Example list of repositories enabled as part of the RHEL for SAP Solutions subscription:

[root]# dnf repolist
Updating Subscription Management repositories.
repo id                                     repo name
rhel-9-for-x86_64-appstream-e4s-rpms        Red Hat Enterprise Linux 9 for x86_64 - AppStream - Update Services for SAP Solutions (RPMs)
rhel-9-for-x86_64-baseos-e4s-rpms           Red Hat Enterprise Linux 9 for x86_64 - BaseOS - Update Services for SAP Solutions (RPMs)
rhel-9-for-x86_64-highavailability-e4s-rpms Red Hat Enterprise Linux 9 for x86_64 - High Availability - Update Services for SAP Solutions (RPMs)
rhel-9-for-x86_64-sap-netweaver-e4s-rpms    Red Hat Enterprise Linux 9 for x86_64 - SAP NetWeaver - Update Services for SAP Solutions (RPMs)
rhel-9-for-x86_64-sap-solutions-e4s-rpms    Red Hat Enterprise Linux 9 for x86_64 - SAP Solutions - Update Services for SAP Solutions (RPMs)

2.2. Operating system requirements

Deploy your host operating system as described in Installing RHEL 9 for SAP Solutions.

Follow SAP Note 3108302 - SAP HANA DB: Recommended OS Settings for RHEL 9 to configure architecture specific settings, kernel parameters and check the minimum required Linux kernel and HANA versions.

Apply the operating system post-installation configuration for SAP HANA hosts as described in SAP Note 3108316 - Red Hat Enterprise Linux 9.x: Installation and Configuration.

Root privileges

For the HANA installation and the cluster HA setup the root user or a privileged user that can run any sudo commands is required.

2.3. Storage requirements

You can find information about the sizing of your SAP HANA database in the SAP HANA Master Guide.

For the setup of a scale-up SAP HANA environment with HANA system replication between two nodes, you must make sure that both systems are equipped with the same size of filesystem space for your HANA database. Plan the required space for local database backup files and log segments in accordance with your specific HANA configuration.

2.4. Network requirements

You can find information about SAP HANA network architecture considerations in the SAP HANA Administration Guide.

For the SAP HANA system replication setup in a HA cluster we recommend that you configure dedicated networks and connections for the cluster communication traffic, which is separate from any HANA network traffic.

2.5. HA cluster requirements

Fencing

For a supported HA cluster setup using the RHEL HA Add-on you must configure a fencing or STONITH device on each cluster node. Which fencing or STONITH device you can use depends on the platform the cluster is running on. Check the Support Policies for RHEL High Availability Clusters - Fencing/STONITH for recommendations on fencing agents or consult your hardware or cloud provider to find out which fence device is supported on their platform.

Note

fence_scsi or fence_mpath as fencing/STONITH mechanism requires shared storage between the cluster nodes that is fully managed by the HA cluster. If your SAP environment does not include such a shared disks setup, using these fencing options is not supported.

Quorum

In general, a quorum device is recommended for clusters with an even number of nodes. Two-node clusters specifically have an internal mechanism that handles split-brain situations by itself. For this case a quorum device is optional. Using a quorum device allows the cluster to better determine which node survives in a split-brain situation.

The options for setting up quorum devices vary depending on the platform, infrastructure and configuration.

2.6. SAP HANA planning

The sap-hana-ha package provides the combined resource agents which support setups with SAP HANA 2.0 SPS05 rev 59.04 or newer.

To prepare the HANA setup you can define a list of parameters that you require for the installation and configuration of the planned environment.

Example SAP HANA configuration parameters are shown below:

Parameter

Example value

HANA SID

RH1

HANA instance number

02

HANA site 1 name

DC1

HANA site 2 name

DC2

HANA node 1 FQDN

node1.example.com

HANA node 2 FQDN

node2.example.com

HANA DB 'SYSTEM' user password

<HANA_SYSTEM_PASSWORD>

SAP system group ID

10001

SAP system group name

sapsys

SAP local administrator user ID

10200

SAP local administrator user name

sapadm

HANA administrative user ID

10210

HANA administrative user name

rh1adm

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat Documentation

Legal Notice

Theme

© 2026 Red Hat
Back to top