|
| 1 | +--- |
| 2 | + |
| 3 | +#### |
| 4 | +# Infrastructure Provisioning selection |
| 5 | +# AWS |
| 6 | +# |
| 7 | +# Only for use when 'aws_ec2_vs' is value provided for variable sap_vm_provision_iac_platform |
| 8 | +#### |
| 9 | + |
| 10 | +sap_vm_provision_aws_access_key: "ENTER_STRING_VALUE_HERE" |
| 11 | +sap_vm_provision_aws_secret_access_key: "ENTER_STRING_VALUE_HERE" |
| 12 | +sap_vm_provision_aws_region: "{{ sap_vm_provision_aws_vpc_availability_zone[:-1] }}" |
| 13 | +sap_vm_provision_aws_vpc_availability_zone: "ENTER_STRING_VALUE_HERE" |
| 14 | +sap_vm_provision_aws_vpc_subnet_create_boolean: "{{ true | default(false) if aws_vpc_subnet_id == 'new' else false }}" |
| 15 | +sap_vm_provision_aws_vpc_subnet_id: "ENTER_STRING_VALUE_HERE" # if ansible_to_terraform, use "new" |
| 16 | +sap_vm_provision_aws_ec2_vs_host_os_image: "ENTER_STRING_VALUE_HERE" |
| 17 | +sap_vm_provision_bastion_user: "ENTER_STRING_VALUE_HERE" |
| 18 | +sap_vm_provision_bastion_ssh_port: "ENTER_STRING_VALUE_HERE" |
| 19 | + |
| 20 | +# Only for use when 'ansible' is value provided for variable sap_vm_provision_iac_type |
| 21 | +#### |
| 22 | +sap_vm_provision_bastion_public_ip: "ENTER_STRING_VALUE_HERE" |
| 23 | +sap_vm_provision_ssh_bastion_private_key_file_path: "ENTER_STRING_VALUE_HERE" |
| 24 | +sap_vm_provision_ssh_host_private_key_file_path: "ENTER_STRING_VALUE_HERE" |
| 25 | +sap_vm_provision_aws_key_pair_name_ssh_host_public_key: "ENTER_STRING_VALUE_HERE" |
| 26 | +sap_vm_provision_aws_vpc_sg_names: "ENTER_STRING_VALUE_HERE" |
| 27 | +# sap_vm_provision_aws_dns_overwrite: 'true' # enable to allow overwrite of existing DNS entries |
| 28 | + |
| 29 | +# Variables required for sap_vm_provision_iac_type=ansible_to_terraform |
| 30 | +# sap_vm_provision_terraform_state: "ENTER_STRING_VALUE_HERE" # present, absent |
| 31 | +# sap_vm_provision_resource_prefix: "ENTER_STRING_VALUE_HERE" |
| 32 | +# sap_vm_provision_bastion_os_image: "ENTER_STRING_VALUE_HERE" |
| 33 | +# sap_vm_provision_terraform_work_dir_path: "/tmp/tf1" |
| 34 | + |
| 35 | + |
| 36 | +#### Mandatory parameters : Ansible Dictionary for host specifications #### |
| 37 | +sap_vm_provision_aws_ec2_vs_host_specifications_dictionary: |
| 38 | + |
| 39 | + xsmall_256gb: |
| 40 | + |
| 41 | + bw4h01: # Hostname, must be 13 characters or less |
| 42 | + sap_host_type: hana_primary # hana_primary, hana_secondary, nwas_ascs, nwas_ers, nwas_pas, nwas_aas |
| 43 | + virtual_machine_profile: "r7i.8xlarge" # 32 vCPU x 256GB DRAM |
| 44 | + disable_ip_anti_spoofing: true |
| 45 | + |
| 46 | + sap_storage_setup_sid: "{{ sap_system_sid }}" |
| 47 | + sap_storage_setup_nwas_abap_ascs_instance_nr: "{{ sap_system_nwas_abap_ascs_instance_nr }}" |
| 48 | + |
| 49 | + # hana_primary, hana_secondary, nwas_abap_ascs, nwas_abap_ers, nwas_abap_pas, nwas_abap_aas, nwas_java_scs, nwas_java_ers |
| 50 | + sap_storage_setup_host_type: |
| 51 | + - hana_primary |
| 52 | + - nwas_abap_ascs |
| 53 | + - nwas_abap_pas |
| 54 | + |
| 55 | + storage_definition: |
| 56 | + |
| 57 | + # Commented out variables are the same for each filesystem, only shown once below to ease readability |
| 58 | + - name: hana_data |
| 59 | + mountpoint: /hana/data |
| 60 | + #disk_count: 1 # default: 1, if more then then LVM logical volume will be striped across the defined disks |
| 61 | + disk_size: 384 # size in GB, integer |
| 62 | + #disk_type: gp3 # default: gp3, for AWS EBS disk type |
| 63 | + #disk_iops: # default: null, for AWS EBS with custom IOPS |
| 64 | + filesystem_type: xfs # default: xfs |
| 65 | + #lvm_lv_name: # default: lv_<element_name> |
| 66 | + #lvm_lv_stripes: 2 # default: null, number of disks to stripe over |
| 67 | + #lvm_lv_stripe_size: 128K # default: 64K, defined by the OS. Akin to Virtualized Block Size |
| 68 | + #lvm_vg_name: # default: vg_<element name> |
| 69 | + #lvm_vg_options: # default: none, additional LVM VG options as string in LVM options syntax (e.g. "--dataalignment XX ..." to override MiB offset from disk start before first LVM VG Physical Extent) |
| 70 | + #lvm_vg_physical_extent_size: # default: 4, uses 4 MiB default and difficult to change once set. Akin to Physical Block Size |
| 71 | + #lvm_pv_device: # default: discovered ansible_devices matching the target size |
| 72 | + #lvm_pv_options: # default: none, additional LVM PV options as string in LVM options syntax (e.g. "--dataalignment XX ..." to override MiB offset from disk start before first LVM PV Physical Extent) |
| 73 | + #nfs_path: # subdirectory path on the NFS server |
| 74 | + #nfs_server: # NFS server and parent directory (e.g. nfs.com:/share1). default: {{ sap_storage_setup_nfs_server }} |
| 75 | + #nfs_filesystem_type: # default: {{ sap_storage_setup_nfs_filesystem_type }} |
| 76 | + #nfs_mount_options: # default: {{ sap_storage_setup_nfs_mount_options }} |
| 77 | + |
| 78 | + - name: hana_log |
| 79 | + mountpoint: /hana/log |
| 80 | + disk_size: 128 # size in GB, integer |
| 81 | + filesystem_type: xfs # default: xfs |
| 82 | + |
| 83 | + - name: hana_shared |
| 84 | + mountpoint: /hana/shared |
| 85 | + disk_size: 320 # size in GB, integer |
| 86 | + filesystem_type: xfs # default: xfs |
| 87 | + |
| 88 | + - name: usr_sap |
| 89 | + mountpoint: /usr/sap |
| 90 | + disk_size: 128 # size in GB, integer |
| 91 | + filesystem_type: xfs # default: xfs |
| 92 | + |
| 93 | + - name: sapmnt |
| 94 | + mountpoint: /sapmnt |
| 95 | + disk_size: 80 # size in GB, integer |
| 96 | + filesystem_type: xfs # default: xfs |
| 97 | + |
| 98 | + # See SAP Note 1597355 - Swap-space recommendation for Linux |
| 99 | + - name: swap # sbx |
| 100 | + disk_size: 96 |
| 101 | + filesystem_type: swap # must be swap filesystem |
| 102 | + |
| 103 | + - name: software |
| 104 | + mountpoint: /software |
| 105 | + disk_size: 100 # size in GB, integer |
| 106 | + filesystem_type: xfs # default: xfs |
| 107 | + |
| 108 | + |
| 109 | +#### Dictionary of operating system images #### |
| 110 | +sap_vm_provision_aws_ec2_vs_host_os_image_dictionary: |
| 111 | + rhel-8-1: "*RHEL-8.1*_HVM*x86_64*" |
| 112 | + # rhel-8-2: "*RHEL-8.2*_HVM*x86_64*" # removed |
| 113 | + rhel-8-4: "*RHEL-8.4*_HVM*x86_64*" |
| 114 | + rhel-8-6: "*RHEL-8.6*_HVM*x86_64*" |
| 115 | + rhel-8-8: "*RHEL-8.8*_HVM*x86_64*" |
| 116 | + rhel-8-10: "*RHEL-8.10*_HVM*x86_64*" |
| 117 | + rhel-9-0: "*RHEL-9.0*_HVM*x86_64*" |
| 118 | + rhel-9-1: "*RHEL-9.1*_HVM*x86_64*" |
| 119 | + rhel-9-2: "*RHEL-9.2*_HVM*x86_64*" |
| 120 | + rhel-9-3: "*RHEL-9.3*_HVM*x86_64*" |
| 121 | + rhel-9-4: "*RHEL-9.4*_HVM*x86_64*" |
| 122 | + sles-12-5: "*suse-sles-12-sp5-v202*-hvm-ssd-x86_64*" |
| 123 | + # sles-15-2: "*suse-sles-15-sp2-v202*-hvm-ssd-x86_64*" # removed |
| 124 | + # sles-15-3: "*suse-sles-15-sp3-v202*-hvm-ssd-x86_64*" # removed |
| 125 | + # sles-15-4: "*suse-sles-15-sp4-v202*-hvm-ssd-x86_64*" # removed |
| 126 | + sles-15-5: "*suse-sles-15-sp5-v202*-hvm-ssd-x86_64*" |
| 127 | + sles-15-6: "*suse-sles-15-sp6-v202*-hvm-ssd-x86_64*" |
| 128 | + # rhel-7-7-sap-ha: "*RHEL-SAP-8.1.0*" # removed |
| 129 | + # rhel-7-9-sap-ha: "*RHEL-SAP-8.1.0*" # removed |
| 130 | + rhel-8-1-sap-ha: "*RHEL-SAP-8.1.0*" |
| 131 | + rhel-8-2-sap-ha: "*RHEL-SAP-8.2.0*" |
| 132 | + rhel-8-4-sap-ha: "*RHEL-SAP-8.4.0*" |
| 133 | + rhel-8-6-sap-ha: "*RHEL-SAP-8.6.0*" |
| 134 | + rhel-8-8-sap-ha: "*RHEL-SAP-8.8.0*" |
| 135 | + rhel-8-10-sap-ha: "*RHEL-SAP-8.10.0*" |
| 136 | + rhel-9-0-sap-ha: "*RHEL-SAP-9.0.0*" |
| 137 | + rhel-9-2-sap-ha: "*RHEL-SAP-9.2.0*" |
| 138 | + rhel-9-4-sap-ha: "*RHEL-SAP-9.4.0*" |
| 139 | + sles-12-5-sap-ha: "*suse-sles-sap-12-sp5-v202*-hvm-ssd-x86_64*" |
| 140 | + sles-15-1-sap-ha: "*suse-sles-sap-15-sp1-v202*-hvm-ssd-x86_64*" |
| 141 | + sles-15-2-sap-ha: "*suse-sles-sap-15-sp2-v202*-hvm-ssd-x86_64*" |
| 142 | + sles-15-3-sap-ha: "*suse-sles-sap-15-sp3-v202*-hvm-ssd-x86_64*" |
| 143 | + sles-15-4-sap-ha: "*suse-sles-sap-15-sp4-v202*-hvm-ssd-x86_64*" |
| 144 | + sles-15-5-sap-ha: "*suse-sles-sap-15-sp5-v202*-hvm-ssd-x86_64*" |
| 145 | + sles-15-6-sap-ha: "*suse-sles-sap-15-sp6-v202*-hvm-ssd-x86_64*" |
| 146 | + sles-15-4-sap-ha-byos: "*suse-sles-sap-15-sp4-byos-v202*-hvm-ssd-x86_64*" |
| 147 | + sles-15-5-sap-ha-byos: "*suse-sles-sap-15-sp5-byos-v202*-hvm-ssd-x86_64*" |
| 148 | + sles-15-6-sap-ha-byos: "*suse-sles-sap-15-sp6-byos-v202*-hvm-ssd-x86_64*" |
| 149 | + sles-15-6-sap-ha: "*suse-sles-sap-15-sp6-v202*-hvm-ssd-x86_64*" |
| 150 | + sles-15-4-sap-ha-byos: "*suse-sles-sap-15-sp4-byos-v202*-hvm-ssd-x86_64*" |
| 151 | + sles-15-5-sap-ha-byos: "*suse-sles-sap-15-sp5-byos-v202*-hvm-ssd-x86_64*" |
| 152 | + sles-15-6-sap-ha-byos: "*suse-sles-sap-15-sp6-byos-v202*-hvm-ssd-x86_64*" |
0 commit comments