Chapter 6. RHEL System Roles for SAP Description
This chapter provides a detailed description of RHEL System Roles for SAP.
6.1. System Roles and Purpose
The purpose of the three roles sap-preconfigure, sap-netweaver-preconfigure, and sap-hana-preconfigure is described in the following table:
| System Role | Purpose |
|---|---|
| sap-preconfigure | Install software and perform all configuration steps which are required for the installation of SAP NetWeaver and SAP HANA. |
| sap-netweaver-preconfigure | Install additional software and perform additional configuration steps which are required for SAP NetWeaver only. |
| sap-hana-preconfigure | Install additional software and perform additional configuration steps which are required for SAP HANA only. |
6.2. System Roles and SAP Notes
The following table list the System Role and the corresponding action or SAP Note for the RHEL release of the managed node.
| System Role | SAP Note for RHEL 7 | SAP Note for RHEL 8 |
|---|---|---|
| sap-preconfigure | ||
| SAP Note 0941735 (TMPFS only) | ||
| sap-netweaver-preconfigure | SAP Note 2526952 (Tuned profiles only) | SAP Note 2526952 (Tuned profiles only) |
| sap-hana-preconfigure | Install required packages as per docuements SAP HANA 2.20 running on RHEL7.x and SAP HANA SPS 12 running on RHEL 7.x which are found in SAP Note 2009879 | Install required packages found in SAP Note 2772999 |
| ppc64le only: Install additional required packages located here. | ppc64le Install additional required packages located here | |
| Perform the configuration steps in SAP HANA 2.0 running on RHEL 7.x and SAP HANA SPS 12 running on RHEL 7.x. SAP Note 2009879 | ||
| ppc64le only. SAP Note 2055470 | ppc64le only. SAP Note 2055470 | |
6.3. Implemented SAP Notes
| SAP Note | RHEL 7 | RHEL 8 | Title | Scope |
|---|---|---|---|---|
| X | Red Hat Enterprise Linux 7.x: Installation and Upgrade | General RHEL 7 installation and configuration steps before installing SAP NetWeaver | ||
| X | Linux UUID solutions |
Installation and configuration of | ||
| X | SAP memory management system for 64-bit Linux systems | SAP and Linux kernel parameters and TMPFS for SAP NetWeaver | ||
| X | Red Hat Enterprise Linux 8.x: Installation and Configuration |
General RHEL 8 installation and configuration steps, including | ||
| X | X | Red Hat Enterprise Linux for SAP Solutions | Description of RHEL for SAP Solutions, including tuned-profiles | |
| X | SAP HANA Guidelines for Red Hat Enterprise Linux (RHEL) Operating System | Kernel and OS settings for SAP HANA on RHEL 6.x and RHEL 7.x | ||
| X | X | HANA on POWER Planning and Installation Specifics - Central Note | Specific installation and configuration steps for SAP HANA on POWER | |
| X | SAP HANA DB: Recommended OS settings for RHEL 7 | Specific package requirements, Kernel and OS settings for SAP HANA on RHEL 7.x | ||
| X | SAP HANA DB: Recommended OS settings for RHEL 8 | Specific package requirements, Kernel and OS settings for SAP HANA on RHEL 8.x | ||
| X | X | Optimizing the Network Configuration on HANA and OS-Level | Network-related kernel settings for SAP HANA |
6.4. Role variables
In each role, default variable settings can be modified to change the behavior of the role. The README.md file of each role, located in directory /usr/share/ansible/roles/<role>, describes the purpose of these variables as well as their default settings. The variables are defined and can be changed in each role’s file main.yml in directory /usr/share/ansible/roles/<role>/defaults in an inventory file, in your playbooks, or by using the ansible-playbook command line parameter --extra-vars or -e. See the next section for examples.
Some of the variables are described in more detail below to explain their behavior and dependencies:
Kernel variables can be set either in the kernel command line via grub, or using tuned profile sap-hana. Use the following combinations of these variables in /usr/share/ansible/roles/sap-hana-preconfigure/defaults/main.yml for the cases described below.
6.4.1. Using tuned profile sap-hana only
In case you would like to use tuned profile sap-hana only, leave the default settings in place:
sap_hana_preconfigure_use_tuned: yes
6.4.2. Using tuned profile sap-hana and modify the kernel command line
In case you would like to use tuned and also modify the kernel command line, use following variable setting:
sap_hana_preconfigure_modify_grub_cmdline_linux: yes
6.4.3. Modifying the kernel command line and not using tuned
In case you would like to modify the kernel command line and not switch to tuned profile sap-hana (this will lead to all kernel settings to be configured statically), use the following variable setting:
sap_hana_preconfigure_use_tuned: no
This will modify the grub command line even if variable sap_hana_preconfigure_modify_grub_cmdline_linux is set to no