SUSE / ha-sap-terraform-deployments

Automated SAP/HA Deployments in Public/Private Clouds
GNU General Public License v3.0
122 stars 88 forks source link

add grain/pillar to let netweaver know about HANA HA/SR #811

Closed yeoldegrove closed 2 years ago

yeoldegrove commented 2 years ago

This completes the feature of creating a HANA DB backup after the initial "Netweaver / S/4HANA import" is done (if HANA SR is enabled) in https://github.com/SUSE/sapnwbootstrap-formula/pull/95.

It introduces a new pillar switch called netweaver.hana.ha_enabled for this.

After the very large initial "Netweaver / S/4HANA import", the 1st backup on the HANA (done by saphanabootstrap-formula) differs to much to re-initiate HANA System Replication. This is why this new backup is needed.

Tested and verified on Azure and GCP with S/4HANA 2021.

helps to fix

https://github.com/SUSE/ha-sap-terraform-deployments/issues/739 https://github.com/SUSE/ha-sap-terraform-deployments/issues/803

related

https://github.com/SUSE/sapnwbootstrap-formula/pull/95

salt-shaptools-0.3.14 including these fixes: https://github.com/SUSE/salt-shaptools/pull/84 https://github.com/SUSE/salt-shaptools/pull/86

yeoldegrove commented 2 years ago

As commented in the other PR, I would rename to sr_enabled

Changed that.