Skip to content

Commit 38741a5

Browse files
authored
Merge pull request #909 from SUSE/develop
Develop -> Main for 9.1.0 release
2 parents 4ba887b + 2023510 commit 38741a5

File tree

20 files changed

+186
-64
lines changed

20 files changed

+186
-64
lines changed

.codespell.ignore.words

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
msdos
2+
aas

aws/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ module "common_variables" {
118118
hana_cluster_vip = local.hana_cluster_vip
119119
hana_cluster_vip_secondary = var.hana_active_active ? local.hana_cluster_vip_secondary : ""
120120
hana_ha_enabled = var.hana_ha_enabled
121-
hana_ignore_min_mem_check = var.hana_ignore_min_mem_check
121+
hana_extra_parameters = var.hana_extra_parameters
122122
hana_cluster_fencing_mechanism = var.hana_cluster_fencing_mechanism
123123
hana_sbd_storage_type = var.sbd_storage_type
124124
hana_scale_out_enabled = var.hana_scale_out_enabled

aws/terraform.tfvars.example

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,19 @@ cluster_ssh_key = "salt://sshkeys/cluster.id_rsa"
227227
# Enable system replication and HA cluster
228228
#hana_ha_enabled = true
229229

230-
# Disable minimal memory checks for HANA. Useful to deploy development clusters.
231-
# Low memory usage can cause a failed deployment. Be aware that this option does
232-
# not work with any memory size and will most likely fail with less than 16 GiB
233-
#hana_ignore_min_mem_check = false
230+
# This map allows to add any extra parameters to the HANA installation (inside the installation configfile).
231+
# For more details about the parameters, have a look at the Parameter Reference, e.g.
232+
# https://help.sap.com/docs/SAP_HANA_PLATFORM/2c1988d620e04368aa4103bf26f17727/c16432a77b6144dcb75aace2b4fcacff.html
233+
# Some examples:
234+
#hana_extra_parameters = {
235+
# # needed for HANA 2.0 >= SPS07 as
236+
# # the local secure store component (LSS) can only be installed in optimized installation mode.
237+
# install_execution_mode = "optimized",
238+
# # Disable minimal memory checks for HANA. Useful to deploy development clusters.
239+
# # Low memory usage can cause a failed deployment. Be aware that this option does
240+
# # not work with any memory size and will most likely fail with less than 16 GiB
241+
# ignore = "check_min_mem"
242+
#}
234243

235244
# The next variables define how the HANA installation software is obtained.
236245
# The installation software must be located in a AWS S3 bucket

aws/variables.tf

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -531,10 +531,20 @@ variable "hana_cluster_vip_secondary" {
531531
}
532532
}
533533

