Skip to content

Commit

Permalink
sap*preconfigure: Update README.md files with RHEL 9 information
Browse files Browse the repository at this point in the history
Solves issue sap-linuxlab#359.

Signed-off-by: Bernd Finger <[email protected]>
  • Loading branch information
berndfinger committed Jan 5, 2024
1 parent 9097b78 commit 8851ce5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
1 change: 1 addition & 0 deletions roles/sap_general_preconfigure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ make sure that the required collections are installed, for example by using the
To use this role, your system needs to be installed according to:
- RHEL 7: SAP note 2002167, Red Hat Enterprise Linux 7.x: Installation and Upgrade, section "Installing Red Hat Enterprise Linux 7"
- RHEL 8: SAP note 2772999, Red Hat Enterprise Linux 8.x: Installation and Configuration, section "Installing Red Hat Enterprise Linux 8".
- RHEL 9: SAP note 3108316, Red Hat Enterprise Linux 9.x: Installation and Configuration, section "Installing Red Hat Enterprise Linux 9".

Note
----
Expand Down
25 changes: 18 additions & 7 deletions roles/sap_hana_preconfigure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,25 @@ for RHEL 8.x:
- rhel-8-for-[x86_64|ppc64le]-appstream-e4s-rpms
- rhel-8-for-[x86_64|ppc64le]-sap-solutions-e4s-rpms

for RHEL 9.x:
- rhel-9-for-[x86_64|ppc64le]-baseos-e4s-rpms
- rhel-9-for-[x86_64|ppc64le]-appstream-e4s-rpms
- rhel-9-for-[x86_64|ppc64le]-sap-solutions-e4s-rpms

for SLES 15.x:
- SLE-Module-SAP-Applications15-[SP number]-Pool
- SLE-Module-SAP-Applications15-[SP number]-Pool
- SLE-Module-SAP-Applications15-[SP number]-Updates
- SLE-Product-SLES_SAP15-[SP number]-Pool
- SLE-Product-SLES_SAP15-[SP number]-Updates

For details on configuring Red Hat, see the knowledge base article: [How to subscribe SAP HANA systems to the Update Services for SAP Solutions](https://access.redhat.com/solutions/3075991)). If you set role parameter sap_hana_preconfigure_enable_sap_hana_repos to `yes`, the role can enable these repos.

To install HANA on Red Hat Enterprise Linux 6, 7, or 8, you need some additional packages which are contained in the rhel-sap-hana-for-rhel-7-[server|for-power-le]-e4s-rpms or rhel-8-for-[x86_64|ppc64le]-sap-solutions-e4s-rpms repo.
To install HANA on Red Hat Enterprise Linux 7, 8, or 9, you need some additional packages which are contained in the
- rhel-sap-hana-for-rhel-7-[server|for-power-le]-e4s-rpms,
- rhel-8-for-[x86_64|ppc64le]-sap-solutions-e4s-rpms, or
- rhel-9-for-[x86_64|ppc64le]-sap-solutions-e4s-rpms

repository.

To get this repository you need to have one of the following products:

Expand Down Expand Up @@ -75,18 +85,19 @@ Do not run this role against an SAP HANA or other production system. The role wi

Changes
-------
1) Previous versions of this role used variable sap_hana_preconfigure_use_tuned_where_possible to switch between either tuned settings or kernel command line settings (where applicable).
1) Previous versions of this role used the variable sap_hana_preconfigure_use_tuned_where_possible to switch between either tuned settings
or kernel command line settings (where applicable).
The current version modifies this behavior:
- The variable sap_hana_preconfigure_use_tuned_where_possible has been renamed to sap_hana_preconfigure_use_tuned
- The variable sap_hana_preconfigure_switch_to_tuned_profile_sap_hana has been removed.
- If sap_hana_preconfigure_use_tuned is set to `yes`, which is also the default, the role will configure the system for using tuned and also switch to tuned profile sap-hana.
If sap_hana_preconfigure_use_tuned is set to `no`, the role will perform a static configuration, including the modification of the linux command line in grub.
- The role can use tuned, or configure the kernel command line, or both.

2) Previous versions of this role used variable sap_hana_preconfigure_selinux_state to set the SELinux state to disabled, which is
mentioned in SAP notes 2292690 (RHEL 7) and 2777782 (RHEL 8). As role sap_general_preconfigure already allows to specify the desired
SELinux state, and as sap_general_preconfigure is run before sap_hana_preconfigure, there is no need any more to let
sap_hana_preconfigure configure the SELinux state. Same applies to the assertion of the SELinux state.
2) Previous versions of this role used variable sap_hana_preconfigure_selinux_state to set the SELinux state to disabled.
As the role sap_general_preconfigure already allows to specify the desired SELinux state, and as sap_general_preconfigure
is always run before sap_hana_preconfigure, there is no need any more to let sap_hana_preconfigure configure the SELinux state.
The same applies to the assertion of the SELinux state.

3) SLES systems are now configured using saptune rather than the ansible implementation of the notes.

Expand Down
2 changes: 1 addition & 1 deletion roles/sap_netweaver_preconfigure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ system time, before or after running role sap_netweaver_preconfigure.

Note
----
On RHEL, as per SAP notes 2002167 and 2772999, the role will switch to tuned profile sap-netweaver no matter if another tuned profile
On RHEL, as per SAP notes 2002167, 2772999, and 3108316, the role will switch to tuned profile sap-netweaver no matter if another tuned profile
(e.g. virtual-guest) had been active before or not.

On SLES, this role will switch the saptune solution to the one specified by the configuration and will override any previously set solution.
Expand Down

0 comments on commit 8851ce5

Please sign in to comment.