1
Planning, Deployment, Maintenance And Operations Of SAP S/4HANABP-1209
Sören SchmidtSAP Solution Architect
2
Agenda
1. Scope of the talk
2. What is SAP® S/4HANA?
3. Planning
4. Deployment
5. Maintenance
6. Operation
7. Things to look out for
3
SUSE @ SAP LinuxLab
What is it about?
Focus of the talk: Operating system level
● No internals of SAP S/4HANA
● No details of the product SAP S/4HANA
● No migration hints or strategies towards SAP S/4HANA
4
Just a simplified view
What Is SAP S/4HANA?
SAP HANA 2.0SAP Application Server (S/4HANA)
Operating System
Infrastructure
5
PAM, Hardware Directory and important SAP Notes
Planning
Product Availability Matrixhttps://apps.support.sap.com/sap/support/pam
Hardware Directoryhttps://www.sap.com/dmc/exp/2014-09-02-hana-hardware/enEN/appliances.html
SAP Notes● 2369910 - SAP Software on Linux: General information
https://launchpad.support.sap.com/#/notes/2369910
● .. a lot more
https://apps.support.sap.com/sap/support/pamhttps://www.sap.com/dmc/exp/2014-09-02-hana-hardware/enEN/appliances.htmlhttps://launchpad.support.sap.com/#/notes/2369910
6
HA - to be on the safe side
Planning
Several HA solutions availablehttps://documentation.suse.com/#sles-sap (→ choose Service Pack → “Best Practices”)
● For SAP Applications Server (S/4 HANA)● For SAP HANA ● Availability depends on the product (SLES/SLES for SAP Applications)
Best let’s speak our HA experts about it:
TUT-1226 - “SAP HA on SUSE: All you need to know”
https://documentation.suse.com/#sles-sap
7
OS - Which one to take?
Planning
SUSE® Linux Enterprise Server (SLES)https://www.suse.com/products/server/
SUSE® Linux Enterprise Server for SAP Applications (SLES4SAP)https://www.suse.com/products/sles-for-sap/
FUT-1439 - “SUSE Linux Enterprise Server for SAP Applications”
https://www.suse.com/products/sles-for-sap/
8
Life Cycle
Planning
Life Cycle: https://www.suse.com/lifecycle/
● Check End of Life of your chosen product
● Don’t forget to check support with SAP and your infrastructure vendor
● Update your system regularly!
https://www.suse.com/lifecycle/
9
How to get the software on the infrastructure?
Deployment
Installation Wizard (SLES4SAP)
AutoYaST
Deployment Project● Based on Salt and Terraform● Partly or fully automated deployments for Azure, AWS, KVM
• SAP HANA / SAP NetWeaver (with cluster)• S/4HANA
TUT-1092 - “Bootstrapping SLES for SAP HANA & NetWeaver clusters with Terraform & Salt on public clouds”
10
SAP Notes
Configuration
SAP Note● Don’t confuse with KBAs● Recommendations, not rules
Some important SAP Notes (OS related):SAP Note 2235581 - SAP HANA: Supported Operating Systems
SAP Note 1984787 - SUSE LINUX Enterprise Server 12: Installation notes
SAP Note 2205917 - SAP HANA DB: Recommended OS settings for SLES 12 / SLES for SAP Applications 12
SAP Note 2578899 - SUSE LINUX Enterprise Server 15: Installation notes
SAP Note 2684254 - SAP HANA DB: Recommended OS settings for SLES 15 / SLES for SAP Applications 15
...
11
sapconf/saptune
Configuration / Maintenance
sapconf (SLES)● Does the needful● Stays as simple as it is
saptune v2 (SLES4SAP)
● More advanced● SAP Notes and Solutions● Check of current settings● Configurable (Own Notes)
● Development goes on● Scripting interface● Machine-readable output ● Cloud and HA awareness● ...
12
Golden Rules
Maintenance
Keep SAP software up-to-date
Keep Operating System up-to-date
Keep infrastructure up-to-date
13
Golden Rules
Operations
Monitor your systems● Monitor logs and system health● Monitoring Project (Prometheus/Grafana)
CAS-1088 - ”Monitoring your HA and SAP HANA clusters with Prometheus and Grafana ”
● Collect sar data
● Size your logging and backup your log files
Backup your systems● You do backups, don’t you?
14
In case you need support
Operations
Open a SAP Incident● Why not a SR?● One is really enough
Prepare information● Meaningful description● What has been changed prior to the incident?● What happened, when and why before/during/after the incident?● supportconfig + hb_report
15
What is different when running SAP?
Things to look out for
HDBLCM● Reads and changes sysctl.conf
SAP HostAgent● Changes e.g. net.ipv4.ip_local_port_range/net.ipv4.ip_local_reserved_ports
systemd Issues● Database gets killed at shutdown
● sapinit still a SysV init script
Swapping ● Not bad necessarily, but: Page Cache Limit / Workload Memory Protection
16
General Disclaimer
This document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. SUSE makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for SUSE products remains at the sole discretion of SUSE. Further, SUSE reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All SUSE marks referenced in this presentation are trademarks or registered trademarks of SUSE, LLC, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.