From 2384373b9f0f833c875aef4cfff9003ef6f08d31 Mon Sep 17 00:00:00 2001 From: sean-freeman <1815807+sean-freeman@users.noreply.github.com> Date: Wed, 31 Jan 2024 02:23:22 +0000 Subject: [PATCH] fix: storage revision 5 --- .../gcp_ce_vm/variable_map_hosts.tf | 131 ++++---- .../gcp_ce_vm/variable_map_hosts.tf | 131 ++++---- .../gcp_ce_vm/variable_map_hosts.tf | 101 +++--- .../gcp_ce_vm/variable_map_hosts.tf | 101 +++--- .../gcp_ce_vm/variable_map_hosts.tf | 101 +++--- .../gcp_ce_vm/variable_map_hosts.tf | 101 +++--- .../gcp_ce_vm/variable_map_hosts.tf | 131 ++++---- .../gcp_ce_vm/variable_map_hosts.tf | 131 ++++---- .../gcp_ce_vm/variable_map_hosts.tf | 99 +++--- .../gcp_ce_vm/variable_map_hosts.tf | 101 +++--- .../gcp_ce_vm/variable_map_hosts.tf | 101 +++--- .../gcp_ce_vm/variable_map_hosts.tf | 101 +++--- .../gcp_ce_vm/variable_map_hosts.tf | 101 +++--- .../gcp_ce_vm/variable_map_hosts.tf | 101 +++--- .../gcp_ce_vm/variable_map_hosts.tf | 318 +++++++++--------- .../gcp_ce_vm/variable_map_hosts.tf | 131 ++++---- .../gcp_ce_vm/variable_map_hosts.tf | 131 ++++---- .../gcp_ce_vm/variable_map_hosts.tf | 101 +++--- .../gcp_ce_vm/variable_map_hosts.tf | 131 ++++---- 19 files changed, 1200 insertions(+), 1144 deletions(-) diff --git a/sap_bw4hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf b/sap_bw4hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf index 6a75e2f..2b0db2a 100644 --- a/sap_bw4hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_bw4hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,73 +9,74 @@ variable "map_host_specifications" { small_256gb = { - hana01 = { - virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 1 - disk_volume_type_hana_data = "pd-ssd" - disk_volume_capacity_hana_data = 384 - #disk_volume_iops_hana_data = - lvm_enable_hana_data = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_data = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_data = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_data = "xfs" - physical_partition_filesystem_block_size_hana_data = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_log = 1 - disk_volume_type_hana_log = "pd-ssd" - disk_volume_capacity_hana_log = 128 - #disk_volume_iops_hana_log = - lvm_enable_hana_log = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_log = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_log = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_log = "xfs" - physical_partition_filesystem_block_size_hana_log = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_shared = 1 - disk_volume_type_hana_shared = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_hana_shared = 320 - #disk_volume_iops_hana_shared = - lvm_enable_hana_shared = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_shared = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_shared = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_shared = "xfs" - physical_partition_filesystem_block_size_hana_shared = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_anydb = 0 - - disk_volume_count_usr_sap = 0 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 64 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 0 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 50 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = false - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 32 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + hana01 = { // Hostname + virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory + storage_definition = [ + { + name = "hana_data" + mountpoint = "/hana/data" + disk_size = 384 + disk_type = "pd-ssd" + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "hana_log" + mountpoint = "/hana/log" + disk_size = 128 + disk_type = "pd-ssd" + filesystem_type = "xfs" + }, + { + name = "hana_shared" + mountpoint = "/hana/shared" + disk_size = 320 + disk_type = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + filesystem_type = "xfs" + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + swap_path = "/swapfile" + disk_size = 2 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_ecc_hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf b/sap_ecc_hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf index 17f48aa..0da585c 100644 --- a/sap_ecc_hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_ecc_hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,73 +9,74 @@ variable "map_host_specifications" { small_256gb = { - hana01 = { - virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 1 - disk_volume_type_hana_data = "pd-ssd" - disk_volume_capacity_hana_data = 384 - #disk_volume_iops_hana_data = - lvm_enable_hana_data = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_data = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_data = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_data = "xfs" - physical_partition_filesystem_block_size_hana_data = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_log = 1 - disk_volume_type_hana_log = "pd-ssd" - disk_volume_capacity_hana_log = 128 - #disk_volume_iops_hana_log = - lvm_enable_hana_log = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_log = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_log = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_log = "xfs" - physical_partition_filesystem_block_size_hana_log = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_shared = 1 - disk_volume_type_hana_shared = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_hana_shared = 320 - #disk_volume_iops_hana_shared = - lvm_enable_hana_shared = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_shared = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_shared = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_shared = "xfs" - physical_partition_filesystem_block_size_hana_shared = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_anydb = 0 - - disk_volume_count_usr_sap = 0 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 64 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 0 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 50 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = false - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 32 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + hana01 = { // Hostname + virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory + storage_definition = [ + { + name = "hana_data" + mountpoint = "/hana/data" + disk_size = 384 + disk_type = "pd-ssd" + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "hana_log" + mountpoint = "/hana/log" + disk_size = 128 + disk_type = "pd-ssd" + filesystem_type = "xfs" + }, + { + name = "hana_shared" + mountpoint = "/hana/shared" + disk_size = 320 + disk_type = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + filesystem_type = "xfs" + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + swap_path = "/swapfile" + disk_size = 2 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_ecc_ibmdb2_single_node_install/gcp_ce_vm/variable_map_hosts.tf b/sap_ecc_ibmdb2_single_node_install/gcp_ce_vm/variable_map_hosts.tf index 45f9188..f97b4b5 100644 --- a/sap_ecc_ibmdb2_single_node_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_ecc_ibmdb2_single_node_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,56 +9,61 @@ variable "map_host_specifications" { small_32vcpu = { - ecc01 = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 0 - - disk_volume_count_anydb = 2 - disk_volume_type_anydb = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_anydb = 320 - #disk_volume_iops_anydb = - lvm_enable_anydb = true // if false, then disk volume count should be 1 - lvm_pv_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - lvm_vg_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - lvm_vg_physical_extent_size_anydb = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - lvm_lv_stripe_size_anydb = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_mount_path_anydb = "/db2" - filesystem_anydb = "xfs" - physical_partition_filesystem_block_size_anydb = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 256 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 1 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 64 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + ecc01 = { // Hostname + virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory + storage_definition = [ + { + name = "db2" + mountpoint = "/db2" + disk_count = 2 + disk_size = 320 + disk_type = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 136 // minimum 128GB swap for IBM DB2 LUW + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_ecc_oracledb_single_node_install/gcp_ce_vm/variable_map_hosts.tf b/sap_ecc_oracledb_single_node_install/gcp_ce_vm/variable_map_hosts.tf index 6657d7d..4928c6e 100644 --- a/sap_ecc_oracledb_single_node_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_ecc_oracledb_single_node_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,56 +9,61 @@ variable "map_host_specifications" { small_32vcpu = { - ecc01 = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 0 - - disk_volume_count_anydb = 2 - disk_volume_type_anydb = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_anydb = 320 - #disk_volume_iops_anydb = - lvm_enable_anydb = true // if false, then disk volume count should be 1 - lvm_pv_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - lvm_vg_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - lvm_vg_physical_extent_size_anydb = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - lvm_lv_stripe_size_anydb = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_mount_path_anydb = "/oracle" - filesystem_anydb = "xfs" - physical_partition_filesystem_block_size_anydb = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 256 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 1 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 64 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + ecc01 = { // Hostname + virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory + storage_definition = [ + { + name = "oracle" + mountpoint = "/oracle" + disk_count = 2 + disk_size = 224 + disk_type = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 136 // minimum 128GB swap for Oracle DB + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_ecc_sapase_single_node_install/gcp_ce_vm/variable_map_hosts.tf b/sap_ecc_sapase_single_node_install/gcp_ce_vm/variable_map_hosts.tf index 13a9fdb..440d074 100644 --- a/sap_ecc_sapase_single_node_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_ecc_sapase_single_node_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,56 +9,61 @@ variable "map_host_specifications" { small_32vcpu = { - ecc01 = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 0 - - disk_volume_count_anydb = 2 - disk_volume_type_anydb = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_anydb = 320 - #disk_volume_iops_anydb = - lvm_enable_anydb = true // if false, then disk volume count should be 1 - lvm_pv_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - lvm_vg_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - lvm_vg_physical_extent_size_anydb = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - lvm_lv_stripe_size_anydb = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_mount_path_anydb = "/sybase" - filesystem_anydb = "xfs" - physical_partition_filesystem_block_size_anydb = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 256 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 1 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 64 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + ecc01 = { // Hostname + virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory + storage_definition = [ + { + name = "sybase" + mountpoint = "/sybase" + disk_count = 2 + disk_size = 224 + disk_type = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 64 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_ecc_sapmaxdb_single_node_install/gcp_ce_vm/variable_map_hosts.tf b/sap_ecc_sapmaxdb_single_node_install/gcp_ce_vm/variable_map_hosts.tf index 8708cec..2e70b37 100644 --- a/sap_ecc_sapmaxdb_single_node_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_ecc_sapmaxdb_single_node_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,56 +9,61 @@ variable "map_host_specifications" { small_32vcpu = { - ecc01 = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 0 - - disk_volume_count_anydb = 2 - disk_volume_type_anydb = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_anydb = 320 - #disk_volume_iops_anydb = - lvm_enable_anydb = true // if false, then disk volume count should be 1 - lvm_pv_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - lvm_vg_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - lvm_vg_physical_extent_size_anydb = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - lvm_lv_stripe_size_anydb = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_mount_path_anydb = "/sapdb" - filesystem_anydb = "xfs" - physical_partition_filesystem_block_size_anydb = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 256 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 1 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 64 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + ecc01 = { // Hostname + virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory + storage_definition = [ + { + name = "maxdb" + mountpoint = "/sapdb" + disk_count = 2 + disk_size = 224 + disk_type = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 64 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf b/sap_hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf index d834ffc..d813600 100644 --- a/sap_hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,73 +9,74 @@ variable "map_host_specifications" { small_256gb = { - hana01 = { - virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 1 - disk_volume_type_hana_data = "pd-ssd" - disk_volume_capacity_hana_data = 384 - #disk_volume_iops_hana_data = - lvm_enable_hana_data = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_data = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_data = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_data = "xfs" - physical_partition_filesystem_block_size_hana_data = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_log = 1 - disk_volume_type_hana_log = "pd-ssd" - disk_volume_capacity_hana_log = 128 - #disk_volume_iops_hana_log = - lvm_enable_hana_log = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_log = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_log = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_log = "xfs" - physical_partition_filesystem_block_size_hana_log = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_shared = 1 - disk_volume_type_hana_shared = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_hana_shared = 320 - #disk_volume_iops_hana_shared = - lvm_enable_hana_shared = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_shared = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_shared = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_shared = "xfs" - physical_partition_filesystem_block_size_hana_shared = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_anydb = 0 - - disk_volume_count_usr_sap = 0 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 64 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 0 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 50 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = false - - disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 0 // max of 1 - #disk_volume_type_swap = "pd-standard" - #disk_volume_capacity_swap = 10 - #filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + hana01 = { // Hostname + virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory + storage_definition = [ + { + name = "hana_data" + mountpoint = "/hana/data" + disk_size = 384 + disk_type = "pd-ssd" + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "hana_log" + mountpoint = "/hana/log" + disk_size = 128 + disk_type = "pd-ssd" + filesystem_type = "xfs" + }, + { + name = "hana_shared" + mountpoint = "/hana/shared" + disk_size = 320 + disk_type = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + filesystem_type = "xfs" + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + swap_path = "/swapfile" + disk_size = 2 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_nwas_abap_hana_install/gcp_ce_vm/variable_map_hosts.tf b/sap_nwas_abap_hana_install/gcp_ce_vm/variable_map_hosts.tf index 2bf6c07..cd818fb 100644 --- a/sap_nwas_abap_hana_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_nwas_abap_hana_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,73 +9,74 @@ variable "map_host_specifications" { small_256gb = { - hana01 = { - virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 1 - disk_volume_type_hana_data = "pd-ssd" - disk_volume_capacity_hana_data = 384 - #disk_volume_iops_hana_data = - lvm_enable_hana_data = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_data = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_data = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_data = "xfs" - physical_partition_filesystem_block_size_hana_data = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_log = 1 - disk_volume_type_hana_log = "pd-ssd" - disk_volume_capacity_hana_log = 128 - #disk_volume_iops_hana_log = - lvm_enable_hana_log = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_log = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_log = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_log = "xfs" - physical_partition_filesystem_block_size_hana_log = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_shared = 1 - disk_volume_type_hana_shared = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_hana_shared = 320 - #disk_volume_iops_hana_shared = - lvm_enable_hana_shared = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_shared = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_shared = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_shared = "xfs" - physical_partition_filesystem_block_size_hana_shared = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_anydb = 0 - - disk_volume_count_usr_sap = 0 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 64 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 0 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 50 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = false - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 32 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + hana01 = { // Hostname + virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory + storage_definition = [ + { + name = "hana_data" + mountpoint = "/hana/data" + disk_size = 384 + disk_type = "pd-ssd" + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "hana_log" + mountpoint = "/hana/log" + disk_size = 128 + disk_type = "pd-ssd" + filesystem_type = "xfs" + }, + { + name = "hana_shared" + mountpoint = "/hana/shared" + disk_size = 320 + disk_type = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + filesystem_type = "xfs" + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + swap_path = "/swapfile" + disk_size = 2 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_nwas_abap_ibmdb2_install/gcp_ce_vm/variable_map_hosts.tf b/sap_nwas_abap_ibmdb2_install/gcp_ce_vm/variable_map_hosts.tf index 776584f..e5df207 100644 --- a/sap_nwas_abap_ibmdb2_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_nwas_abap_ibmdb2_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,54 +9,61 @@ variable "map_host_specifications" { small_32vcpu = { - nw01 = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 2 - disk_volume_type_anydb = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_anydb = 320 - #disk_volume_iops_anydb = - lvm_enable_anydb = true // if false, then disk volume count should be 1 - lvm_pv_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - lvm_vg_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - lvm_vg_physical_extent_size_anydb = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - lvm_lv_stripe_size_anydb = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_mount_path_anydb = "/db2" - filesystem_anydb = "xfs" - physical_partition_filesystem_block_size_anydb = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 256 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 1 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 64 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + nw01 = { // Hostname + virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory + storage_definition = [ + { + name = "db2" + mountpoint = "/db2" + disk_count = 2 + disk_size = 320 + disk_type = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 136 // minimum 128GB swap for IBM DB2 LUW + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_nwas_abap_oracledb_install/gcp_ce_vm/variable_map_hosts.tf b/sap_nwas_abap_oracledb_install/gcp_ce_vm/variable_map_hosts.tf index 96a0f86..367cdf6 100644 --- a/sap_nwas_abap_oracledb_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_nwas_abap_oracledb_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,56 +9,61 @@ variable "map_host_specifications" { small_32vcpu = { - nw01 = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 0 - - disk_volume_count_anydb = 2 - disk_volume_type_anydb = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_anydb = 320 - #disk_volume_iops_anydb = - lvm_enable_anydb = true // if false, then disk volume count should be 1 - lvm_pv_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - lvm_vg_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - lvm_vg_physical_extent_size_anydb = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - lvm_lv_stripe_size_anydb = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_mount_path_anydb = "/oracle" - filesystem_anydb = "xfs" - physical_partition_filesystem_block_size_anydb = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 256 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 1 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 64 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + nw01 = { // Hostname + ec2_instance_type = "m5.8xlarge" + storage_definition = [ + { + name = "oracle" + mountpoint = "/oracle" + disk_count = 2 + disk_size = 320 + disk_type = "gp3" + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "gp3" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "gp3" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 136 // minimum 128GB swap for Oracle DB + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "gp3" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_nwas_abap_sapase_install/gcp_ce_vm/variable_map_hosts.tf b/sap_nwas_abap_sapase_install/gcp_ce_vm/variable_map_hosts.tf index 2cb1ed1..c35da52 100644 --- a/sap_nwas_abap_sapase_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_nwas_abap_sapase_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,56 +9,61 @@ variable "map_host_specifications" { small_32vcpu = { - nw01 = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 0 - - disk_volume_count_anydb = 2 - disk_volume_type_anydb = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_anydb = 320 - #disk_volume_iops_anydb = - lvm_enable_anydb = true // if false, then disk volume count should be 1 - lvm_pv_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - lvm_vg_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - lvm_vg_physical_extent_size_anydb = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - lvm_lv_stripe_size_anydb = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_mount_path_anydb = "/sybase" - filesystem_anydb = "xfs" - physical_partition_filesystem_block_size_anydb = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 256 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 1 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 64 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + nw01 = { // Hostname + virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory + storage_definition = [ + { + name = "sybase" + mountpoint = "/sybase" + disk_count = 2 + disk_size = 224 + disk_type = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 64 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_nwas_abap_sapmaxdb_install/gcp_ce_vm/variable_map_hosts.tf b/sap_nwas_abap_sapmaxdb_install/gcp_ce_vm/variable_map_hosts.tf index e458329..dc3fd3e 100644 --- a/sap_nwas_abap_sapmaxdb_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_nwas_abap_sapmaxdb_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,56 +9,61 @@ variable "map_host_specifications" { small_32vcpu = { - nw01 = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 0 - - disk_volume_count_anydb = 2 - disk_volume_type_anydb = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_anydb = 320 - #disk_volume_iops_anydb = - lvm_enable_anydb = true // if false, then disk volume count should be 1 - lvm_pv_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - lvm_vg_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - lvm_vg_physical_extent_size_anydb = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - lvm_lv_stripe_size_anydb = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_mount_path_anydb = "/sapdb" - filesystem_anydb = "xfs" - physical_partition_filesystem_block_size_anydb = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 256 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 1 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 64 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + nw01 = { // Hostname + virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory + storage_definition = [ + { + name = "maxdb" + mountpoint = "/sapdb" + disk_count = 2 + disk_size = 224 + disk_type = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 64 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_nwas_java_ibmdb2_install/gcp_ce_vm/variable_map_hosts.tf b/sap_nwas_java_ibmdb2_install/gcp_ce_vm/variable_map_hosts.tf index d857c8e..9069c45 100644 --- a/sap_nwas_java_ibmdb2_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_nwas_java_ibmdb2_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,56 +9,61 @@ variable "map_host_specifications" { small_32vcpu = { - nw01 = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 0 - - disk_volume_count_anydb = 2 - disk_volume_type_anydb = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_anydb = 320 - #disk_volume_iops_anydb = - lvm_enable_anydb = true // if false, then disk volume count should be 1 - lvm_pv_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - lvm_vg_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - lvm_vg_physical_extent_size_anydb = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - lvm_lv_stripe_size_anydb = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_mount_path_anydb = "/db2" - filesystem_anydb = "xfs" - physical_partition_filesystem_block_size_anydb = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 256 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 1 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 64 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + nw01 = { // Hostname + virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory + storage_definition = [ + { + name = "db2" + mountpoint = "/db2" + disk_count = 2 + disk_size = 320 + disk_type = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 136 // minimum 128GB swap for IBM DB2 LUW + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_nwas_java_sapase_install/gcp_ce_vm/variable_map_hosts.tf b/sap_nwas_java_sapase_install/gcp_ce_vm/variable_map_hosts.tf index 092a1b3..26ced51 100644 --- a/sap_nwas_java_sapase_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_nwas_java_sapase_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,56 +9,61 @@ variable "map_host_specifications" { small_32vcpu = { - nw01 = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 0 - - disk_volume_count_anydb = 2 - disk_volume_type_anydb = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_anydb = 320 - #disk_volume_iops_anydb = - lvm_enable_anydb = true // if false, then disk volume count should be 1 - lvm_pv_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - lvm_vg_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - lvm_vg_physical_extent_size_anydb = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - lvm_lv_stripe_size_anydb = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_mount_path_anydb = "/sybase" - filesystem_anydb = "xfs" - physical_partition_filesystem_block_size_anydb = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 256 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 1 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 64 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + nw01 = { // Hostname + virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory + storage_definition = [ + { + name = "sybase" + mountpoint = "/sybase" + disk_count = 2 + disk_size = 224 + disk_type = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 64 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_s4hana_distributed_install/gcp_ce_vm/variable_map_hosts.tf b/sap_s4hana_distributed_install/gcp_ce_vm/variable_map_hosts.tf index 0d186d1..ce9fbf1 100644 --- a/sap_s4hana_distributed_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_s4hana_distributed_install/gcp_ce_vm/variable_map_hosts.tf @@ -10,186 +10,178 @@ variable "map_host_specifications" { small_256gb = { hana-p = { // Hostname - virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 1 - disk_volume_type_hana_data = "pd-ssd" - disk_volume_capacity_hana_data = 384 - #disk_volume_iops_hana_data = - lvm_enable_hana_data = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_data = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_data = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_data = "xfs" - physical_partition_filesystem_block_size_hana_data = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_log = 1 - disk_volume_type_hana_log = "pd-ssd" - disk_volume_capacity_hana_log = 128 - #disk_volume_iops_hana_log = - lvm_enable_hana_log = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_log = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_log = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_log = "xfs" - physical_partition_filesystem_block_size_hana_log = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_shared = 1 - disk_volume_type_hana_shared = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_hana_shared = 320 - #disk_volume_iops_hana_shared = - lvm_enable_hana_shared = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_shared = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_shared = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_shared = "xfs" - physical_partition_filesystem_block_size_hana_shared = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_anydb = 0 - - disk_volume_count_usr_sap = 0 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 64 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 0 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 50 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = false - - disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 0 // max of 1 - #disk_volume_type_swap = "pd-standard" - #disk_volume_capacity_swap = 10 - #filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory + storage_definition = [ + { + name = "hana_data" + mountpoint = "/hana/data" + disk_size = 384 + disk_type = "pd-ssd" + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "hana_log" + mountpoint = "/hana/log" + disk_size = 128 + disk_type = "pd-ssd" + filesystem_type = "xfs" + }, + { + name = "hana_shared" + mountpoint = "/hana/shared" + disk_size = 320 + disk_type = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + filesystem_type = "xfs" + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + swap_path = "/swapfile" + disk_size = 2 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] }, nw-ascs = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 0 - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 64 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 0 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 96 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory + storage_definition = [ + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 64 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] }, nw-pas = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 0 - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 64 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 0 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 96 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 300 + virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory + storage_definition = [ + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 64 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] }, nw-aas = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 0 - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 64 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 0 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 96 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory + storage_definition = [ + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 64 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - - - - - - - diff --git a/sap_s4hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf b/sap_s4hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf index 883ea34..da09be7 100644 --- a/sap_s4hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_s4hana_single_node_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,73 +9,74 @@ variable "map_host_specifications" { small_256gb = { - hana01 = { - virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 1 - disk_volume_type_hana_data = "pd-ssd" - disk_volume_capacity_hana_data = 384 - #disk_volume_iops_hana_data = - lvm_enable_hana_data = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_data = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_data = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_data = "xfs" - physical_partition_filesystem_block_size_hana_data = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_log = 1 - disk_volume_type_hana_log = "pd-ssd" - disk_volume_capacity_hana_log = 128 - #disk_volume_iops_hana_log = - lvm_enable_hana_log = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_log = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_log = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_log = "xfs" - physical_partition_filesystem_block_size_hana_log = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_shared = 1 - disk_volume_type_hana_shared = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_hana_shared = 320 - #disk_volume_iops_hana_shared = - lvm_enable_hana_shared = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_shared = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_shared = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_shared = "xfs" - physical_partition_filesystem_block_size_hana_shared = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_anydb = 0 - - disk_volume_count_usr_sap = 0 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 64 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 0 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 50 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = false - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 32 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + hana01 = { // Hostname + virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory + storage_definition = [ + { + name = "hana_data" + mountpoint = "/hana/data" + disk_size = 384 + disk_type = "pd-ssd" + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "hana_log" + mountpoint = "/hana/log" + disk_size = 128 + disk_type = "pd-ssd" + filesystem_type = "xfs" + }, + { + name = "hana_shared" + mountpoint = "/hana/shared" + disk_size = 320 + disk_type = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + filesystem_type = "xfs" + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + swap_path = "/swapfile" + disk_size = 2 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_s4hana_single_node_install_maintenance_plan/gcp_ce_vm/variable_map_hosts.tf b/sap_s4hana_single_node_install_maintenance_plan/gcp_ce_vm/variable_map_hosts.tf index 883ea34..da09be7 100644 --- a/sap_s4hana_single_node_install_maintenance_plan/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_s4hana_single_node_install_maintenance_plan/gcp_ce_vm/variable_map_hosts.tf @@ -9,73 +9,74 @@ variable "map_host_specifications" { small_256gb = { - hana01 = { - virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 1 - disk_volume_type_hana_data = "pd-ssd" - disk_volume_capacity_hana_data = 384 - #disk_volume_iops_hana_data = - lvm_enable_hana_data = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_data = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_data = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_data = "xfs" - physical_partition_filesystem_block_size_hana_data = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_log = 1 - disk_volume_type_hana_log = "pd-ssd" - disk_volume_capacity_hana_log = 128 - #disk_volume_iops_hana_log = - lvm_enable_hana_log = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_log = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_log = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_log = "xfs" - physical_partition_filesystem_block_size_hana_log = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_shared = 1 - disk_volume_type_hana_shared = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_hana_shared = 320 - #disk_volume_iops_hana_shared = - lvm_enable_hana_shared = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_shared = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_shared = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_shared = "xfs" - physical_partition_filesystem_block_size_hana_shared = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_anydb = 0 - - disk_volume_count_usr_sap = 0 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 64 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 0 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 50 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = false - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 32 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + hana01 = { // Hostname + virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory + storage_definition = [ + { + name = "hana_data" + mountpoint = "/hana/data" + disk_size = 384 + disk_type = "pd-ssd" + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "hana_log" + mountpoint = "/hana/log" + disk_size = 128 + disk_type = "pd-ssd" + filesystem_type = "xfs" + }, + { + name = "hana_shared" + mountpoint = "/hana/shared" + disk_size = 320 + disk_type = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + filesystem_type = "xfs" + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + swap_path = "/swapfile" + disk_size = 2 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 100 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_solman_sapase_single_node_install/gcp_ce_vm/variable_map_hosts.tf b/sap_solman_sapase_single_node_install/gcp_ce_vm/variable_map_hosts.tf index 092a1b3..0cf1598 100644 --- a/sap_solman_sapase_single_node_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_solman_sapase_single_node_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,56 +9,61 @@ variable "map_host_specifications" { small_32vcpu = { - nw01 = { // Hostname - virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 0 - - disk_volume_count_hana_log = 0 - - disk_volume_count_hana_shared = 0 - - disk_volume_count_anydb = 0 - - disk_volume_count_anydb = 2 - disk_volume_type_anydb = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_anydb = 320 - #disk_volume_iops_anydb = - lvm_enable_anydb = true // if false, then disk volume count should be 1 - lvm_pv_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - lvm_vg_data_alignment_anydb = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - lvm_vg_physical_extent_size_anydb = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - lvm_lv_stripe_size_anydb = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_mount_path_anydb = "/sybase" - filesystem_anydb = "xfs" - physical_partition_filesystem_block_size_anydb = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_usr_sap = 1 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 256 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 1 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 56 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = true - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 64 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + nw01 = { // Hostname + virtual_machine_profile = "n2-standard-32" // 32 vCPU, 128GB Memory + storage_definition = [ + { + name = "sybase" + mountpoint = "/sybase" + disk_count = 2 + disk_size = 224 + disk_type = "pd-standard" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + mountpoint = "/swap" + disk_size = 64 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 200 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } - diff --git a/sap_solman_saphana_single_node_install/gcp_ce_vm/variable_map_hosts.tf b/sap_solman_saphana_single_node_install/gcp_ce_vm/variable_map_hosts.tf index 2bf6c07..8d35703 100644 --- a/sap_solman_saphana_single_node_install/gcp_ce_vm/variable_map_hosts.tf +++ b/sap_solman_saphana_single_node_install/gcp_ce_vm/variable_map_hosts.tf @@ -9,73 +9,74 @@ variable "map_host_specifications" { small_256gb = { - hana01 = { - virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory - - // N.B. all capacities must be different from each other, due to Shell loop searching based on capacity GB - - disk_volume_count_hana_data = 1 - disk_volume_type_hana_data = "pd-ssd" - disk_volume_capacity_hana_data = 384 - #disk_volume_iops_hana_data = - lvm_enable_hana_data = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_data = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_data = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_data = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_data = "xfs" - physical_partition_filesystem_block_size_hana_data = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_log = 1 - disk_volume_type_hana_log = "pd-ssd" - disk_volume_capacity_hana_log = 128 - #disk_volume_iops_hana_log = - lvm_enable_hana_log = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_log = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_log = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_log = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_log = "xfs" - physical_partition_filesystem_block_size_hana_log = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_hana_shared = 1 - disk_volume_type_hana_shared = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) - disk_volume_capacity_hana_shared = 320 - #disk_volume_iops_hana_shared = - lvm_enable_hana_shared = false // if false, then disk volume count should be 1 - #lvm_pv_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM PV Physical Extent. - #lvm_vg_data_alignment_hana_shared = "1M" //default 1MiB offset from disk start before first LVM VG Physical Extent. - #lvm_vg_physical_extent_size_hana_shared = "4M" //default 4MiB, difficult to change once set. Akin to Physical Block Size. - #lvm_lv_stripe_size_hana_shared = "64K" //default 64KiB. Akin to Virtualized Block Size. - filesystem_hana_shared = "xfs" - physical_partition_filesystem_block_size_hana_shared = "4k" // only if LVM is set to false; if XFS then only 4k value allowed otherwise will be overridden (see README about XFS and Page Size) - - disk_volume_count_anydb = 0 - - disk_volume_count_usr_sap = 0 // max of 1 - disk_volume_type_usr_sap = "pd-standard" - disk_volume_capacity_usr_sap = 64 - filesystem_usr_sap = "xfs" - - disk_volume_count_sapmnt = 0 // max of 1 - disk_volume_type_sapmnt = "pd-standard" - disk_volume_capacity_sapmnt = 50 - filesystem_sapmnt = "xfs" - nfs_boolean_sapmnt = false - - #disk_swapfile_size_gb = 2 // not required if disk volume set - disk_volume_count_swap = 1 // max of 1 - disk_volume_type_swap = "pd-standard" - disk_volume_capacity_swap = 32 - filesystem_swap = "xfs" - - disk_volume_type_software = "pd-standard" - disk_volume_capacity_software = 100 + hana01 = { // Hostname + virtual_machine_profile = "n2-highmem-32" // 32 vCPU, 256GB Memory + storage_definition = [ + { + name = "hana_data" + mountpoint = "/hana/data" + disk_size = 384 + disk_type = "pd-ssd" + #disk_iops = + filesystem_type = "xfs" + #lvm_lv_name = + #lvm_lv_stripes = + #lvm_lv_stripe_size = + #lvm_vg_name = + #lvm_vg_options = + #lvm_vg_physical_extent_size = + #lvm_pv_device = + #lvm_pv_options = + #nfs_path = + #nfs_server = + #nfs_filesystem_type = + #nfs_mount_options = + }, + { + name = "hana_log" + mountpoint = "/hana/log" + disk_size = 128 + disk_type = "pd-ssd" + filesystem_type = "xfs" + }, + { + name = "hana_shared" + mountpoint = "/hana/shared" + disk_size = 320 + disk_type = "pd-balanced" // Uses Burst IOPS for storage. May increase costs if there is consistent heavy usage (e.g. longer than 30mins burst, such as 200GB+ DB Backup Restore) + filesystem_type = "xfs" + }, + { + name = "usr_sap" + mountpoint = "/usr/sap" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "sapmnt" + mountpoint = "/sapmnt" + disk_size = 96 + disk_type = "pd-standard" + filesystem_type = "xfs" + }, + { + name = "swap" + swap_path = "/swapfile" + disk_size = 2 + filesystem_type = "swap" + }, + { + name = "software" + mountpoint = "/software" + disk_size = 200 + disk_type = "pd-standard" + filesystem_type = "xfs" + } + ] } - } + } } - } -