Download as pdf or txt
Download as pdf or txt
You are on page 1of 34

Leveraging zero-downtime maintenance for

release upgrades of SAP S/4HANA


Jens Fieger, SAP SE
November 6, 2020

PUBLIC

SAP Community
About the speaker

Jens Fieger
I'm working as a Product Manager for downtime-
optimization approaches in the Cloud & Lifecycle
Management area for near-Zero Downtime Maintenance
(nZDM) and Zero Downtime Option (ZDO).

https://people.sap.com/jensfieger

https://www.linkedin.com/in/jensfieger/

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 2


Disclaimer

The information in this presentation is confidential and proprietary to SAP and may not be disclosed without the permission o f SAP.
Except for your obligation to protect confidential information, this presentation is not subject to your license agreement or any other service
or subscription agreement with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or a ny related
document, or to develop or release any functionality mentioned therein.
This presentation, or any related document and SAP's strategy and possible future developments, products and or platforms dir ections and
functionality are all subject to change and may be changed by SAP at any time for any reason without notice. The information in this
presentation is not a commitment, promise or legal obligation to deliver any material, code or functionality. This presentat ion is provided
without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a
particular purpose, or non-infringement. This presentation is for informational purposes and may not be incorporated into a contract. SAP
assumes no responsibility for errors or omissions in this presentation, except if such damages were caused by SAP’s intentional or gross
negligence.
All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ material ly from
expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates,
and they should not be relied upon in making purchasing decisions.

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3


Agenda

Introduction: downtime-optimization approaches


▪ Overview of various scenarios and approaches to update and upgrade SAP S/4HANA

Downtime-optimization for SAP S/4HANA


▪ Continuous business operations by using Zero Downtime Option

Exploring Zero Downtime Option of SUM


▪ Technical insights and prerequisites for running Zero Downtime Updates

Project planning and customer experiences


▪ Most recent productive ZDO projects

Bottom line: Summary


▪ Key takeaways and session wrap-up

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4


System maintenance events
Use cases of Software Update Manager

SAP software
shipment Customer release SAP software shipment
+
Customer release
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5
Downtime optimization approaches for system maintenance

SAP Business Suite


(for example, BS7i2016)

System conversion

Downtime-optimized conversion*
SAP ERP
Downtime-optimized DMO
ANYDB

NZDT**

Database migration

Downtime-optimized DMO System conversion

Downtime-optimized
SAP ERP conversion*

nZDM

NZDT**
Update, upgrade
** Pilot projects | ** NZDT is service-based nZDM and ZDO*
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 6
Downtime-optimization approaches for maintenance activities

Approach Abbreviation Scenario Availability* SAP Note


near-Zero Downtime Unrestricted
nZDM (ABAP) Update/Upgrade 1678565
Maintenance (ABAP) ** available

Business Suite: 2163060


Zero Downtime Option ZDO Update/Upgrade Pilot
SAP S/4HANA: 2707731
Migration to
downtime-optimized downtime-optimized Unrestricted
SAP HANA 2442926
Database Migration Option DMO available
database

downtime-optimized Conversion to
Pilot 2293733
Conversion SAP S/4HANA

near-Zero Downtime Unrestricted


nZDM Java Update/Upgrade 2422909
Maintenance (JAVA) available

Near Zero Downtime


NZDT several Service-based 693168
Technology

** This is different to nZDM for SAP HANA database * This is the current state of planning and may be changed by SAP at any time.
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7
Different approaches for updating or upgrading SAP S/4HANA using
Software Update Manager

Standard approach Near-Zero Downtime Zero Downtime Option (ZDO)


Maintenance (nZDM)
▪ Several downtime optimizations ▪ Downtime reduction by moving ▪ All phases running during uptime
(e.g. shadow system operations) downtime-relevant phases to uptime ▪ Available on request for pilot
▪ Generally available for all ▪ Generally available for all customers
customers customers

EFFORT
DOWNTIME
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8
Agenda

Introduction: downtime-optimization approaches


▪ Overview of various scenarios and approaches to update and upgrade SAP S/4HANA

Downtime-optimization for SAP S/4HANA


▪ Continuous business operations by using Zero Downtime Option

Exploring Zero Downtime Option of SUM


▪ Technical insights and prerequisites for running Zero Downtime Updates

Project planning and customer experiences


▪ Most recent productive ZDO projects

Bottom line: Summary


▪ Key takeaways and session wrap-up

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9


Zero Downtime Option for SAP S/4HANA

MOTIVATION
Perform maintenance events like updates, upgrades, and
customer releases without technical downtime.

SOLUTION APPROACH

RELEASE 1 MAINTENANCE RELEASE 2

RELEASE 1 (BRIDGE)

SAP Note 2707731 - Prerequisites and restrictions of Zero Downtime Option of SUM for SAP S/4HANA

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10


