Automate Start/Stop of SAP NetWeaver ABAP applications based on HANA database using AWS Systems Manager for SAP

3 days ago 10

Introduction

Many customers today are transforming their SAP landscape by implementing SAP S/4HANA through SAP RISE. But there are many customers who still haven’t moved to SAP RISE and are natively hosting their SAP systems on AWS. They are always looking at optimizing their SAP systems operational efficiency to meet and improve their stringent availability and performance requirements and have relied on functionality of AWS Systems Manager for SAP to meet that goal. In this blog, you will learn how to automate Start/Stop operations of your SAP NetWeaver ABAP applications based on HANA database using the latest enhancement to AWS Systems Manager for SAP.

AWS Systems Manager for SAP is an automation capability to manage and operate your SAP applications on AWS. It provides a seamless integration between AWS services and SAP applications running on AWS. We are excited to announce that last month we released two new capabilities for AWS Systems Manager for SAP to support NetWeaver ABAP applications based on HANA database. Customers can now register SAP NetWeaver ABAP applications based on HANA database as well as automate the start and stop operations of those applications, deployed in Single, Distributed and Highly Available (HA) topologies using AWS Systems Manager for SAP. This enhancement covers a wide range of SAP applications, including S/4HANA and BW/4HANA, and extends support to additional application servers and web dispatcher components. This new functionality simplifies the management of complex SAP landscapes, improves operational efficiency, and provides enhanced support for high-availability and distributed configurations.

SAP NetWeaver applications can be registered and managed with AWS Systems Manager Application Manager console or AWS Command Line Interface (CLI).

AWS Systems Manager for SAP is available to you at no additional cost. You only pay for the AWS resources that you provision to manage and operate your SAP environments.

Getting Started
In this blog we will share details on how to register an SAP NetWeaver ABAP application based on HANA database and automate its start/stop operations using AWS Systems Manager Application Manager console.

Please complete all the prerequisites listed below before going to the next step.

Prerequisites 1 – Get started with AWS Systems Manager for SAP
Prerequisites 2 – Register SAP HANA database with AWS Systems Manager for SAP

SAP NetWeaver ABAP based application registration
1. Open the AWS Systems Manager console .
2. On the left navigation pane, choose Application Manager.

3. Select on Create Application and then choose Enterprise Workload

4. Select SAP ABAP -new under SAP application type

5.

6. Enter an Application name for example “ABAPSSMTEST” under SAP ABAP application


7. Select the instance ID for your primary SAP ABAP workload by selecting the Browse instances button. AWS Systems Manager for SAP automatically detects all the instances involved in HA and Distributed topologies, no need to attach all the instances.


8. Enter the SAP System identifier (SID) of your SAP NetWeaver ABAP instance

9. Provide the Amazon Resource Name (ARN) of the SAP HANA database that is associated with your SAP ABAP application by selecting Browse databases


10. (Optional) Under Connected Web Dispatcher components you can provide the following details of up to 5 of your SAP Web Dispatcher resources that your application is using. SAP Web Dispatcher resources are only discoverable by Systems Manager for SAP after you input these details:
SAP System Identifier (SID) is the SAP System Identifier (sapsid) of your SAP Web Dispatcher resource.
Instance ID is the Amazon EC2 instance ID on which your SAP Web Dispatcher is currently running. Select Browse instances to find the instance ID.


11. (Optional). Under Application tags, you can add 100 tags associated to your resources.

12. Select Create.


13. On successful registration, you can see your application in the list of applications. Click on application and you can see the following tabs for your application.

Click on the Database to see the database connected to your ABAP application.


14. To see the topology click on the Resources tab and in the bottom panel you see the Topology of your ABAP system

Stop operation

15. Select Stop application from the Actions menu on the right hand side of the screen


When stopping an SAP NetWeaver ABAP application, you can also stop the connected SAP HANA application, and/or stop the associated EC2 instance where the SAP NetWeaver ABAP and SAP HANA applications are running by checking the options Stop SAP HANA application and Enable this option to stop the EC2 instances hosting the SAP ABAP and SAP HANA components under Additional options. AWS Systems Manager for SAP is application aware, and it will stop all the SAP components in a graceful manner, before shutting down the EC2 instance.

Select Stop to stop the applications.

16. You can monitor the operation status by clicking on the operation ID provided in the flash banner or by selecting View operations from the Actions menu.

Under Events, you can see the sequence in which the application components are being stopped along with the current progress of the operation. These operation events are at the granularity of individual SAP component, like SAP application server, ASCS, ERS, Web Dispatcher and database and in the event of a failure, customer will easily know the component that failed to stop and can troubleshoot that component further

17. Upon successful completion of the operation you will see the message the application was stopped successfully.

18. Refresh the page and go to Resources tab to see the applications status under Topology


Start operation
19. Select Start application from the Actions menu on the right hand side of the screen

Select Start to start the applications.

20. You can monitor the operation status by clicking on the operation ID provided in the flash banner or by selecting View operations from the Actions menu.

Under Events, you can see the sequence in which the application servers are started along with the current progress of the operation. These operation events are at the granularity of individual SAP component, like SAP application server, ASCS, ERS, Web Dispatcher and database and in the event of a failure, customer will easily know the component that failed to start and can troubleshoot that component further

21. Upon successful completion of the operation you will see the message the application was started successfully. Refresh the page and go to Resources tab to see the applications status under Topology

Conclusion

In this blog, you learned how to register SAP NetWeaver ABAP applications based on HANA database, and automate the start/stop operations using AWS Systems Manager for SAP. To learn more, please visit the AWS Systems Manager for SAP for detailed documentation.

Read Entire Article