SAP Landscape Management (LaMa) Automation Studio
Update 2023: New links added
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:
|Custom hooks||Custom specific functionalities to extend predefined actions, for example, run cleanipc each time you stop a system.|
|Custom operations||Custom specific action buttons to define your own operations, for example, create restart HostAgent operation.|
|Custom notifications||Custom specific definitions, when you want to receive a notification, for example, receive message for failed activities.|
|Custom processes||Custom specific process chains, to combine operations, for example, change profile parameter and re-start the instance.|
|Custom provisioning processes||Custom specific process for system provisioning, for example, backup/restore via script.|
|Custom tabs||Custom specific tabs to access further tools and home pages within LaMa, for example, including SAP help into LaMa.|
|Custom links||Custom specific external applications can be called via custom links, for example, call NWA from LaMa.|
|Custom properties||Custom specific properties like username of custom instances, for example, username.|
|Custom instances||Custom specific non-SAP applications can be added, for example, add mail server to LaMa.|
|Custom dependencies||Custom specific dependencies between systems, for example, start system x before system y.|
Example of Automation Studio Visual Editor.
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
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.
Thank you for blog. Can one can automate SAP Addons / SAP Plugins / SAP Components Upgrade / NW Upgrade with this tool? If not ,are there any other automated tool available.
Please take a look at the blog Custom ASE Database Refresh where silent mode software provisioning manager (swpm) is used. The same concept can be applied to some of your use cases. Virtually anything that can be scripted can be called with LaMa Automation Studio.
Can I know if custom operations are available with LAMA 3.0 standard edition?
Yes but with limitations. Please take a look at the below 2 links and see the difference for automation studio in LaMa SE and LaMa EE.
Excellent blog, full of information and knowledge. Can you also publish refreshing HANA database using Refresh Processes --> Refresh Database method? I was trying to perform this but got stuck at the very beginning as it was not able to detect tenant db backup though there was backup in the file systems configured.
Thanks & Regards,
I believe that you are referring to the Custom ASE Database Refresh blog above. In the case of HANA the refresh option is already a built-in feature of LaMa and therefore no custom process is needed. The error you mention may be due to HDB backup share not configured for the source system, or the source and target relationship is not setup correctly.
Please refer to this link:
Great information. I am in the infra space and just started working with an SAP environment. Regarding Automation Studio, can we stop/start all SAP systems via script so we can patch operating systems? The link in the blog refers to post from 2018 which indicated that Hana Databases could not be fully automated as of yet.
Not sure what link you are referring to but HANA is more automated with LaMa than any other database. Back to your OS patching question, yes LaMa automation studio can handle HANA.