Skip to content

Commit

Permalink
sap_hana_install: Set the install execution mode to 'optimized'
Browse files Browse the repository at this point in the history
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 sap-linuxlab#894.

Signed-off-by: Bernd Finger <[email protected]>
  • Loading branch information
berndfinger committed Nov 22, 2024
1 parent c7da398 commit 66dce4e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 6 additions & 2 deletions roles/sap_hana_install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,11 @@ With the following tags, the role can be called to perform certain activities on
<!-- BEGIN Further Information -->
## 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.
<!-- END Further Information -->
## License
Expand Down Expand Up @@ -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)</br>
can be defined by setting `sap_hana_instance_number`, `sap_hana_install_instance_nr`, `sap_hana_install_instance_number`, or `sap_hana_install_number`.</br>
The order of precedence is from left to right.
<!-- END Role Variables -->
<!-- END Role Variables -->
6 changes: 6 additions & 0 deletions roles/sap_hana_install/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 66dce4e

Please sign in to comment.