redhat_sap.sap_s4hana_deployment

THIS ROLE IS OUTDATED AND NO LONGER MAINTAINED

The new version is now part of the community.sap_install collection.

The new role is community.sap_install.sap_swpm.

sap-s4hana-deployment Ansible Lint Ansible Galaxy Import

This role installs SAP S/4 HANA on a RHEL 7.x or 8.x system.

Requirements

This role is meant for RHEL systems that will have SAP software. Make sure your system has at least the core RHEL packages, is registered correctly, and is ready for HANA or Netweaver installation.

You need access to the software repositories necessary for installing SAP HANA (see also: How to subscribe SAP HANA systems to the Update Services for SAP Solutions).

You can automate this process using the redhat_sap.sap_rhsm Galaxy Role.

To install SAP software on Red Hat Enterprise Linux, you'll need extra packages from a special repository. You must have one of the following products to access this repository:

Click here to get a personal developer edition of RHEL for SAP Solutions. Register as a developer and download the developer edition.

  • Registration Link: Here, you can create a new personal account or link it to an existing personal Red Hat Network account.
  • Download Link: Here, you can download the Installation DVD for RHEL with your registered account.

NOTE: This is a standard RHEL installation DVD since RHEL for SAP Solutions is just a special bundling of the same product. The subscription gives you access to the extra packages after installation.

It's also essential that your disks are set up according to the SAP storage requirements for SAP HANA. This BLOG can help when sizing HANA systems.

Role Variables

Variable Description Required?
sap_s4hana_deployment_use_password_file Indicates if the parameter file has hashed passwords; if so, instkey.pkey must be provided no, default is n
sap_s4hana_deployment_password_file_path Path to the password file instkey.pkey no
sap_s4hana_deployment_sapcar_path Directory path on the target host where the SAPCAR tool file is located yes
sap_s4hana_deployment_sapcar_file_name Name of the SAPCAR tool file yes
sap_s4hana_deployment_swpm_path Directory path on the target host where the SWPM tool file is located yes
sap_s4hana_deployment_swpm_sar_file_name Name of the SWPM .SAR file yes
sap_s4hana_deployment_product_id SAP product reference to install yes, example NW_ABAP_OneHost:S4HANA1909.CORE.HDB.ABAP
(other variables omitted for brevity)

Dependencies

Make sure your system is set up correctly to run SAP applications and HANA before using this role.

You can use the supported roles sap-preconfigure and sap-netweaver-preconfigure that come with RHEL 7 and 8 for RHEL for SAP Solutions Subscription.

The upstream versions of these roles can be found here and here.

Example Playbook

    - hosts: servers
      roles:
      - role: sap-s4hana-deployment

Example Inventory

sap_s4hana_deployment_swpm_path: /usr/local/src
sap_s4hana_deployment_swpm_sar_file_name: SWPM20SP04_6-80003424.SAR
sap_s4hana_deployment_sapcar_path: /usr/local/src
sap_s4hana_deployment_sapcar_file_name: SAPCAR_1311-80000935.EXE
sap_s4hana_deployment_product_id: S4HANA1909.CORE.HDB.ABAP
sap_s4hana_deployment_master_password: "mysecretpassword"
sap_s4hana_deployment_sid: RHS
sap_s4hana_deployment_ascs_instance_nr: "00"
sap_s4hana_deployment_ascs_instance_hostname: "myhostname"
sap_s4hana_deployment_db_host: "rhel-hana-host"
sap_s4hana_deployment_hana_instance_nr: "00"

License

Apache License 2.0

Author Information

Red Hat SAP Community of Practice

Informazioni sul progetto

Deploys `SAP S/4 HANA` on the given host(s)

Installa
ansible-galaxy install redhat_sap.sap_s4hana_deployment
Licenza
apache-2.0
Download
10.3k
Proprietario
Community repositories for SAP Solutions on Red Hat Technologies