Skip to content

Commit fa26f21

Browse files
author
Csaba Daradics
committed
Add task to create custom ini file
And switch to hdbclm command to use it
1 parent 9b17b35 commit fa26f21

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

  • deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/tasks

deploy/ansible/roles-db/4.0.3-hdb-install-scaleout/tasks/main.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,17 @@
143143
{% endif %}
144144
{% endfor %}"
145145

146+
- name: "4.0.3 - SAP HANA SCALE OUT: Template processing: Create custom ini file {{ sap_custom_config }} from {{ HANA_2_00_customconfig.rsp }}"
147+
ansible.builtin.template:
148+
src: "HANA_2_00_customconfig.rsp"
149+
dest: "{{ dir_params }}/{{ sap_custom_config }}"
150+
mode: 0644
151+
force: true
152+
vars:
153+
_rsp_basepath_shared: "no"
154+
_rsp_hana_data_basepath: "{{ hana_data_basepath }}"
155+
_rsp_hana_log_basepath: "{{ hana_log_basepath }}"
156+
146157
- name: "4.0.3 - SAP HANA SCALE OUT: Progress"
147158
ansible.builtin.debug:
148159
msg: "Start HANA Installation on primary node"
@@ -153,7 +164,7 @@
153164
ansible.builtin.shell: |
154165
umask {{ custom_umask | default('022') }} ;
155166
chmod 755 /usr/sap;
156-
./hdblcm --batch --action=install --hostname {{ virtual_host | trim }} --configfile='{{ dir_params }}/{{ sap_inifile }}'
167+
./hdblcm --batch --action=install --hostname {{ virtual_host | trim }} --configfile='{{ dir_params }}/{{ sap_inifile }}' --custom_cfg='{{ dir_params }}'
157168
args:
158169
chdir: "{{ target_media_location }}/CD_HDBSERVER/SAP_HANA_DATABASE"
159170
creates: "/etc/sap_deployment_automation/{{ db_sid | upper }}/sap_deployment_hdb.txt"

0 commit comments

Comments
 (0)