Zero Downtime Option for SAP S/4HANA
Update paths for SAP S/4HANA 1809 and higher

AVAILABILITY
Planned
▪ Minimum source releases: ZDO available
2020 SPS 00+ 2020 FPS 01+

− SAP S/4HANA 1809 FPS 01 as pilot

− SAP S/4HANA 1909 SPS 00


− SAP S/4HANA 2020 SPS 00
▪ For details, see SAP Note 2707731. ZDO
available
1909 SPS 00+ as pilot
1909 FPS 01+
ZDO available
as pilot

System Conversion

SAP Business Suite ZDO is not


ZDO
available
available
1809 FPS 01+ 1809 SPS 02+
anyDB or as pilot

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 11


Downtime-optimization for SAP S/4HANA
Key facts about Zero Downtime Option of Software Update Manager

Option of Software Update Minimal database space Only a single restart


Manager requirements needed

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 12


Agenda

Introduction: downtime-optimization approaches


▪ Overview of various scenarios and approaches to update and upgrade SAP S/4HANA

Downtime-optimization for SAP S/4HANA


▪ Continuous business operations by using Zero Downtime Option

Exploring Zero Downtime Option of SUM


▪ Technical insights and prerequisites for running Zero Downtime Updates

Project planning and customer experiences


▪ Most recent productive ZDO projects

Bottom line: Summary


▪ Key takeaways and session wrap-up

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 13


Maintenance events without technical downtime using ZDO
What’s the difference compared to the standard and nZDM approaches?

1 2 3 4 5 6
Extraction Configuration Checks Preprocessing Execution Postprocessing

Technical downtime

RAMP SHUT
Standard UPTIME ON ORIGINAL INSTANCE DOWN DOWN
DOWNTIME RAMP UP UPTIME
Business downtime

Technical downtime

RAMP SHUT
nZDM UPTIME ON ORIGINAL INSTANCE DOWN DOWN
DOWNTIME RAMP UP UPTIME
Business downtime

RAMP
ZDO UPTIME ON ORIGINAL INSTANCE UPTIME ON BRIDGE DOWN
RESTART RAMP UP UPTIME

Business downtime
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 14
Exploring Zero Downtime Option for SAP S/4HANA
Moving activities from downtime into uptime

▪ With ZDO, all phases are executed during uptime processing

▪ Phases that caused long technical downtimes


− Table conversion and DDL execution - phase: PARCONV_UPG
− Main import - phase: TABIM_UPG
− XPRAs and AIM execution - phase: XPRAS_AIMMRG

▪ Preliminary steps

XPRAS_AIMMRG
PARCONV_UPG

TABIM_UPG
− ZDO readiness process needs to be fulfilled
− SAP S/4HANA only: Migration of
SAP HANA repository views to HDI

UPGRADE (V2)
RAMP
ZDO UPTIME ON ORIGINAL INSTANCE UPTIME ON BRIDGE DOWN
RESTART RAMP UP UPTIME

business downtime
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 15
Exploring Zero Downtime Option for SAP S/4HANA
ZDO Readiness Process

IMPACT
ANALYSIS

ZDO COMPLIANCE
CLASSIFICATION
CHECKS

ZDO READINESS
PROCESS

ENABLEMENT SILENT DATA


SHIPPED BY SAP MIGRATION

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 16


ZDO Readiness Process
Step 1: How SAP ensures the enablement of ZDO

SAP application developers Latest content for ZDO SAP Note 2707731 documents
are following ZDO enablement is shipped with known limitations of business
development guidelines support packages applications

SAP Note 2707731 – Prerequisites and restrictions of Zero Downtime Option of SUM for SAP S/4HANA.
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 17
ZDO Readiness Process
Step 2: What does table classification do?

BRIDGE
Read / Read /
Read
write write
Production
Shared Clone Clone read-only

Tab V1 = V2 Tab V1 Tab V1

synchronous
replication
using
database
triggers

Tab V2 Tab V2

Read / Read /
write write

UPGRADE DDL TABU AIM XPRA


SUM
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 18
ZDO Readiness Process
Step 3: SUM Impact Analysis – How does it work?

Sandbox
ZDO table classification SUM Impact Analysis for Zero Downtime Option
Table Classification Smart-switch
Source system ID: S4H Export date: 2019-09-01
Table-A Clone X
Clone Read- Size
Number
Read-
Table-B X of Database Smart-
only Table (GB) only Alert
updates trigger switch
check check
Table-C Shared / day

Table-D Clone X Potential


Info: Info: Risk for
Table-B Error no yes
0.03 624 business
users
Production
Potential
Export of table statistics (period: at least one week)
Risk for
Warning: Warning: yes:
Table-D OK yes business
Database Number of 151,31 315.814 Warning
and
Table Size in GB
trigger updates / day upgrade
Table-A - 53.921 4,21
Additional space required on reference system for cloned tables: 430 GB
Table-B - 624 0,03 Number of read-only tables with severe risk of business impact: 1

