diff --git a/.codespell.ignore.words b/.codespell.ignore.words index b822b7971..e0af130a6 100644 --- a/.codespell.ignore.words +++ b/.codespell.ignore.words @@ -1 +1,2 @@ msdos +aas diff --git a/aws/main.tf b/aws/main.tf index ad7f45016..fe3fc159e 100644 --- a/aws/main.tf +++ b/aws/main.tf @@ -118,7 +118,7 @@ module "common_variables" { hana_cluster_vip = local.hana_cluster_vip hana_cluster_vip_secondary = var.hana_active_active ? local.hana_cluster_vip_secondary : "" hana_ha_enabled = var.hana_ha_enabled - hana_ignore_min_mem_check = var.hana_ignore_min_mem_check + hana_extra_parameters = var.hana_extra_parameters hana_cluster_fencing_mechanism = var.hana_cluster_fencing_mechanism hana_sbd_storage_type = var.sbd_storage_type hana_scale_out_enabled = var.hana_scale_out_enabled diff --git a/aws/terraform.tfvars.example b/aws/terraform.tfvars.example index 28b1e7624..dafc42bce 100644 --- a/aws/terraform.tfvars.example +++ b/aws/terraform.tfvars.example @@ -227,10 +227,19 @@ cluster_ssh_key = "salt://sshkeys/cluster.id_rsa" # Enable system replication and HA cluster #hana_ha_enabled = true -# Disable minimal memory checks for HANA. Useful to deploy development clusters. -# Low memory usage can cause a failed deployment. Be aware that this option does -# not work with any memory size and will most likely fail with less than 16 GiB -#hana_ignore_min_mem_check = false +# This map allows to add any extra parameters to the HANA installation (inside the installation configfile). +# For more details about the parameters, have a look at the Parameter Reference, e.g. +# https://help.sap.com/docs/SAP_HANA_PLATFORM/2c1988d620e04368aa4103bf26f17727/c16432a77b6144dcb75aace2b4fcacff.html +# Some examples: +#hana_extra_parameters = { +# # needed for HANA 2.0 >= SPS07 as +# # the local secure store component (LSS) can only be installed in optimized installation mode. +# install_execution_mode = "optimized", +# # Disable minimal memory checks for HANA. Useful to deploy development clusters. +# # Low memory usage can cause a failed deployment. Be aware that this option does +# # not work with any memory size and will most likely fail with less than 16 GiB +# ignore = "check_min_mem" +#} # The next variables define how the HANA installation software is obtained. # The installation software must be located in a AWS S3 bucket diff --git a/aws/variables.tf b/aws/variables.tf index e0d842a26..95e80e45f 100644 --- a/aws/variables.tf +++ b/aws/variables.tf @@ -531,10 +531,20 @@ variable "hana_cluster_vip_secondary" { } } -variable "hana_ignore_min_mem_check" { - description = "Disable the min mem check imposed by hana allowing it to run with under 24 GiB" - type = bool - default = false +variable "hana_extra_parameters" { + type = map(any) + default = {} + description = <= SPS07 as +# # the local secure store component (LSS) can only be installed in optimized installation mode. +# install_execution_mode = "optimized", +# # Disable minimal memory checks for HANA. Useful to deploy development clusters. +# # Low memory usage can cause a failed deployment. Be aware that this option does +# # not work with any memory size and will most likely fail with less than 16 GiB +# ignore = "check_min_mem" +#} # Select HANA cluster fencing mechanism. 'native' by default # Find more information in `doc/fencing.md` documentation page diff --git a/gcp/variables.tf b/gcp/variables.tf index 672e6094b..7e4a3a249 100644 --- a/gcp/variables.tf +++ b/gcp/variables.tf @@ -473,10 +473,20 @@ variable "hana_cluster_vip_secondary" { } } -variable "hana_ignore_min_mem_check" { - description = "Disable the min mem check imposed by hana allowing it to run with under 24 GiB" - type = bool - default = false +variable "hana_extra_parameters" { + type = map(any) + default = {} + description = <= SPS07 as +# # the local secure store component (LSS) can only be installed in optimized installation mode. +# install_execution_mode = "optimized", +# # Disable minimal memory checks for HANA. Useful to deploy development clusters. +# # Low memory usage can cause a failed deployment. Be aware that this option does +# # not work with any memory size and will most likely fail with less than 16 GiB +# ignore = "check_min_mem" +#} + # Select SBD as fencing mechanism for the HANA cluster #hana_cluster_fencing_mechanism = "sbd" -# Disable minimal memory checks for HANA. Useful to deploy development clusters. -# Low memory usage can cause a failed deployment. Be aware that this option does -# not work with any memory size and will most likely fail with less than 16 GiB -#hana_ignore_min_mem_check = false - # More configuration about the HANA machines # Set the IP addresses for the HANA machines. Leave this commented to get an autogenerated addresses #hana_ips = ["192.168.XXX.Y", "192.168.XXX.Y+1"] diff --git a/libvirt/variables.tf b/libvirt/variables.tf index 675187086..ee9e371fa 100644 --- a/libvirt/variables.tf +++ b/libvirt/variables.tf @@ -418,10 +418,20 @@ variable "hana_cluster_vip_secondary" { } } -variable "hana_ignore_min_mem_check" { - description = "Disable the min mem check imposed by hana allowing it to run with under 24 GiB" - type = bool - default = false +variable "hana_extra_parameters" { + type = map(any) + default = {} + description = <= SPS07 as +# # the local secure store component (LSS) can only be installed in optimized installation mode. +# install_execution_mode = "optimized", +# # Disable minimal memory checks for HANA. Useful to deploy development clusters. +# # Low memory usage can cause a failed deployment. Be aware that this option does +# # not work with any memory size and will most likely fail with less than 16 GiB +# ignore = "check_min_mem" +#} # Select HANA cluster fencing mechanism. 'native' by default # Find more information in `doc/fencing.md` documentation page diff --git a/openstack/variables.tf b/openstack/variables.tf index ef231cdbc..d932843c7 100644 --- a/openstack/variables.tf +++ b/openstack/variables.tf @@ -477,10 +477,20 @@ variable "hana_fstype" { default = "xfs" } -variable "hana_ignore_min_mem_check" { - description = "Disable the min mem check imposed by hana allowing it to run with under 24 GiB" - type = bool - default = false +variable "hana_extra_parameters" { + type = map(any) + default = {} + description = <