Skip to content

Provide Ansible roles for administrator tasks in the context of SAP installations on the IBM PowerVS.

License

Notifications You must be signed in to change notification settings

IBM/ansible-power-linux-sap

Repository files navigation

Power LPAR Configuration for SAP HANA and SAP NetWeaver using Ansible collection

Sections

  1. Introduction
  2. Roles Description
  3. Installation Guide
  4. Execution Details
  5. Requirements, Dependencies and Testing

1. Introduction

This ansible collection simplifies IBM PowerVS LPAR configuration for installing SAP HANA and SAP NetWeaver on SLES and RHEL environments. It doesn't install SAP HANA or NETWEAVER applications but, prepares the OS with correct configurations for SAP HANA/NetWeaver installations for best performance. They can be executed on same LPAR or different LPARs.

This collection has 5 modules, which are independent of each other and can be run individually.

  1. Preparing Operating System for SAP installations.
  2. Creating Filesystems for SAP installations.
  3. Configuring SWAP spaces.
  4. Installing Management Services (SQUID, NTP, NFS, DNS)
  5. Creating and deleting SAP monitoring configurations

Ansible Roles Summary

Contents

Within this Ansible Collection, there are various Ansible Roles and no custom Ansible Modules.

Ansible Roles

Name Summary
powervs_install_services Installs and configures Squid, NTP, NFS and DNS services as a server
powervs_client_enable_services Configures proxy, connects to NTP and DNS services and mounts the provided NFS path.
powervs_storage_setup Configures storage
powervs_swap_creation Configures swap disk
powervs_prepare_rhel_sap Configure general RHEL OS settings for SAP software
powervs_prepare_sles_sap configure general SLES OS settings for SAP software
monitoring_sap Creates or deletes SAP monitoring configurations

3. Installation Guide

Install collection from Ansible Galaxy using below command

ansible-galaxy collection install ibm.power_linux_sap

A folder will be created in root directory : /root/.ansible/collections/ansible_collections/ibm/power_linux_sap/

To install RHEL system roles, follow the steps provided here


4. Execution Details

Sample playbooks are provided in the playbooks directory of collection.

Local Host Execution

ansible-playbook --connection=local -i "localhost," sample-powervs-configure-os-for-sap.yml

Target Host Execution

ansible-playbook -i "<target-host>," sample-powervs-configure-os-for-sap.yml

5. Requirements, Dependencies and Testing

5.1 Operating System requirements

Designed for Linux operating systems, RHEL and SLES.

This role has not been tested and amended for SAP NetWeaver Application Server instantiations on IBM AIX or Windows Server.

Assumptions for executing this role include:

  • Registered OS license and OS package repositories are available (from the relevant content delivery network of the OS vendor)

5.2 Python requirements

Python 3 from the execution/controller host.

5.3 Testing on execution/controller host

Tests with Ansible Core release versions:

  • Ansible Core 2.9.19 community edition

Tests with Python release versions:

  • Python 3.6.8

Testing on target/remote host

Tests with Operating System release versions:

  • RHEL 8.2, 8.4 and 8.8 for SAP
  • SLES 12, 15 for SAP

License

Contributors

Contributors to the Ansible Roles within this Ansible Collection, are shown within /docs/contributors.

About

Provide Ansible roles for administrator tasks in the context of SAP installations on the IBM PowerVS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages