redhat-sap / sap-hana-deployment

Deploys SAP HANA on the given hosts
Apache License 2.0
13 stars 20 forks source link

addhosts isn't considered #7

Closed tbludau closed 2 years ago

tbludau commented 4 years ago

The addhosts Paraemter in the configfile.j2 is very necessary for a Scale-Out Deployment method, but with the last changes it is not possible to add this configuration as a parameter.

With the last known version from my site i used a dynamic parameter which added to the installation method. So it was possible to use features which were not integrated in the template file.

f.e. ./hdblcm --configfile=/tmp/hanainstall{{ item.value.hana_sid|lower}}.cfg -b {{ item.value.hdblcm_params| default('') }}

Take a look in this files: tasks/hana_deploy.yml templates/configfile.j2

makentenza commented 4 years ago

@tbludau when we moved the repo all the original code was cut released so you can use previous version until we do a new one that is working for everyone.

https://github.com/redhat-sap/sap-hana-deployment/tree/v1.0

tbludau commented 4 years ago

@makentenza i'm using this version at the moment. thanks. But this was something i need for a successfull deployment process in the future for all scenarios

makentenza commented 4 years ago

@tbludau Sure, let's add support for Multiple-Host System.

What's the expected format for the addhosts= value? Is it comma-separated values like addhosts = host2, host3, host4? From the previous code it looks like only one additional host was accepted.

berndfinger commented 2 years ago

The expected format is described in the SAP HANA Server Installation and Update Guide. The following successfully installs SAP HANA on two additional hosts: --addhosts=host02:role=worker,host03:role=worker See also https://github.com/redhat-sap/sap-hana-deployment/issues/41 .

berndfinger commented 2 years ago

Closing this issue now because the issue is fixed.

Note: Development and maintenance of this software has stopped.

Its functional scope is covered and expanded by role sap_hana_install. The role is part of Ansible Collection sap_install in the GitHub organization sap-linuxlab, which is a joint initiative by SAP Technology Partners.