Table-C X 244.114 127,69 Number of tables that will be cloned, but are larger than 100 GB: 1
Number of tables that will be smart-switched: 3
Table-D X 315.814 151,31
Number of tables with database triggers: 2

SAP Note 2402270 - Export of Table Statistics for SUM Impact Analysis
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 19
SAP Note 2471883 - SUM Impact Analysis for ZDO
Demo
Perform the impact analysis
of Software Update Manager
using the dialog report *

* Report name:
RSUPG_RUN_IMPACT_ANALYSIS_DIA
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 20
ZDO Readiness Process
(Optional) Step 4: ZDO compliance checks for customer transports using ABAP Test Cockpit (ATC)

DEVELOPERS RELEASE MANAGEMENT BASIS ADMIN


using SE09, SE80 using new wizard using SUM tool

CREATE SELECT INCORPORATE


CUSTOMER TRANSPORTS TRANSPORT
TRANSPORT FOR BUFFER FILE BUFFER IN SUM

RUN COMPLIANCE RUN FORBIDDEN RUN IMPACT


CHECKS IN ATC OBJECTS CHECK ANALYSIS IN SUM

RELEASE RUN ATC CHECKS IMPORT


TRANSPORT FOR TRANSPORT TRANSPORTS
REQUEST BUFFER USING SUM

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 21


ZDO Readiness Process
Step 5: Silent data migration for SAP S/4HANA release upgrades

Decouples the simplification of Ensures compatibility by allowing Zero Downtime Option is


a data model from the functional the new version of an application to supported if no major version of
change of a business application. work with the old and the new SAP S/4HANA is skipped.
version of the data model.

Blogs: Silent Data Migration for S/4HANA 1909 Upgrade/Conversion / Monitoring Silent Data Migration (SDM_MON) – S/4HANA 1909 upgrade/conversion
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 22
Exploring Zero Downtime Option for SAP S/4HANA
Moving activities from downtime into uptime

▪ With ZDO, all phases are executed during uptime processing

▪ Phases that caused long technical downtimes


− Table conversion and DDL execution - phase: PARCONV_UPG
− Main import - phase: TABIM_UPG
− XPRAs and AIM execution - phase: XPRAS_AIMMRG

▪ Preliminary steps

XPRAS_AIMMRG
PARCONV_UPG

TABIM_UPG
− ZDO Readiness Process needs to be fulfilled
− SAP S/4HANA only: Migration of
SAP HANA repository views to HDI

UPGRADE (V2)
RAMP
ZDO UPTIME ON ORIGINAL INSTANCE UPTIME ON BRIDGE DOWN
RESTART RAMP UP UPTIME

business downtime
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 23
Introducing SAP HANA Transport for ABAP (HTA)
for SAP HANA Deployment Infrastructure (HDI)

ABOUT HTA FOR HDI


▪ Successor of HTA, available as of SAP_BASIS 7.52 SPS 02
▪ Available for objects created with SAP HANA XS Advanced
Model

WHY USING HTA FOR HDI?


▪ Deprecation of SAP HANA extended application services, classic
model (XSC) and SAP HANA repository
▪ New functionality using SAP HANA views will be shipped by HTA
for HDI
▪ Foundation for zero-downtime maintenance events of
SAP S/4HANA

SAP Note 2465027 - Deprecation of SAP HANA extended application service […]
SAP Note 2569651 - Configure your ABAP Development System for Development of HDI Objects
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 24
Preparing the SAP S/4HANA system for zero-downtime updates
Migration of native HANA views to HTA for HDI

▪ The old SAP HANA 1.0 repository stores


calculation views in a singleton schema
_SYS_BIC which is not zero-downtime compliant

▪ In future, new features and native SAP HANA


artifacts will be shipped using HDI containers to
be zero-downtime ready

▪ Several areas in SAP S/4HANA have already


provided reports to migrate native SAP HANA
content from SAP HANA repository 1.0 to HDI
containers

A tutorial “Migrating SAP HANA Repository-based Developments Used in ABAP to HTA for HDI” can be found on help.sap.com.
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 25
Option of Smooth
Software Update transition to the
KEY FACTS ABOUT
Manager bridge
ZERO DOWNTIME
OPTION

Minimal
Only a single
database space
restart needed
requirements
Agenda

Introduction: downtime-optimization approaches


▪ Overview of various scenarios and approaches to update and upgrade SAP S/4HANA

Downtime-optimization for SAP S/4HANA


▪ Continuous business operations by using Zero Downtime Option

Exploring Zero Downtime Option of SUM


▪ Technical insights and prerequisites for running Zero Downtime Updates