534-
variable "hana_ignore_min_mem_check" {
535-
description = "Disable the min mem check imposed by hana allowing it to run with under 24 GiB"
536-
type = bool
537-
default = false
534+
variable "hana_extra_parameters" {
535+
type = map(any)
536+
default = {}
537+
description = <<EOF
538+
This map allows to add any extra parameters to the HANA installation (inside the installation configfile).
539+
For more details about the parameters, have a look at the Parameter Reference, e.g.
540+
https://help.sap.com/docs/SAP_HANA_PLATFORM/2c1988d620e04368aa4103bf26f17727/c16432a77b6144dcb75aace2b4fcacff.html
541+
542+
Some examples:
543+
hana_extra_parameters = {
544+
ignore = "check_min_mem",
545+
install_execution_mode = "optimized"
546+
}
547+
EOF
538548
}
539549

540550
variable "scenario_type" {

azure/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ module "common_variables" {
109109
hana_cluster_vip = var.hana_ha_enabled ? local.hana_cluster_vip : ""
110110
hana_cluster_vip_secondary = var.hana_active_active ? local.hana_cluster_vip_secondary : ""
111111
hana_ha_enabled = var.hana_ha_enabled
112-
hana_ignore_min_mem_check = var.hana_ignore_min_mem_check
112+
hana_extra_parameters = var.hana_extra_parameters
113113
hana_cluster_fencing_mechanism = var.hana_cluster_fencing_mechanism
114114
hana_sbd_storage_type = var.sbd_storage_type
115115
hana_scale_out_enabled = var.hana_scale_out_enabled

azure/terraform.tfvars.example

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,10 +338,19 @@ hana_inst_master = "//YOUR_STORAGE_ACCOUNT_NAME.file.core.windows.net/sapdata/sa
338338
# Enable system replication and HA cluster
339339
#hana_ha_enabled = true
340340

341-
# Disable minimal memory checks for HANA. Useful to deploy development clusters.
342-
# Low memory usage can cause a failed deployment. Be aware that this option does
343-
# not work with any memory size and will most likely fail with less than 16 GiB
344-
#hana_ignore_min_mem_check = false
341+
# This map allows to add any extra parameters to the HANA installation (inside the installation configfile).
342+
# For more details about the parameters, have a look at the Parameter Reference, e.g.
343+
# https://help.sap.com/docs/SAP_HANA_PLATFORM/2c1988d620e04368aa4103bf26f17727/c16432a77b6144dcb75aace2b4fcacff.html
344+
# Some examples:
345+
#hana_extra_parameters = {
346+
# # needed for HANA 2.0 >= SPS07 as
347+
# # the local secure store component (LSS) can only be installed in optimized installation mode.
348+
# install_execution_mode = "optimized",
349+
# # Disable minimal memory checks for HANA. Useful to deploy development clusters.
350+
# # Low memory usage can cause a failed deployment. Be aware that this option does
351+
# # not work with any memory size and will most likely fail with less than 16 GiB
352+
# ignore = "check_min_mem"
353+
#}
345354

346355
# Each host IP address (sequential order). If it's not set the addresses will be auto generated from the provided vnet address range
347356
#hana_ips = ["10.74.1.11", "10.74.1.12"]

azure/variables.tf

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -504,10 +504,20 @@ variable "hana_cluster_vip_secondary" {
504504
}
505505
}
506506

507-
variable "hana_ignore_min_mem_check" {
508-
description = "Disable the min mem check imposed by hana allowing it to run with under 24 GiB"
509-
type = bool
510-
default = false
507+
variable "hana_extra_parameters" {
508+
type = map(any)
509+
default = {}
510+
description = <<EOF
511+
This map allows to add any extra parameters to the HANA installation (inside the installation configfile).
512+
For more details about the parameters, have a look at the Parameter Reference, e.g.
513+
https://help.sap.com/docs/SAP_HANA_PLATFORM/2c1988d620e04368aa4103bf26f17727/c16432a77b6144dcb75aace2b4fcacff.html
514+
515+
Some examples:
516+
hana_extra_parameters = {
517+
ignore = "check_min_mem",
518+
install_execution_mode = "optimized"
519+
}
520+
EOF
511521
}
512522

513523
variable "scenario_type" {

gcp/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ module "common_variables" {
127127
hana_cluster_vip = local.hana_cluster_vip
128128
hana_cluster_vip_secondary = var.hana_active_active ? local.hana_cluster_vip_secondary : ""
129129
hana_ha_enabled = var.hana_ha_enabled
130-
hana_ignore_min_mem_check = var.hana_ignore_min_mem_check
130+
hana_extra_parameters = var.hana_extra_parameters
131131
hana_cluster_fencing_mechanism = var.hana_cluster_fencing_mechanism
132132
hana_sbd_storage_type = var.sbd_storage_type
133133
hana_scale_out_enabled = var.hana_scale_out_enabled

gcp/terraform.tfvars.example

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,10 +261,19 @@ hana_count = "2"
261261
# Enable system replication and HA cluster
262262
#hana_ha_enabled = true
263263

264-
# Disable minimal memory checks for HANA. Useful to deploy development clusters.
265-
# Low memory usage can cause a failed deployment. Be aware that this option does
266-
# not work with any memory size and will most likely fail with less than 16 GiB
267-
#hana_ignore_min_mem_check = false
264+
# This map allows to add any extra parameters to the HANA installation (inside the installation configfile).
265+
# For more details about the parameters, have a look at the Parameter Reference, e.g.
266+
# https://help.sap.com/docs/SAP_HANA_PLATFORM/2c1988d620e04368aa4103bf26f17727/c16432a77b6144dcb75aace2b4fcacff.html
267+
# Some examples:
268+
#hana_extra_parameters = {
269+
# # needed for HANA 2.0 >= SPS07 as
270+
# # the local secure store component (LSS) can only be installed in optimized installation mode.
271+
# install_execution_mode = "optimized",
272+
# # Disable minimal memory checks for HANA. Useful to deploy development clusters.
273+
# # Low memory usage can cause a failed deployment. Be aware that this option does
274+
# # not work with any memory size and will most likely fail with less than 16 GiB
275+
# ignore = "check_min_mem"
276+
#}
268277

269278
# Select HANA cluster fencing mechanism. 'native' by default
270279
# Find more information in `doc/fencing.md` documentation page

gcp/variables.tf

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -473,10 +473,20 @@ variable "hana_cluster_vip_secondary" {
473473
}
474474
}
475475

476-
variable "hana_ignore_min_mem_check" {
477-
description = "Disable the min mem check imposed by hana allowing it to run with under 24 GiB"
478-
type = bool
479-
default = false
476+
variable "hana_extra_parameters" {
477+
type = map(any)
478+
default = {}
479+
description = <<EOF
480+
This map allows to add any extra parameters to the HANA installation (inside the installation configfile).
481+
For more details about the parameters, have a look at the Parameter Reference, e.g.
482+
https://help.sap.com/docs/SAP_HANA_PLATFORM/2c1988d620e04368aa4103bf26f17727/c16432a77b6144dcb75aace2b4fcacff.html
483+
484+
Some examples:
485+
hana_extra_parameters = {
486+
ignore = "check_min_mem",
487+
install_execution_mode = "optimized"
488+
}
489+
EOF
480490
}
481491

482492
variable "scenario_type" {

0 commit comments

Comments
 (0)