This course covers Ansible automation for SAP. We'll start off with introductions to both SAP and Ansible and then we'll present the use cases of automation with Ansible that we have built for SAP. You'll then be guided through a demonstration of an end-to-end deployment of SAP HANA and SAP applications like NetWeaver and S4/HANA.
Learning Objectives
- Learn the fundamentals of what SAP and Ansible are and how they work
- Learn how to patch SAP landscapes
- Understand SAP HANA and SAP Netweaver maintenance
- Automate the deployment of SAP S/4HANA databases with Ansible Tower
- Automate the creation of SAP HANA and SAP S/4HANA Pacemaker Clusters
- Automate the migration of SAP workloads from SUSE Linux Enterprise Server to Red Hat Enterprise Linux
- Learn how to carry out SAP Application Server Autoscaling
Intended Audience
This course is intended for anyone who wants to learn how to learn how Ansible automation can be used with their SAP workloads.
Prerequisites
To get the most from this course, you should have basic knowledge of Ansible and SAP.
So the last use case that we want to present and is quite useful as a day to day operation or maintenance operation is the possibility to how to scale the servers that are being used. So, this is mostly important for clients that have their infrastructure on the hyperscalers, on the public cloud and that they need to pay for the consumption of the resources.
So, we have developed a solution around Ansible that what we that would will do is to spin up servers or shut down servers as needed. So, whenever there's a big workload on the servers that are normally working or always working holding the main instances of the SAP installations.
It will communicate with the Ansible Tower and then a playbook will be or series of playbooks will be triggered in order to start up or shut down virtual machines. If we need even more virtual machines that are that have been provisioned at a searching point, the solution will even perform an installation of a new application server and once it's not needed anymore it will be shut down so that the customer doesn't need to pay extra charges for the utilization of these resources. This is also quite useful if a customer knows that for example at the end of the month they need to do all the end month calculations etc and they will need more resources and more power so, they can schedule the spin up of new servers and new installations for those states and once they're done with this process they can shut down all the servers.
So, this is another quite useful use case or application mainly for clients on the public cloud as we said and then just to recap of what we have in terms of roles, what we have written, what's available and on the open source community as we said because all the all the roles we have worked on are available not only in galaxy but also on Github. So here you can see all the playbooks or all the roles that we have been using in the different videos and there are three that are marked in red so you will recognize them the sap-netweaver- preconfigure, the sap-preconfigure and sap-hana-preconfigure. As we've said several times and in the videos and the demos, those are the roles that apply all the SAP notes or recommendations that are needed not only to install SAP HANA or SAP Netweaver, S/4HANA but also to run them performantly. So, it's important to say that these roles are part of having this community or open community version are maintained by Red Hat. So, these roles come with the subscriptions for SAP. So, the RHEL for SAP applications and RHEL for SAP solution subscriptions. They come with their with those subscriptions and as I said they're mentioned by Red Hat.
So, every time that SAP releases a new note regarding a new for example a new revision of HANA or a new note regarding a new version of RHEL. These recommendations, these requirements in the new notes will be added to the to these roles. So, this way we make sure that our hosts or sap hosts are always complying with the latest recommendations from sap and finally you have again the list of links to the open source and community roles that we have been using.
If you're interested you can download them from there, take a look at the code and you're more than welcome to contribute to open pull requests. If you find features that are missing, if you find things that should be improved here feel free and yeah as I said you're more than welcome to do that.
So thank you for attending these courses and I hope you found them really useful you.
Jeremy is a Content Lead Architect and DevOps SME here at Cloud Academy where he specializes in developing DevOps technical training documentation.
He has a strong background in software engineering, and has been coding with various languages, frameworks, and systems for the past 25+ years. In recent times, Jeremy has been focused on DevOps, Cloud (AWS, Azure, GCP), Security, Kubernetes, and Machine Learning.
Jeremy holds professional certifications for AWS, Azure, GCP, Terraform, Kubernetes (CKA, CKAD, CKS).