Project planning and customer experiences


▪ Most recent productive ZDO projects

Bottom line: Summary


▪ Key takeaways and session wrap-up

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 27


Planning a zero-downtime upgrade project
Example project planning
COPY PRODUCTION TO SANDBOX ENVIRONMENT

SANDBOX QUALITY

RECOMMENDED
MANDATORY
▪ Familiarize with the ▪ Functional validation COPY PRODUCTION TO
procedure on the bridge REHEARSAL ENVIRONMENT
▪ Technical and ▪ Enhance cookbook
functional validation and cutover plan
on the bridge ▪ Optimize and verify PRODUCTION
▪ Impact Analysis business downtime
▪ Create cookbook ▪ Establish new
release in production
environment
▪ Utilize ZDO approach
DEVELOPMENT REHEARSAL
RECOMMENDED

MANDATORY
▪ Refine cookbook ▪ Final dress rehearsal
▪ Technical validation ▪ Mandatory if quality
of procedure system was not
upgraded using ZDO
▪ Finalize cookbook
and cutover plan

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 28


Planning a zero-downtime upgrade project for SAP S/4HANA
How can you leverage Zero Downtime for SAP S/4HANA?

CHECK PLAN RUN

▪ Excited about running a zero- ▪ As a first step, a conference call ▪ The PoC will be done in close
downtime upgrade in your will be scheduled by SAP to… collaboration between SAP and
SAP S/4HANA system? − … discuss the requirements the customer

▪ Raise a registration incident as − … talk about the scope of the ▪ Regular conference calls will be
described in SAP Note 2707731 proof of concept scheduled by SAP
− … plan the engagement of
SAP ▪ A wrap-up meeting at the end of
the project will recap the results
▪ Align on the timeline and steps of the pilot program
to be performed as prerequisites

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 29


“With comprehensive services from SAP
Enterprise Support and leveraging the
zero downtime functionality in Software
© 2019 SAP SE or an SAP affiliate company. All rights reserved. | PUBLIC | Studio SAP | 66165enUS (19/10)

Update Manager, we can vastly reduce


business downtime using the proof of
concept for our upcoming release
upgrades of SAP S/4HANA. This allows
us to focus on innovative cancer-fighting
solutions.”
Nirmal Pannu, IT Senior Manager, Basis and SAP Security, Varian Medical
Systems Inc.

Varian Medical Systems Inc. Industry Employees Revenue Featured Solutions and Services
Palo Alto, California Healthcare 7,000 US$2.9 billion SAP S/4HANA®, SAP® Enterprise
www.varian.com Support services, and Software
Update Manager tool
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 30
Agenda

Introduction: downtime-optimization approaches


▪ Overview of various scenarios and approaches to update and upgrade SAP S/4HANA

Downtime-optimization for SAP S/4HANA


▪ Continuous business operations by using Zero Downtime Option

Exploring Zero Downtime Option of SUM


▪ Technical insights and prerequisites for running Zero Downtime Updates

Project planning and customer experiences


▪ Most recent productive ZDO projects

Bottom line: Summary


▪ Key takeaways and session wrap-up

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 31


Key takeaways about Zero Downtime Option for
SAP S/4HANA

AVAILABILITY
▪ ZDO is an option of Software Update Manager: The standard tool.

▪ For SAP S/4HANA, ZDO is available to pilot customers. For


details on the registration process, see SAP Note 2707731.

ADVANTAGES
▪ ZDO considers the overall business downtime for updates,
upgrades and customer releases.

▪ Significantly reduces the downtime to a single restart of the


application servers.

▪ Further reduction of business downtime by incorporation of


customer transports along with the SAP software update.

© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 32


Further Information

Software Update Manager


▪ Central SAP Note on SUM 2.0 SP09 SAP Note 2882379
▪ Central SAP Note on Zero Downtime Option SAP Note 2163060 and SAP Note 2707731
▪ Central SAP Note on nZDM ABAP SAP Note 1678564

The Software Logistics Toolset


▪ Central SAP Note for SL Toolset SAP Note 1563579
▪ SAP Support Portal quick link https://support.sap.com/sltoolset

SAP Community Blogs and SAP TechEd


▪ Session CAA301 "Leveraging Zero-Downtime Maintenance for SAP S/4HANA" at SAP TechEd 2019
▪ Leveraging Zero Downtime Option of SUM for SAP S/4HANA Support Package Stack updates
▪ The Delivery Channel for Software Logistics Tools: “Software Logistics Toolset 1.0”
▪ Impact Analysis as part of Software Update Manager 2.0
© 2020 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 33
Thank you.
Contact information:
Jens Fieger
Product Manager, Cloud & Lifecycle Management
Email: jens.fieger@sap.com

SAP Community: https://people.sap.com/jensfieger

You might also like