Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
naeem_maqsud
Advisor
Advisor

Update 2024: New links added

Introduction

This blog acts as an easy reference point for documentation and other blogs related to the use of SAP Landscape Management (LaMa) Automation Studio. See the list at the bottom of this page.

What is Automation Studio? This is a functionality within SAP LaMa that allows customers to easily extend, customize, modify, or even replace existing workflows within the solution. You can also easily integrate other tools with LaMa using Automation Studio.



The table below lists some of the customization types that are supported with automation studio:

ExtensionDescription
Custom hooksCustom specific functionalities to extend predefined actions, for example, run cleanipc each time you stop a system.
Custom operationsCustom specific action buttons to define your own operations, for example, create restart HostAgent operation.
Custom notificationsCustom specific definitions, when you want to receive a notification, for example, receive message for failed activities.
Custom processesCustom specific process chains, to combine operations, for example, change profile parameter and re-start the instance.
Custom provisioning processesCustom specific process for system provisioning, for example, backup/restore via script.
Custom tabsCustom specific tabs to access further tools and home pages within LaMa, for example, including SAP help into LaMa.
Custom linksCustom specific external applications can be called via custom links, for example, call NWA from LaMa.
Custom propertiesCustom specific properties like username of custom instances, for example, username.
Custom instancesCustom specific non-SAP applications can be added, for example, add mail server to LaMa.
Custom dependenciesCustom specific dependencies between systems, for example, start system x before system y.




Example of Automation Studio Visual Editor.

The Provider Definitions available in LaMa as of SP25 are:

Provider TypeDescription
Script Registered with Host AgentA script that is registered on and executed by SAP Host Agent.
REST (added in SP25)A REST API that is called by SAP Landscape Management
HTTP POSTA servlet or similar that is called directly by SAP Landscape Management.
Web ServiceA web service (server-side) that implements the WSDL defined by SAP Landscape Management.
Remote Function CallAn ABAP function module that is called and executed by SAP Landscape Management.
Confirm ActionA text that appears for user confirmation.


Use Cases

The use cases are numerous but here are a few that our customers have implemented (or are in the process) with Automation Studio.

    • Stop/Start for OS patching
    • Custom Provisioning
    • SAP Profile Parameter Change
    • nZDM Process
    • Scheduled Automation (e.g. End-to-End Refresh)
    • Automated OS Patching
    • Mass OS level password changes (sapadm, <sid>adm etc.)
    • SAP Host Agent Updates
    • OS version upgrades
    • Automated suspend of cloud instances (e.g. application servers)
    • Integrate HA clustering software with SAP LaMa (cluster commands executed part of LaMa operations)

List of Documentation/Blogs

1.SAP LaMa Automation Studio Official Guide
2.Automatic Patch Management
3.SAP HANA Replication Status based on SAP HANA HA/DR Hook
4.How to use SAP Landscape Management custom validations
5.Diagnostics Agent provisioning with LaMa
6.Automation SAP Kernel Upgrade Maintenance Using LaMa
7.[GERMAN] Kundenspezifische Betriebsprozesse managen mit SAP Landscape Management (LaMa)
8.How To Integrate SUSE LINUX Enterprise High Availability Extension 12 with SAP Landscape Management ...
9.Custom Database Refresh (SAP ASE - also known as Sybase Database)
10.Outgoing API Calls from LaMa (for direct outbound API calls refer to #16 below)
11.Transfer Parameters of Custom Operation or Hook in LaMa
12.RFC Operations with LaMa
13.Kernel Backup, Upgrade and Parameter Validation with E-mail Alerts (LaMa Standard Edition)
14.Start/Stop PI Channels
15.Custom Database Refresh (Oracle)
16.REST API Provider (Outbound REST API)
17.Job Maintenance
18.SUSE Manager
19.Sybase Update
20.Work Mode Management
21.Ansible Integration with REST (Create New AWS Instance)
22.LaMa Custom Point-in-time DB Refresh for AnyDB


As more blogs and documentation becomes available, they will be added to the above list.

Note: We also have a GitHub site where sample scripts for Automation Studio are available.

8 Comments