Skip to content

Commit 7c63eef

Browse files
committed
sap*preconfigure: Sync with SAP notes for RHEL 10
Also set the correct tsx value for HANA on RHEL 9 Fixes #1160 Signed-off-by: Bernd Finger <bfinger@redhat.com>
1 parent 213cd96 commit 7c63eef

3 files changed

Lines changed: 31 additions & 55 deletions

File tree

roles/sap_general_preconfigure/vars/RedHat_10.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ __sap_general_preconfigure_packagegroups: "{{ lookup('vars', '__sap_general_prec
5555

5656
__sap_general_preconfigure_packages_x86_64:
5757
- uuidd
58-
- libnsl
5958
- tcsh
6059
- psmisc
6160
- nfs-utils
@@ -64,15 +63,14 @@ __sap_general_preconfigure_packages_x86_64:
6463
- hostname
6564
# package tuned: no longer part of package group "Core" in RHEL 10, so we have to install it
6665
- tuned
67-
# package libxcrypt-compat: needed by sapstartsrv and SAP HANA on RHEL 10:
66+
# package libxcrypt-compat: needed by sapstartsrv on RHEL 10:
6867
- libxcrypt-compat
6968
# English locale packages are required as per SAP note 2369910:
7069
- langpacks-en
7170
- glibc-langpack-en
7271

7372
__sap_general_preconfigure_packages_ppc64le:
7473
- uuidd
75-
- libnsl
7674
- tcsh
7775
- psmisc
7876
- nfs-utils
@@ -81,15 +79,14 @@ __sap_general_preconfigure_packages_ppc64le:
8179
- hostname
8280
# package tuned: no longer part of package group "Core" in RHEL 10, so we have to install it
8381
- tuned
84-
# package libxcrypt-compat: needed by sapstartsrv and SAP HANA on RHEL 10:
82+
# package libxcrypt-compat: needed by sapstartsrv on RHEL 10:
8583
- libxcrypt-compat
8684
# English locale packages are required as per SAP note 2369910:
8785
- langpacks-en
8886
- glibc-langpack-en
8987

9088
__sap_general_preconfigure_packages_s390x:
9189
- uuidd
92-
- libnsl
9390
- tcsh
9491
- psmisc
9592
- nfs-utils

roles/sap_hana_preconfigure/vars/RedHat_10.yml

Lines changed: 28 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
---
33

44
# supported RHEL 10 minor releases for SAP HANA:
5-
__sap_hana_preconfigure_supported_rhel_minor_releases: []
5+
__sap_hana_preconfigure_supported_rhel_minor_releases:
6+
- "10.0"
67

78
# required repos for RHEL 10:
89
__sap_hana_preconfigure_req_repos_redhat_10_0_x86_64:
@@ -106,14 +107,14 @@ __sap_hana_preconfigure_req_repos_redhat_10_9_ppc64le:
106107
- "rhel-10-for-ppc64le-sap-solutions-rpms"
107108

108109
__sap_hana_preconfigure_req_repos_redhat_10_10_x86_64:
109-
- "rhel-10-for-x86_64-baseos-e4s-rpms"
110-
- "rhel-10-for-x86_64-appstream-e4s-rpms"
111-
- "rhel-10-for-x86_64-sap-solutions-e4s-rpms"
110+
- "rhel-10-for-x86_64-baseos-rpms"
111+
- "rhel-10-for-x86_64-appstream-rpms"
112+
- "rhel-10-for-x86_64-sap-solutions-rpms"
112113

113114
__sap_hana_preconfigure_req_repos_redhat_10_10_ppc64le:
114-
- "rhel-10-for-ppc64le-baseos-e4s-rpms"
115-
- "rhel-10-for-ppc64le-appstream-e4s-rpms"
116-
- "rhel-10-for-ppc64le-sap-solutions-e4s-rpms"
115+
- "rhel-10-for-ppc64le-baseos-rpms"
116+
- "rhel-10-for-ppc64le-appstream-rpms"
117+
- "rhel-10-for-ppc64le-sap-solutions-rpms"
117118

118119
# required SAP notes for RHEL 10:
119120
__sap_hana_preconfigure_sapnotes_versions_x86_64:
@@ -135,9 +136,11 @@ __sap_hana_preconfigure_sapnotes_versions: "{{ lookup('vars', '__sap_hana_precon
135136
# variable __sap_hana_preconfigure_min_pkgs will be undefined as well.
136137

137138
# Minimum required package levels for RHEL 10.0:
138-
__sap_hana_preconfigure_min_packages_10_0_x86_64: []
139+
__sap_hana_preconfigure_min_packages_10_0_x86_64:
140+
- [ 'kernel', '6.12.0-55.30.1.el10_0' ]
139141

140-
__sap_hana_preconfigure_min_packages_10_0_ppc64le: []
142+
__sap_hana_preconfigure_min_packages_10_0_ppc64le:
143+
- [ 'kernel', '6.12.0-55.30.1.el10_0' ]
141144

142145
__sap_hana_preconfigure_min_packages_10_1_x86_64: []
143146

