Skip to content

Commit 38f2f16

Browse files
authored
Merge pull request #53 from sap-linuxlab/dev
release: merge dev to main for 1.0.6
2 parents bdfdc4e + 1b14692 commit 38f2f16

File tree

376 files changed

+58817
-58451
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

376 files changed

+58817
-58451
lines changed

deploy_scenarios/sap_bw4hana_sandbox/ansible_extravars.yml

Lines changed: 42 additions & 940 deletions
Large diffs are not rendered by default.
Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
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*"
Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
---
2+
3+
####
4+
# Infrastructure Provisioning selection
5+
# Google Cloud
6+
#
7+
# Only for use when 'gcp_ce_vm' is value provided for variable sap_vm_provision_iac_platform
8+
####
9+
10+
sap_vm_provision_gcp_credentials_json: "ENTER_STRING_VALUE_HERE"
11+
sap_vm_provision_gcp_project: "ENTER_STRING_VALUE_HERE"
12+
sap_vm_provision_gcp_region: "{{ sap_vm_provision_gcp_region_zone[:-2] }}"
13+
sap_vm_provision_gcp_region_zone: "ENTER_STRING_VALUE_HERE"
14+
sap_vm_provision_gcp_vpc_name: "ENTER_STRING_VALUE_HERE"
15+
sap_vm_provision_gcp_vpc_subnet_name: "ENTER_STRING_VALUE_HERE"
16+
sap_vm_provision_gcp_ce_vm_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_ssh_host_public_key_file_path: "ENTER_STRING_VALUE_HERE"
26+
27+
# Variables required for sap_vm_provision_iac_type=ansible_to_terraform
28+
# sap_vm_provision_terraform_state: "ENTER_STRING_VALUE_HERE" # present, absent
29+
# sap_vm_provision_resource_prefix: "ENTER_STRING_VALUE_HERE"
30+
# sap_vm_provision_bastion_os_image: "ENTER_STRING_VALUE_HERE"
31+
# sap_vm_provision_terraform_work_dir_path: "/tmp/tf1"
32+
33+
34+
#### Mandatory parameters : Ansible Dictionary for host specifications ####
35+
sap_vm_provision_gcp_ce_vm_host_specifications_dictionary:
36+
37+
xsmall_256gb:
38+
39+
bw4h01: # Hostname, must be 13 characters or less
40+
sap_host_type: hana_primary # hana_primary, hana_secondary, nwas_ascs, nwas_ers, nwas_pas, nwas_aas
41+
virtual_machine_profile: "n2-highmem-32" # 32 vCPU x 256GB DRAM
42+
disable_ip_anti_spoofing: true
43+
44+
sap_storage_setup_sid: "{{ sap_system_sid }}"
45+
sap_storage_setup_nwas_abap_ascs_instance_nr: "{{ sap_system_nwas_abap_ascs_instance_nr }}"
46+
47+
# hana_primary, hana_secondary, nwas_abap_ascs, nwas_abap_ers, nwas_abap_pas, nwas_abap_aas, nwas_java_scs, nwas_java_ers
48+
sap_storage_setup_host_type:
49+
- hana_primary
50+
- nwas_abap_ascs
51+
- nwas_abap_pas
52+
53+
storage_definition:
54+
55+
# Commented out variables are the same for each filesystem, only shown once below to ease readability
56+
- name: hana_data
57+
mountpoint: /hana/data
58+
disk_count: 1 # default: 1, if more then then LVM logical volume will be striped across the defined disks
59+
disk_size: 384 # size in GB, integer
60+
disk_type: pd-ssd # default: gp3, for AWS EBS disk type
61+
#disk_iops: # default: null, for AWS EBS with custom IOPS
62+
filesystem_type: xfs # default: xfs
63+
#lvm_lv_name: # default: lv_<element_name>
64+
#lvm_lv_stripes: 2 # default: null, number of disks to stripe over
65+
#lvm_lv_stripe_size: 128K # default: 64K, defined by the OS. Akin to Virtualized Block Size
66+
#lvm_vg_name: # default: vg_<element name>
67+
#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)
68+
#lvm_vg_physical_extent_size: # default: 4, uses 4 MiB default and difficult to change once set. Akin to Physical Block Size
69+
#lvm_pv_device: # default: discovered ansible_devices matching the target size
70+
#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)
71+
#nfs_path: # subdirectory path on the NFS server
72+
#nfs_server: # NFS server and parent directory (e.g. nfs.com:/share1). default: {{ sap_storage_setup_nfs_server }}
73+
#nfs_filesystem_type: # default: {{ sap_storage_setup_nfs_filesystem_type }}
74+
#nfs_mount_options: # default: {{ sap_storage_setup_nfs_mount_options }}
75+
76+
- name: hana_log
77+
mountpoint: /hana/log
78+
disk_count: 1
79+
disk_size: 128 # size in GB, integer
80+
disk_type: pd-ssd
81+
filesystem_type: xfs # default: xfs
82+
83+
- name: hana_shared
84+
mountpoint: /hana/shared
85+
disk_size: 320 # size in GB, integer
86+
disk_type: pd-balanced
87+
filesystem_type: xfs # default: xfs
88+
89+
# See SAP Note 1597355 - Swap-space recommendation for Linux
90+
- name: swap # sbx
91+
disk_size: 96
92+
disk_type: pd-balanced
93+
filesystem_type: swap # must be swap filesystem
94+
95+
- name: software
96+
mountpoint: /software
97+
disk_size: 100 # size in GB, integer
98+
disk_type: pd-balanced
99+
filesystem_type: xfs # default: xfs
100+
101+
102+
#### Dictionary of operating system images ####
103+
sap_vm_provision_gcp_ce_vm_host_os_image_dictionary:
104+
rhel-8-latest:
105+
project: "rhel-cloud"
106+
family: "rhel-8"
107+
rhel-9-latest:
108+
project: "rhel-cloud"
109+
family: "rhel-9"
110+
sles-12-latest:
111+
project: "suse-cloud"
112+
family: "sles-12"
113+
sles-15-latest:
114+
project: "suse-cloud"
115+
family: "sles-15"
116+
# rhel-7-7-sap-ha: # removed
117+
# project: "rhel-sap-cloud"
118+
# family: "rhel-7-7-sap-ha"
119+
rhel-7-9-sap-ha:
120+
project: "rhel-sap-cloud"
121+
family: "rhel-7-9-sap-ha"
122+
# rhel-8-1-sap-ha: # removed
123+
# project: "rhel-sap-cloud"
124+
# family: "rhel-8-1-sap-ha"
125+
rhel-8-2-sap-ha:
126+
project: "rhel-sap-cloud"
127+
family: "rhel-8-2-sap-ha"
128+
rhel-8-4-sap-ha:
129+
project: "rhel-sap-cloud"
130+
family: "rhel-8-4-sap-ha"
131+
rhel-8-6-sap-ha:
132+
project: "rhel-sap-cloud"
133+
family: "rhel-8-6-sap-ha"
134+
sles-12-5-sap-ha:
135+
project: "suse-sap-cloud"
136+
family: "sles-12-sp5-sap"
137+
# sles-15-1-sap-ha: # removed
138+
# project: "suse-sap-cloud"
139+
# family: "sles-15-sp1-sap"
140+
sles-15-2-sap-ha:
141+
project: "suse-sap-cloud"
142+
family: "sles-15-sp2-sap"
143+
sles-15-3-sap-ha:
144+
project: "suse-sap-cloud"
145+
family: "sles-15-sp3-sap"
146+
sles-15-4-sap-ha:
147+
project: "suse-sap-cloud"
148+
family: "sles-15-sp4-sap"
149+
sles-15-5-sap-ha:
150+
project: "suse-sap-cloud"
151+
family: "sles-15-sp5-sap"
152+
sles-15-6-sap-ha:
153+
project: "suse-sap-cloud"
154+
family: "sles-15-sp6-sap"
155+
sles-12-5-sap-ha-byos:
156+
project: "suse-byos-cloud"
157+
family: "sles-12-sp5-sap-byos"
158+
sles-15-2-sap-byos:
159+
project: "suse-byos-cloud"
160+
family: "sles-15-sp2-sap-byos"
161+
sles-15-3-sap-byos:
162+
project: "suse-byos-cloud"
163+
family: "sles-15-sp3-sap-byos"
164+
sles-15-4-sap-byos:
165+
project: "suse-byos-cloud"
166+
family: "sles-15-sp4-sap-byos"
167+
sles-15-5-sap-byos:
168+
project: "suse-byos-cloud"
169+
family: "sles-15-sp5-sap-byos"
170+
sles-15-6-sap-byos:
171+
project: "suse-byos-cloud"
172+
family: "sles-15-sp6-sap-byos"
173+

0 commit comments

Comments
 (0)