Git Product home page Git Product logo

ansible.playbooks_for_sap's Introduction

Ansible Playbooks for SAP

Use Ansible to deploy various SAP Software solution scenarios onto different Hyperscaler Cloud Service Providers and Hypervisors platforms.

These Ansible Playbooks for SAP are designed to be:

  • simple to understand,
  • highly reconfigurable and extendable,
  • self-enclosed for a specific scenario,
  • result in an equal installation performed to any Infrastructure Platform (Hyperscaler Cloud Service Providers and Hypervisor platforms),
  • use either Ansible or Terraform to provision Infrastructure,
  • use Ansible for configuration of OS and installation of SAP Software,
  • and licensed for corporate usage by SAP Customers, SAP Service Partners and SAP Technology Partners

Note: Ansible Playbooks for SAP optionally use Ansible > Terraform. To instead use Terraform > Ansible, see Terraform Templates for SAP

Please read the full documentation for how-to guidance, requirements, and all other details. Summary documentation is below:


Ansible Playbooks for SAP - execution workflow summary diagram

Ansible Playbooks for SAP execution flow


Ansible Playbooks for SAP - available scenarios summary

Ansible Playbooks are available for Operating Systems:

  • SUSE Linux Enterprise Server for SAP Applications (SLES4SAP)
  • Red Hat Enterprise Linux for SAP Solutions (RHEL4SAP)   [labelled 'High Availability and Update Services (HA-US)' on Cloud Hyperscalers]

Ansible Playbooks are available for Infrastructure Platforms:

  • AWS EC2 Virtual Server instances
  • Google Cloud Compute Engine Virtual Machines
  • IBM Cloud, Intel Virtual Servers
  • IBM Cloud, Power Virtual Servers
  • Microsoft Azure Virtual Machines
  • IBM PowerVM Virtual Machines (LPARs)
  • OVirt (e.g. Red Hat Enterprise Linux KVM)
  • KubeVirt (e.g. Red Hat OpenShift Virtualization, SUSE Rancher with Harvester HCI) [Experimental]
  • VMware vSphere Virtual Machines [Beta]

Ansible Playbooks are available for SAP Software Solution Scenarios:

  • SAP HANA (2.0 SPSx)
    • Standard (Scale-Up)
    • High Availability (performance optimized)
    • Scale-Out
  • SAP S/4HANA (2023, 2022, 2021, 2020, 1909)
    • Sandbox
    • Sandbox via Maintenance Planner
    • Standard
    • Standard via Maintenance Planner
    • Distributed
    • Distributed via Maintenance Planner
    • Distributed High Availability
    • Distributed High Availability via Maintenance Planner
  • SAP Landscape for SAP S/4HANA (2023, 2022, 2021, 2020, 1909)
    • 3-System Standard
    • 3-System Standard via Maintenance Planner
  • SAP S/4HANA Foundation (2023, 2022, 2021), for SAP HANA-only Add-Ons and Custom Apps
    • Sandbox
    • Standard
  • SAP ECC on HANA (EhP8, EhP7)
    • Sandbox
  • SAP ECC (EhP8)
    • with IBM Db2, Sandbox
    • with IBM Db2, Distributed
    • with Oracle DB, Sandbox
    • with SAP ASE, Sandbox
    • with SAP MaxDB, Sandbox
  • SAP BW/4HANA (2023, 2021)
    • Sandbox
    • Standard (Scale-Out)
  • SAP IDES for ECC on HANA (EhP8)
    • Sandbox
  • SAP IDES for ECC (EhP8, EhP7)
    • with IBM Db2, Sandbox
  • SAP NetWeaver (ABAP)
    • with SAP HANA, Sandbox
    • with IBM Db2, Sandbox
    • with Oracle DB, Sandbox
    • with SAP ASE, Sandbox
    • with SAP MaxDB, Sandbox
  • SAP NetWeaver (JAVA)
    • with IBM Db2, Sandbox
    • with SAP ASE, Sandbox
  • SAP SolMan (ABAP/JAVA)
    • with SAP HANA, Sandbox
    • with SAP ASE, Sandbox

Ansible Playbooks available with Special Actions for SAP Software:

  • SAP Web Dispatcher, Standalone (with SAP Kernel Part II for SAP HANA)
  • SAP SolMan Diagnostics Agent (SDA) [Experimental]
  • Download SAP Software installation media
  • System Copy Export, IBM Db2 [Experimental]
  • System Copy Restore (SAP ECC on HANA or SAP S/4HANA), Sandbox [Experimental]

Ansible Playbooks for SAP - deployments choice summary

Get Started: See full documentation section Example execution of Ansible Playbooks for SAP

Below is a summary of the execution method and deployment options:

Execution Method Ansible with existing host/s Ansible provisions host/s Ansible uses Terraform to provision minimal landing zone and host/s
[Beta]
Interactive variable prompts
[Coming Soon]
Not Available Enter ansible
when prompted to
Please choose Infrastructure-as-Code automation from list
Enter ansible_to_terraform
when prompted to
Please choose Infrastructure-as-Code automation from list
Standard (non-interactive) In Extra Vars file, set
sap_vm_provision_iac_type: existing_hosts
In Extra Vars file, set
sap_vm_provision_iac_type: ansible
In Extra Vars file, set
sap_vm_provision_iac_type: ansible_to_terraform
Summary:
SAP installation ✅
Provisions hosts ❌
Infrastructure setup ❌
Summary:
SAP installation ✅
Provisions hosts ✅
Infrastructure setup ❌
Summary:
SAP installation ✅
Provisions hosts ✅
Infrastructure setup ✅
Intended usage:
SAP installation to existing host/s, using an existing setup on an Infrastructure Platform.

Target hosts are defined using an Ansible Inventory file.


Intended usage:
SAP installation to host/s provisioned by Ansible, using an existing setup on an Infrastructure Platform.

Target hosts are defined using a dynamically generated Ansible Inventory created during runtime (after hosts are provisioned).
Intended usage:
SAP installation to host/s provisioned by executing Terraform to create a minimal setup on an Infrastructure Platform.

Target hosts are defined using a dynamically generated Ansible Inventory created during runtime (after hosts are provisioned).

Disclaimer

These are common SAP Software Solution Scenarios which are codified using Ansible to provide for Infrastructure-as-Code (IaC) Automation for SAP and Configuration-as-Code (CaC) Automation for SAP. These can be extended as needed for bespoke requirements.

This does not intend (and can not) replicate every SAP software deployment scenario, and does not replace any existing SAP installation procedures detailed in the SAP Help Portal or SAP Notes on SAP ONE Support. However, with the Ansible Role for SAP SWPM it is possible to install any SAP Software which is supported by SAP Software Provisioning Manager (SWPM 1.0/2.0).

For move-fast activities, such as rapid provisioning and administration testing tasks (latest software releases and revision/patch levels, system copy restore to Cloud etc.), these Ansible Playbooks for SAP can be amended to suit these requirements.

For greater support in automating the lifecycle of SAP Systems themselves, it is recommended to consider SAP Landscape Management Enterprise Edition.

For greater demo and evaluation of SAP Software business functionality, it is recommended to consider SAP Cloud Appliance Library.


License

Contributors

Key contributors are shown within the contributors file.

ansible.playbooks_for_sap's People

Contributors

sean-freeman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.