@@ -182,58 +185,34 @@ __sap_hana_preconfigure_min_packages_10_10_ppc64le: []
182185
__sap_hana_preconfigure_min_pkgs: "{{ lookup('vars', '__sap_hana_preconfigure_min_packages_' + ansible_distribution_version | string | replace(\".\", \"_\") + '_' + ansible_architecture) }}"
183186

184187
__sap_hana_preconfigure_packages:
185-
# SAP NOTE 3108316:
186-
- expect
188+
# SAP NOTE 3562909:
189+
- tuned-profiles-sap-hana
187190
# package gtk3: only needed if the SAP HANA installation tools hdblcmgui and hdbsetup are used
188-
- gtk3
189-
- krb5-workstation
191+
# - gtk3
192+
# - libcanberra-gtk3
193+
# - PackageKit-gtk3-module
194+
# - krb5-workstation
190195
- libatomic
191-
- libcanberra-gtk3
192196
- libtool-ltdl
193197
- numactl
194-
- PackageKit-gtk3-module
195-
- xorg-x11-xauth
198+
# - xorg-x11-xauth
196199
# package chkconfig: needed by hdblcm to be able to access /etc/init.d
197200
- chkconfig
198-
# package libxcrypt-compat: needed SAP HANA and also by sapstartsrv on RHEL 10:
199-
# - libxcrypt-compat # now installed by role sap_general_preconfigure, see also SAP note 3108316, version 4.
200-
# For support purposes:
201-
# package graphwiz: graph visualization tools, for supportability)
202-
- graphviz
203-
# package iptraf-ng: TCP/IP network monitor, for supportability)
204-
- iptraf-ng
205-
# package lm-sensors: TCP/IP network monitor, for supportability)
206-
- lm_sensors
207-
# package nfs-utils: support utilities for NFS, for supportability)
208-
- nfs-utils
209-
# SAP NOTE 3562919:
210-
- tuned-profiles-sap-hana
211201

212202
__sap_hana_preconfigure_packages_min_install:
213-
# SAP NOTE 3108316:
214-
- expect
203+
# SAP NOTE 3562909:
204+
- tuned-profiles-sap-hana
215205
# package gtk3: only needed if the SAP HANA installation tools hdblcmgui and hdbsetup are used
216206
# - gtk3
217-
- krb5-workstation
207+
# - libcanberra-gtk3
208+
# - PackageKit-gtk3-module
209+
# - krb5-workstation
218210
- libatomic
219-
- libcanberra-gtk3
220211
- libtool-ltdl
221212
- numactl
222-
- PackageKit-gtk3-module
223-
- xorg-x11-xauth
224-
# package libxcrypt-compat: needed SAP HANA and also by sapstartsrv on RHEL 10:
225-
# - libxcrypt-compat # now installed by role sap_general_preconfigure, see also SAP note 3108316, version 4.
226-
# For support purposes:
227-
# package graphwiz: graph visualization tools, for supportability)
228-
# - graphviz
229-
# package iptraf-ng: TCP/IP network monitor, for supportability)
230-
# - iptraf-ng
231-
# package lm-sensors: TCP/IP network monitor, for supportability)
232-
# - lm_sensors
233-
# package nfs-utils: support utilities for NFS, for supportability)
234-
# - nfs-utils
235-
# SAP NOTE 3562919:
236-
- tuned-profiles-sap-hana
213+
# - xorg-x11-xauth
214+
# package chkconfig: needed by hdblcm to be able to access /etc/init.d
215+
- chkconfig
237216

238217
# URL for the IBM Power Systems service and productivity tools, see https://www.ibm.com/support/pages/service-and-productivity-tools
239218
__sap_hana_preconfigure_ibm_power_repo_url: 'https://public.dhe.ibm.com/software/server/POWER/Linux/yum/download/ibm-power-repo-latest.noarch.rpm'
@@ -302,6 +281,6 @@ __sap_hana_preconfigure_boot_command_line_args:
302281
# SAP NOTE 3562919:
303282
# RHEL 10.0 and later:
304283
c-states: { arch: ['x86_64'], args: ['processor.max_cstate=1', 'intel_idle.max_cstate=1'] }
305-
tsx: { arch: ['x86_64'], args: ['tsx=on'] }
284+
tsx: { arch: ['x86_64'], args: ['tsx=auto'] }
306285
thp: { arch: ['x86_64', 'ppc64le'], args: ['transparent_hugepage=madvise'] }
307286
# yamllint enable rule:commas rule:colons

roles/sap_hana_preconfigure/vars/RedHat_9.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,6 @@ __sap_hana_preconfigure_boot_command_line_args:
324324
# SAP NOTE 3108302:
325325
# RHEL 9.0 and later:
326326
c-states: { arch: ['x86_64'], args: ['processor.max_cstate=1', 'intel_idle.max_cstate=1'] }
327-
tsx: { arch: ['x86_64'], args: ['tsx=on'] }
327+
tsx: { arch: ['x86_64'], args: ['tsx=auto'] }
328328
thp: { arch: ['x86_64', 'ppc64le'], args: ['transparent_hugepage=never'] }
329329
# yamllint enable rule:commas rule:colons

0 commit comments

Comments
 (0)