This automation solution is designed for the deployment of Three Tier SAP JAVA on HANA DB using IBM Cloud Schematics or CLI. The SAP solution will be deployed on top of one of the following Operating Systems: Red Hat Enterprise Linux 9.4 for SAP, Red Hat Enterprise Linux 8.6 for SAP, Red Hat Enterprise Linux 8.4 for SAP, SUSE Linux Enterprise Server 15 SP 6 for SAP, SUSE Linux Enterprise Server 15 SP 4 for SAP, SUSE Linux Enterprise Server 15 SP 3 for SAP, in an existing IBM Cloud Gen2 VPC, using an existing bastion host with secure remote SSH access.
- 1.1 Installation media
- 1.2 Prerequisites
- 1.3 VSI Configuration
- 1.4 VPC Configuration
- 1.5 Files description and structure
- 2.1 General Input variables
- 2.2 Executing the deployment of Three Tier SAP Java HANA Stack in GUI (Schematics)
- 2.3 Executing the deployment of Three Tier SAP Java HANA Stack in CLI
- 3.1 Related links
SAP HANA installation media used for this deployment is the default one for SAP HANA, platform edition 2.0 SPS07 available at SAP Support Portal under INSTALLATION AND UPGRADE area and it has to be provided manually in the input parameter file.
SAP JAVA installation media used for this deployment is the default one for SAP Netweaver 7.5 available at SAP Support Portal under INSTALLATION AND UPGRADE area and it has to be provided manually in the input parameter file.
- A Deployment Server (BASTION Server) in the same VPC should exist. For more information, see https://github.com/IBM-Cloud/sap-bastion-setup.
- On the Deployment Server, download the SAP kits from the SAP Portal. Make note of the download locations. Ansible decompresses all of the archive kits.
- Create or retrieve an IBM Cloud API key. The API key is used to authenticate with the IBM Cloud platform and to determine your permissions for IBM Cloud services.
- Create or retrieve your SSH key ID. You need the 40-digit UUID for the SSH key, not the SSH key name.
The VSIs are deployed with one of the following Operating Systems for DB server: Red Hat Enterprise Linux 9.4 for SAP HANA (amd64), Red Hat Enterprise Linux 8.6 for SAP HANA (amd64), Red Hat Enterprise Linux 8.4 for SAP HANA (amd64), Suse Linux Enterprise Server 15 SP 6 for SAP HANA (amd64), Suse Linux Enterprise Server 15 SP 4 for SAP HANA (amd64) or Suse Linux Enterprise Server 15 SP 3 for SAP HANA (amd64) and with one of the following Operating Systems for APP server: Red Hat Enterprise Linux 9.4 for SAP Applications (amd64), Red Hat Enterprise Linux 8.6 for SAP Applications (amd64), Red Hat Enterprise Linux 8.4 for SAP Applications (amd64), Suse Enterprise Linux 15 SP6 for SAP Applications (amd64), Suse Enterprise Linux 15 SP4 for SAP Applications (amd64) or Suse Enterprise Linux 15 SP3 for SAP Applications (amd64). The SSH keys are configured to allow root user access. The following storage volumes are creating during the provisioning:
HANA DB VSI Disks:
- the disk sizes depend on the selected profile, according to Intel Virtual Server certified profiles on VPC infrastructure for SAP HANA - Last updated 2023-12-28
Note: For SAP HANA on a VSI, according to Intel Virtual Server certified profiles on VPC infrastructure for SAP HANA - Last updated 2022-01-28 and to Storage design considerations - Last updated 2024-01-25, LVM will be used for /hana/data
, hana/log
, /hana/shared
and /usr/sap
, for all storage profiles, with the following exceptions:
/hana/data
and/hana/shared
for the following profiles:vx2d-44x616
andvx2d-88x1232
/hana/shared
for the following profiles:vx2d-144x2016
,vx2d-176x2464
,ux2d-36x1008
,ux2d-48x1344
,ux2d-72x2016
,ux2d-100x2800
,ux2d-200x5600
.
For example, in case of deploying a SAP HANA on a VSI, using the value mx2-16x128
for the VSI profile , the automation will execute the following storage setup:
- 3 volumes x 500 GB each for
<sid>_hana_vg
volume group- the volume group will contain the following logical volumes (created with three stripes):
<sid>_hana_data_lv
- size 988 GB<sid>_hana_log_lv
- size 256 GB<sid>_hana_shared
- size 256 GB
- the volume group will contain the following logical volumes (created with three stripes):
- 1 volume x 50 GB for
/usr/sap
(volume group:<sid>_usr_sap_vg
, logical volume:<sid>_usr_sap_lv
) - 1 volume x 10 GB for a 2 GB SWAP logical volume (volume group:
<sid>_swap_vg
, logical volume:<sid>_swap_lv
)
SAP JAVA APP VSI Disks:
- 1 disk with 10 IOPS / GB - SWAP (the size depends on the OS profile used, for
bx2-4x16
the size will be 48 GB) - 1 x 128 GB disk with 10 IOPS / GB - DATA
In order to perform the deployment you can use either the CLI component or the GUI component (Schematics) of the automation solution.
The Security Rules inherited from BASTION deployment are the following:
- Allow all traffic in the Security group for private networks.
- Allow outbound traffic (ALL for port 53, TCP for ports 80, 443, 8443)
- Allow inbound SSH traffic (TCP for port 22) from IBM Schematics Servers.
modules
- directory containing the terraform modules.ansible
- directory containing the SAP ansible playbooks.main.tf
- contains the configuration of the VSI for the deployment of the current SAP solution.output.tf
- contains the code for the information to be displayed after the VSI is created (VPC, Hostname, Private IP).integration*.tf & generate*.tf
files - contain the integration code that makes the SAP variabiles from Terraform available to Ansible.provider.tf
- contains the IBM Cloud Provider data in order to runterraform init
command.variables.tf
- contains variables for the VPC and VSI.versions.tf
- contains the minimum required versions for terraform and IBM Cloud provider.sch.auto.tfvars
- contains programatic variables.
In order to perform the deployment you can use either the CLI component or the GUI component (Schematics) of the automation solution.
The following parameters can be set:
General input parameters:
Parameter | Description |
---|---|
IBMCLOUD_API_KEY | IBM Cloud API key (Sensitive* value). The IBM Cloud API Key can be created here |
SSH_KEYS | List of SSH Keys UUIDs that are allowed to SSH as root to the server. Can contain one or more IDs. The list of SSH Keys is available here. Sample input (use your own SSH UUIDs from IBM Cloud): [ "r010-57bfc315-f9e5-46bf-bf61-d87a24a9ce7a" , "r010-3fcd9fe7-d4a7-41ce-8bb3-d96e936b2c7e" ] |
BASTION_FLOATING_IP | BASTION FLOATING IP. It can be copied from the Bastion Server Deployment "OUTPUTS" at the end of "Apply plan successful" message. |
RESOURCE_GROUP | The name of an EXISTING Resource Group for servers and Volumes resources. Default value: "Default". The list of Resource Groups is available here. |
REGION | The cloud region where to deploy the solution. The regions and zones for VPC are listed here. Review supported locations in IBM Cloud Schematics here. Sample value: eu-de. |
ZONE | The cloud zone where to deploy the solution. Sample value: eu-de-2. |
VPC | The name of an EXISTING VPC. The list of VPCs is available here |
SUBNET | The name of an EXISTING Subnet. The list of Subnets is available here. |
SECURITY_GROUP | The name of an EXISTING Security group. The list of Security Groups is available here. |
Server input parameters
Parameter | Description |
---|---|
DB_HOSTNAME | The Hostname for the HANA Server. The hostname should be up to 13 characters as required by SAP. For more information on rules regarding hostnames for SAP systems, check SAP Note 611361: Hostnames of SAP ABAP Platform servers |
DB_PROFILE | The instance profile used for the SAP HANA Server. The list of the certified profiles for SAP HANA on a VSI is available here. Details about all x86 instance profiles are available here. For more information about supported DB/OS and IBM Gen 2 Servers, check SAP Note 2927211: SAP Applications on IBM Virtual Private Cloud Default value: "mx2-16x128" |
DB_IMAGE | The OS image used for HANA Server (See Obs*). A list of images is available here. Default value: "ibm-redhat-9-4-amd64-sap-hana-3" |
APP_HOSTNAME | The Hostname for the SAP Application VSI. The hostname should be up to 13 characters as required by SAP. For more information on rules regarding hostnames for SAP systems, check SAP Note 611361: Hostnames of SAP ABAP Platform servers |
APP_PROFILE | The instance profile used for SAP Application VSI. A list of profiles is available here For more information about supported DB/OS and IBM Gen 2 Virtual Server Instances (VSI), check SAP Note 2927211: SAP Applications on IBM Virtual Private Cloud Default value: "bx2-4x16" |
APP_IMAGE | The OS image used for SAP Application VSI (See Obs*). A list of images is available here. Default value: "ibm-redhat-9-4-amd64-sap-applications-3" |
SAP input parameters
Parameter | Description | Requirements |
---|---|---|
HANA_SID | The SAP system ID identifies the SAP HANA system. (See Obs.*) Default value: "HDB" |
|
HANA_TENANT | SAP HANA tenant name. Default value: "JV1" |
|
HANA_SYSNO | Specifies the instance number of the SAP HANA system Default value: "00" |
|
HANA_SYSTEM_USAGE | System Usage Default value: "custom" |
Valid values: production, test, development, custom |
HANA_COMPONENTS | SAP HANA Components Default value: "server" |
Valid values: all, client, es, ets, lcapps, server, smartda, streaming, rdsync, xs, studio, afl, sca, sop, eml, rme, rtl, trp |
KIT_SAPHANA_FILE | Path to SAP HANA ZIP file (See Obs*). Default value: "/storage/HANADB/SP07/Rev77/IMDB_SERVER20_077_0-80002031.SAR" |
As downloaded from SAP Support Portal |
SAP_SID | The SAP system ID identifies the entire SAP system Default value: "JV1" |
|
SAP_SCS_INSTANCE_NUMBER | Technical identifier for internal processes of SCS Default value: "01" |
|
SAP_CI_INSTANCE_NUMBER | Technical identifier for internal processes of CI Default value: "00" |
|
JAVA_NODES | The number of JAVA server nodes Default value: "2" |
Must be higher equal 1 |
JAVA_PRODUCT_INSTANCES | The list of JAVA product instances. Default value: [] |
The list can contain the following elements: "AdobeDocumentServices", "BIJAVA", "BPM", "CentralProcessScheduling", "CompositionPlatform", "DevelopmentInfrastructure", "EPCore-ApplicationPortal", "EnterprisePortal", "EnterpriseServicesRepository", "PDFExport" |
KIT_SAPCAR_FILE | Path to sapcar binary Default value: "/storage/NW75HDB/SAPCAR_1300-70007716.EXE" |
As downloaded from SAP Support Portal |
KIT_SWPM_FILE | Path to SWPM archive (SAR) Default value: "/storage/NW75HDB/SWPM10SP42_0-20009701.SAR" |
As downloaded from SAP Support Portal |
KIT_SAPEXE_FILE | Path to SAP Kernel OS archive (SAR) Default value: "/storage/NW75HDB/KERNEL/7.54UC/SAPEXE_400-80007612.SAR" |
As downloaded from SAP Support Portal |
KIT_SAPEXEDB_FILE | Path to SAP Kernel DB archive (SAR) Default value: "/storage/NW75HDB/KERNEL/7.54UC/SAPEXEDB_400-80007611.SAR" |
As downloaded from SAP Support Portal |
KIT_IGSEXE_FILE | Path to IGS archive (SAR) Default value: "/storage/NW75HDB/KERNEL/7.54UC/igsexe_5-80007786.sar" |
As downloaded from SAP Support Portal |
KIT_IGSHELPER_FILE | Path to IGS Helper archive (SAR) Default value: "/storage/NW75HDB/KERNEL/igshelper_17-10010245.sar" |
As downloaded from SAP Support Portal |
KIT_SAPHOSTAGENT_FILE | Path to SAP Host Agent archive (SAR) Default value: "/storage/NW75HDB/SAPHOSTAGENT65_65-80004822.SAR" |
As downloaded from SAP Support Portal |
KIT_HDBCLIENT_FILE | Path to HANA DB client archive (SAR) Default value: "/storage/NW75HDB/IMDB_CLIENT20_022_32-80002082.SAR" |
As downloaded from SAP Support Portal |
KIT_SAPJVM_FILE | Path to SAP JVM archive (SAR) Default value: "/storage/NW75HDB/SAPJVM81/SAPJVM8_102-80000202.SAR" |
As downloaded from SAP Support Portal |
KIT_JAVA_EXPORT_FILE | Path to Netweaver Installation Export ZIP file Default value: "/storage/NW75HDB/JAVAEXP/SP22/51055106.ZIP" |
The archive downloaded from SAP Support Portal should be present in this path |
Other SAP input parameters
Parameter | Description | Requirements |
---|---|---|
SAP_MAIN_PASSWORD | Common password for all users that are created during the installation |
|
Obs:
- Sensitive - The variable value is not displayed in your Schematics logs and it is hidden in the input field.
- The following parameters should have the same values as the ones set for the BASTION server: REGION, ZONE, VPC, SUBNET, SECURITYGROUP.
- For any manual change in the terraform code, you have to make sure that you use a certified image based on the SAP NOTE: 2927211.
Installation media validated for this solution:
Component | Version | Filename |
---|---|---|
SAPCAR | 7.53 | SAPCAR_1300-70007716.EXE |
SOFTWARE PROVISIONING MGR | 1.0 | SWPM10SP42_0-20009701.SAR |
SAP KERNEL | 7.54 64-BIT UNICODE | SAPEXE_400-80007612.SAR SAPEXEDB_400-80007611.SAR |
SAP IGS | 7.54 | igsexe_5-80007786.sar |
SAP IGS HELPER | PL 17 | igshelper_17-10010245.sar |
SAP HOST AGENT | 7.22 SP 65 | SAPHOSTAGENT65_65-80004822.SAR |
HANA CLIENT | 2.22 | IMDB_CLIENT20_022_32-80002082.SAR |
HANA DB | 2.0 SPS07 rev77 | IMDB_SERVER20_077_0-80002031.SAR |
SAP NW Export | 7.5 SP 22 | 51055106.ZIP |
JVM | 8.1 | SAPJVM8_102-80000202.SAR |
OS images validated for this solution:
OS version | Image | Role |
---|---|---|
Red Hat Enterprise Linux 9.4 for SAP HANA (amd64) | ibm-redhat-9-4-amd64-sap-hana-1 | DB |
Red Hat Enterprise Linux 9.4 for SAP Applications (amd64) | ibm-redhat-9-4-amd64-sap-applications-1 | APP |
Red Hat Enterprise Linux 8.6 for SAP HANA (amd64) | ibm-redhat-8-6-amd64-sap-hana-6 | DB |
Red Hat Enterprise Linux 8.6 for SAP Applications (amd64) | ibm-redhat-8-6-amd64-sap-applications-6 | APP |
Red Hat Enterprise Linux 8.4 for SAP HANA (amd64) | ibm-redhat-8-4-amd64-sap-hana-10 | DB |
Red Hat Enterprise Linux 8.4 for SAP Applications (amd64) | ibm-redhat-8-4-amd64-sap-applications-10 | APP |
SUSE Linux Enterprise Server 15 SP6 for SAP HANA | ibm-sles-15-6-amd64-sap-hana-1 | DB |
SUSE Linux Enterprise Server 15 SP6 for SAP Applications | ibm-sles-15-6-amd64-sap-applications-1 | APP |
SUSE Linux Enterprise Server 15 SP4 for SAP HANA | ibm-sles-15-4-amd64-sap-hana-8 | DB |
SUSE Linux Enterprise Server 15 SP4 for SAP Applications | ibm-sles-15-4-amd64-sap-applications-9 | APP |
SUSE Linux Enterprise Server 15 SP3 for SAP HANA | ibm-sles-15-3-amd64-sap-hana-11 | DB |
SUSE Linux Enterprise Server 15 SP3 for SAP Applications | ibm-sles-15-3-amd64-sap-applications-12 | APP |
The solution is based on Terraform remote-exec and Ansible playbooks executed by Schematics.
The parameters that can be set in the Schematics workspace are described in General input variables Section section.
Beside General input variables Section, the below ones, in IBM Schematics have specific description and GUI input options:
Specific Input parameters:
Parameter | Description |
---|---|
PRIVATE_SSH_KEY | id_rsa private SSH key content in OpenSSH format (Sensitive* value). This private SSH key should be used only during the terraform provisioning and it is recommended to be changed after the SAP deployment. |
ID_RSA_FILE_PATH | The file path for the private ssh key. It will be automatically generated. If it is changed, it must contain the relative path from git repo folders. Example: ansible/id_rsa_nwhana |
-
Make sure that you have the required IBM Cloud IAM permissions to create and work with VPC infrastructure and you are assigned the correct permissions to create the workspace in Schematics and deploy resources.
-
Generate an SSH key. The SSH key is required to access the provisioned VPC virtual server instances via the bastion host. After you have created your SSH key, make sure to upload this SSH key to your IBM Cloud account in the VPC region and resource group where you want to deploy the SAP solution
-
Create the Schematics workspace:
- From the IBM Cloud menu
select Schematics.
- Push the
Create workspace
button. - Provide the URL of the Github repository of this solution
- Select the latest Terraform version.
- Click on
Next
button - Provide a name, the resources group and location for your workspace
- Push
Next
button - Review the provided information and then push
Create
button to create your workspace
- Push the
- On the workspace Settings page,
- In the Input variables section, review the default values for the input variables and provide alternatives if desired.
- Click Save changes.
- From the IBM Cloud menu
select Schematics.
-
From the workspace Settings page, click Generate plan
-
From the workspace Jobs page, the logs of your Terraform execution plan can be reviewed.
-
Apply your Terraform template by clicking Apply plan.
-
Review the logs to ensure that no errors occurred during the provisioning, modification, or deletion process.
In the output of the Schematics
Apply Plan
the private IP address of the Servers, the hostname of the servers, the VPC and the Activity Tracker instance name will be displayed.
Obs*:
- SAP/HANA Passwords. The passwords for the SAP system will be hidden during the schematics apply step and will not be available after the deployment.
For the script configuration add your IBM Cloud API Key in terraform planning phase command 'terraform plan --out plan1'.
The solution is configured by editing the variable values in the file input.auto.tfvars
. See the example below:
General input parameters:
##########################################################
# General VPC variables:
######################################################
REGION = "eu-de"
# The cloud region where to deploy the solution. Supported regions: https://cloud.ibm.com/docs/containers?topic=containers-regions-and-zones#zones-vpc
# Example: REGION = "eu-de"
ZONE = "eu-de-2"
# Availability zone for VSIs, in the REGION. Supported zones: https://cloud.ibm.com/docs/containers?topic=containers-regions-and-zones#zones-vpc
# Example: ZONE = "eu-de-2"
VPC = "ic4sap"
# The name of an EXISTING VPC. Must be in the same region as the solution to be deployed. The list of VPCs is available here: https://cloud.ibm.com/vpc-ext/network/vpcs.
# Example: VPC = "ic4sap"
SECURITY_GROUP = "ic4sap-securitygroup"
# The name of an EXISTING Security group for the same VPC. It can be found at the end of the Bastion Server deployment log, in "Outputs", before "Command finished successfully" message.
# The list of available Security Groups: https://cloud.ibm.com/vpc-ext/network/securityGroups
# Example: SECURITY_GROUP = "ic4sap-securitygroup"
RESOURCE_GROUP = "wes-automation"
# The name of an EXISTING Resource Group, previously created by the user. The list of available Resource Groups: https://cloud.ibm.com/account/resource-groups
# Example: RESOURCE_GROUP = "wes-automation"
SUBNET = "ic4sap-subnet"
# The name of an EXISTING Subnet, in the same VPC and ZONE where the VSIs will be created. The list of Subnets is available here: https://cloud.ibm.com/vpc-ext/network/subnets.
# Example: SUBNET = "ic4sap-subnet"
SSH_KEYS = ["r010-8f7.....................3c", "r010-8uy......................3c"]
# List of SSH Keys UUIDs that are allowed to SSH as root to the VSIs. The SSH Keys should be created for the same region as the VSI. The list of available SSH Keys UUIDs: https://cloud.ibm.com/vpc-ext/compute/sshKeys
# Example: SSH_KEYS = ["r010-8f72b994-c.................4t3c", "r011-8f72v884......................t3c"]
ID_RSA_FILE_PATH = "/root/.ssh/id_rsa"
# The path to an existing id_rsa private key file, with 0600 permissions. The private key must be in OpenSSH format.
# This private key is used only during the provisioning and it is recommended to be changed after the SAP deployment.
# It must contain the relative or absoute path from your Bastion.
# Examples: "ansible/id_rsa_java" , "~/.ssh/id_rsa_java" , "/root/.ssh/id_rsa".
##########################################################
# DB VSI variables:
##########################################################
DB_HOSTNAME = "sapjavdb"
# The Hostname for the DB VSI. The hostname should be up to 13 characters, as required by SAP
# Example: HOSTNAME = "ic4sap"
DB_PROFILE = "mx2-16x128"
# The instance profile used for the HANA VSI. The list of certified profiles for HANA VSIs: https://cloud.ibm.com/docs/sap?topic=sap-hana-iaas-offerings-profiles-intel-vs-vpc
# Details about all x86 instance profiles: https://cloud.ibm.com/docs/vpc?topic=vpc-profiles).
# For more information about supported DB/OS and IBM Gen 2 Virtual Server Instances (VSI), check [SAP Note 2927211: SAP Applications on IBM Virtual Private Cloud](https://launchpad.support.sap.com/#/notes/2927211)
# Default value: "mx2-16x128"
DB_IMAGE = "ibm-redhat-9-4-amd64-sap-hana-3"
# OS image for DB VSI.
# The list of available VPC Operating Systems supported by SAP: SAP note '2927211 - SAP Applications on IBM Virtual Private Cloud (VPC) Infrastructure environment' https://launchpad.support.sap.com/#/notes/2927211; The list of all available OS images: https://cloud.ibm.com/docs/vpc?topic=vpc-about-images
# Example: DB_IMAGE = "ibm-redhat-8-6-amd64-sap-hana-6"
##########################################################
# SAP APP VSI variables:
##########################################################
APP_HOSTNAME = "sapjavci"
# The Hostname for the SAP APP VSI. The hostname should be up to 13 characters, as required by SAP
# Example: HOSTNAME = "ic4sap"
APP_PROFILE = "bx2-4x16"
# The APP VSI profile. Supported profiles: bx2-4x16. The list of available profiles: https://cloud.ibm.com/docs/vpc?topic=vpc-profiles&interface=ui
APP_IMAGE = "ibm-redhat-9-4-amd64-sap-applications-3"
# The list of available VPC Operating Systems supported by SAP: SAP note '2927211 - SAP Applications on IBM Virtual Private Cloud (VPC) Infrastructure environment' https://launchpad.support.sap.com/#/notes/2927211; The list of all available OS images: https://cloud.ibm.com/docs/vpc?topic=vpc-about-images
# Example: APP_IMAGE = "ibm-redhat-8-6-amd64-sap-applications-6"
SAP input parameters
##########################################################
# SAP HANA configuration
##########################################################
HANA_SID = "HDB"
# The SAP system ID, which identifies the SAP HANA system. Should follow the SAP rules for SID naming.
# Consists of three alphanumeric characters and the first character must be a letter.
# Does not include any of the reserved IDs listed in SAP Note 1979280
# Example: HANA_SID = "HDB"
HANA_SYSNO = "00"
# The instance number of the SAP HANA system. Should follow the SAP rules for instance number naming.
# Consists of two-digit number from 00 to 97
# Must be unique on a host
# Example: HANA_SYSNO = "01"
HANA_TENANT = "JV1"
# SAP HANA tenant name
# Example:HANA_TENANT = "HDB_TEN1"
HANA_SYSTEM_USAGE = "custom"
# SAP HANA System usage. Default: custom. Suported values: production, test, development, custom
# Example: HANA_SYSTEM_USAGE = "custom"
HANA_COMPONENTS = "server"
# SAP HANA Components. Default: server. Supported values: all, client, es, ets, lcapps, server, smartda, streaming, rdsync, xs, studio, afl, sca, sop, eml, rme, rtl, trp
# Example: HANA_COMPONENTS = "server"
KIT_SAPHANA_FILE = "/storage/HANADB/SP07/Rev77/IMDB_SERVER20_077_0-80002031.SAR"
# SAP HANA Installation kit path (ZIP/SAR file), as downloaded from SAP Support Portal
# Example: KIT_SAPHANA_FILE = "/storage/HANADB/SP07/Rev77/IMDB_SERVER20_077_0-80002031.SAR"
##########################################################
# SAP system configuration
##########################################################
SAP_SID = "JV1"
# The SAP system ID identifies the entire SAP system.
# Consists of three alphanumeric characters and the first character must be a letter.
# Does not include any of the reserved IDs listed in SAP Note 1979280
SAP_SCS_INSTANCE_NUMBER = "01"
# The central service instance number. Should follow the SAP rules for instance number naming.
# Example: SAP_SCS_INSTANCE_NUMBER = "01"
SAP_CI_INSTANCE_NUMBER = "00"
# The SAP central instance number. Should follow the SAP rules for instance number naming.
# Example: SAP_CI_INSTANCE_NUMBER = "06"
JAVA_NODES = "2"
# The number of JAVA server nodes
JAVA_PRODUCT_INSTANCES = []
# The list of JAVA product instances. The list can contain the following elements: AdobeDocumentServices, BIJAVA, BPM,
# CentralProcessScheduling, CompositionPlatform, DevelopmentInfrastructure, EPCore-ApplicationPortal, EnterprisePortal,
# EnterpriseServicesRepository, PDFExport
# Example: JAVA_PRODUCT_INSTANCES = ["AdobeDocumentServices", "BIJAVA"]
##########################################################
# SAP JAVA APP Installation kit path
##########################################################
KIT_SAPCAR_FILE = "/storage/NW75HDB/SAPCAR_1300-70007716.EXE"
KIT_SWPM_FILE = "/storage/NW75HDB/SWPM10SP42_0-20009701.SAR"
KIT_SAPEXE_FILE = "/storage/NW75HDB/KERNEL/7.54UC/SAPEXE_400-80007612.SAR"
KIT_SAPEXEDB_FILE = "/storage/NW75HDB/KERNEL/7.54UC/SAPEXEDB_400-80007611.SAR"
KIT_IGSEXE_FILE = "/storage/NW75HDB/KERNEL/7.54UC/igsexe_5-80007786.sar"
KIT_IGSHELPER_FILE = "/storage/NW75HDB/KERNEL/igshelper_17-10010245.sar"
KIT_SAPHOSTAGENT_FILE = "/storage/NW75HDB/SAPHOSTAGENT65_65-80004822.SAR"
KIT_HDBCLIENT_FILE = "/storage/NW75HDB/IMDB_CLIENT20_022_32-80002082.SAR"
KIT_SAPJVM_FILE = "/storage/NW75HDB/SAPJVM81/SAPJVM8_102-80000202.SAR"
KIT_JAVA_EXPORT_FILE = "/storage/NW75HDB/JAVAEXP/SP22/51055106.ZIP"
SAP Main Password The password for the SAP system (all users that are created during the installation) will be asked interactively during terraform plan step and will not be available after the deployment.
For initializing terraform:
terraform init
For planning phase:
terraform plan --out plan1
# you will be asked for the following sensitive variables: 'IBMCLOUD_API_KEY' and 'SAP_MAIN_PASSWORD'.
For apply phase:
terraform apply "plan1"
For destroy:
terraform destroy
# you will be asked for the following sensitive variables as a destroy confirmation phase: 'IBMCLOUD_API_KEY' and 'SAP_MAIN_PASSWORD'.