From 66dce4e9870939852aaeb384413c51bc6bba89e8 Mon Sep 17 00:00:00 2001 From: Bernd Finger Date: Fri, 22 Nov 2024 22:02:04 +0100 Subject: [PATCH] sap_hana_install: Set the install execution mode to 'optimized' This is required when installing the HANA component 'LSS', which is the default in HANA 2.0 SPS08. The installation execution mode can be set to the previous value of 'standard' by using the role variable 'sap_hana_install_install_execution_mode'. See the file `defaults/main.yml` of this role. Solves issue #894. Signed-off-by: Bernd Finger --- roles/sap_hana_install/README.md | 8 ++++++-- roles/sap_hana_install/defaults/main.yml | 6 ++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/roles/sap_hana_install/README.md b/roles/sap_hana_install/README.md index 265c7f92..636b2162 100644 --- a/roles/sap_hana_install/README.md +++ b/roles/sap_hana_install/README.md @@ -374,7 +374,11 @@ With the following tags, the role can be called to perform certain activities on ## Further Information -For more examples on how to use this role in different installation scenarios, refer to the [ansible.playbooks_for_sap](https://github.com/sap-linuxlab/ansible.playbooks_for_sap) playbooks. +- Starting with SAP HANA 2.0 SPS08, the component LSS (Local Secure Store) will be installed by default +when installing SAP HANA. This requires the installation execution mode to be set to 'optimized', which is +now set in the file `defaults/main.yml`. + +- For more examples on how to use this role in different installation scenarios, refer to the [ansible.playbooks_for_sap](https://github.com/sap-linuxlab/ansible.playbooks_for_sap) playbooks. ## License @@ -440,4 +444,4 @@ You can find those in the task `Rename some variables used by hdblcm configfile` Example: The parameter `sap_hana_install_number`, which is used by the role to define the hdblm parameter `number` (= SAP HANA instance number)
can be defined by setting `sap_hana_instance_number`, `sap_hana_install_instance_nr`, `sap_hana_install_instance_number`, or `sap_hana_install_number`.
The order of precedence is from left to right. - \ No newline at end of file + diff --git a/roles/sap_hana_install/defaults/main.yml b/roles/sap_hana_install/defaults/main.yml index 9ad0d5ec..6d4f47d3 100644 --- a/roles/sap_hana_install/defaults/main.yml +++ b/roles/sap_hana_install/defaults/main.yml @@ -140,6 +140,12 @@ sap_hana_install_system_usage: 'custom' sap_hana_install_restrict_max_mem: 'n' sap_hana_install_max_mem: +# Starting with SAP HANA 2.0 SPS08, the component LSS (Local Secure Store) will be installed by default +# when installing SAP HANA. This requires the installation execution mode to be set to 'optimized'. +# You can change the following variable to the default of 'standard' in your playbook or inventory, +# for example when installing an older version of SAP HANA or when not installing the 'lss' component. +sap_hana_install_install_execution_mode: 'optimized' + # hdblcm will use default ids if blank sap_hana_install_userid: sap_hana_install_groupid: