SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12....

27
SAP Architecture Overview Markus Koch Partner Enablement Manager EMEA

Transcript of SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12....

Page 1: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

SAP Architecture Overview

Markus KochPartner Enablement Manager EMEA

Page 2: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

2

The history of SAP products

© by Michael Missbach

Page 3: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

SAP Product Strategy

● SAP Business Suite● complete function set, all processes undefined

● on-premise

● SAP Business All-In-One● same software, standard processes pre-defined

● on-premise

● SAP Business by Design● same software, all processes pre-defined

● hosted

● SAP Business One● different software bought by SAP, Basic functions only

● hosted, targets small businesses only

Complexity of customer business processes

Page 4: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

4

SAP Business Suite

ERP enterprise resource planning

- ECC- BW- XSS- Portal- ...

CRMCustomer relationship mgmt

- ...

SCPsupply chain mgmt

- ...

SRMsupply relationship mgmt

- ...

PLMProduct lifecycle Mgmt

- ...

Solution Manager

77i20107i2011

6.04 7 7 7 76.05 7.016.06 7.02

7.01 7.01 7.027.02 7.02 7.02

See also http://service.sap.com/pam

Page 5: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

5

SAP Solution types

● ABAP ● typically Business related components

● z.B. ECC, BW

● JAVA● typically technically related components

● e.g. XSS, Portal

● Dual Stack ● e.g. Solution Manager, PI (XI)

● native programmed/ bought software● e.g. T-REX , HANA

Page 6: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

6

ABAP

ABAP Stack Example: ECC (R/3)

SAP runtime environment (platform, db specific)Kernel, Appl.-Server, Instance, Dispatcher, Work-processes

SAP-ApplicationsFI, CO, SD, ...

SAP BaseUser, Development Tools, ...

IS- Extension-Sets ...EA-HREA-Appl IS-Oil ...

Core SAP-HRHR

BasisSAP Web ASSAP NetweaverAS ABAP

Page 7: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

7

Dispatcher

DBStamm- und

BewegungsdatenUser

ProgramsFunctions

Tables

D D B B...

B E

MSGW ICM

SAPWebDisp

P01

P01 00

8000

3600

3200

ABAP Solution ArchitectureExample: ECC

DispatcherD D B B ...D B

GW ICM

P01 01

8001

3201

DispatcherD D B B ...D B

GW ICM

P01 02

8002

3202

DispatcherD D B B ...D B

GW ICM

P01 03

8003

3203

ASAP GuiBrowser

Page 8: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

8

ABAP Dialog Step

Page 9: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

9

ABAP Dialog Step

Page 10: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

10

ABAP Batch Processing

● Analog to Dialog Step

● No interaction possible, but need to answer questions upfront needs to be possible

● Every program that is able to run in Batch can also work interactively.

● Should be avoided because Dialog process can be blocked while program is running

Page 11: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

11

other ABAP work processes

∙ SPL (spool)∙ # depends on printing demand∙ print preparation can be done by OS or SAP∙ ENQ (enqueue lock mgmt.)∙ Needs to run on central instance

Page 12: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

12

Enque Lock Process

Page 13: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

13

ENQUE Table in Memory

Enque Lock Process

DispatcherD

A B

SAP GuiBrowser

SAP GuiBrowser

MSE

Dispatcher

ABAB Database

xxxx xxxxxxxx dummy data in table

D

max. read only

write access

Page 14: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

14

Need to now for HAdesigns

● When the central instance should run in HA environment, ENQ has to be started separately

● MS (messaging server) and ENQ (enque server) are called SCS (SAP central services)

Page 15: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

15

ABAP update processes

Central SAP Transportdirectory (/usr/sap/transport)Typically an NFS-Share

DEV PRDQA

Export Import Import

Page 16: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

16

JAVA StackExample: XSS

Java runtime environment (platform, db specific)Kernel, Appl.-Server, Instance

XSS

SAP Base JavaUser

SAP NetweaverAS Java

Page 17: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

17

J-Dispatcher(ICM)

DBStamm- und

BewegungsdatenUser

ProgramsFunctions

Tables

S S ... S

P02

P02 00

5000

0

MSES

Java Solution ArchitectureExample: Portal

P0 1

01

5010

0

J-Dispatcher

S S ... S

P02 01

SCS

ABrowser

Page 18: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

18

Dual Stack

Dispatcher

DBStamm- und

BewegungsdatenUser

ProgramsFunctions

Tables

D D B B ...B E

GW ICM

P01

P0 100

8000

MS

3600 32

00

J-Dispatcher(ICM)

DBStamm- und

BewegungsdatenUser

ProgramsFunctions

Tables

S S ... S

P0 2

00

5000

0

MSES

ICM

NOTE: With HANA two databases are required

Page 19: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

19

SAP Netweaver Architecture

JBOSS!

Page 20: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

20

SAP Installation Concept● Install OS

● Install DB (e.g. Oracle RDBMS)

● Install Central Instance

● Install Database Instance

● Install Dialog instance (Application Srv)

● Install SAP GUI

Three-tierconfiguration

Page 21: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

21

RHEV-MDatabase Cluster

Use Snapshots forBackup

System Copy

RHSat

+ Tower

RHEV Hypervisor for

Application Server

SAP Architecture Example (on-premise)

RedundantSAN Fabric

Datacenter 1 Datacenter 2

(*) RHEV-M & RHSat clustered across datacenters

HA-NFS(/sapmnt)

Page 22: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

22

SAP Architecture Example

Page 23: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

23

Anforderungen an Cluster Knoten

• Damit die vom Cluster verwalteten Software Komponenten (SAP, DB) auf jedem Cluster Knoten gestartet werden können, müssen alle Knoten absolut identisch aufgesetzt aufgesetzt werden:

• gleiche Kernel Parameter• gleiche Boot Parameter• gleiche User IDs / Group IDs• gleiche User Limits• gleiche OS Services / Deamons• gleiche OS Pakete (rpms)• gleiche Software Versionen• gleiche (DB-) Client Software• gleiche System-Ports

Bis auf ganz wenige Ausnahmen (hostname, IP, common server certificate, etc.) MUSS alles andere identisch sein.

Cluster Consistency Management

Page 24: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

24

Certified Cluster Solutions

Page 25: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

25

Migration Reasons to RHEL● Introduction of SAP HANA, S/4 HANA, Digital Transformation● Cost Reduction (hw, sw lic, OS support, power)● Changing Business Requirements with the same or lower budget● Mergers & Aquisitions● SW/HW replacement● Consolisation● performance/stability● Introduction of new technology, e.g.virtualization● Vendor Lock-in avoidance

Page 26: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

26

caution: typical migration scenarios

Page 27: SAP Architecture Overview - Red Hatpeople.redhat.com/mkoch/training/1806-vienna... · 2018. 12. 5. · SAP Architecture Overview Markus Koch ... z.B. ECC, BW ... System Copy RHSat

THANK YOU

plus.google.com/+RedHat

linkedin.com/company/red-hat

youtube.com/user/RedHatVideos

facebook.com/redhatinc

twitter.com/RedHatNews