Downtime Maintenance (NZDM) For Java: Week 2 Unit 1: Introduction To Near-Zero
Downtime Maintenance (NZDM) For Java: Week 2 Unit 1: Introduction To Near-Zero
Perform maintenance
Supports great number
activities with drastically
of maintenance activities various updates reduced downtime optimized downtime
Great flexibility in
Ability to keep business-
adapting the procedure nZDM
critical functions running
to different landscapes Java during maintenance
and needs flexibility system availability
Prepare uptime
uptime Maintain uptime
uptime Switch downtime
downtime Postprocess
Post-process uptime
uptime
Approach
Approach 1 1
System switch
Switch
PRD*
PRD
clone
PRD* PRD PRD* PRD
PRD switch
switch PRD*
PRD* PRD
PRD PRD
PRD
REC
clone role
role
REC STOP
STOP RESTART STOP
STOP
Approach
Approach 2 2
PRD Production system
Switch
Database switch
REC nZDM Java recording nZDM Java replication
Maintenance (i.e. update
Isolated clone system with Software
SAP Software
Update
Update PRD* PRD*
PRD* with same SAP SID and Manager) and testing
PRD
PRD
switch
switch
PRD*
PRD* PRD
PRD PRD*
PRD*
hostname(s) RESTART
content
content STOP
STOP STOP
STOP
Old Old
6 Old
Clone creation
and isolation
4
2 Phase out
nZDM UI
7 System or DB switch
Technical validation
for Java
5 Production
Various maintenance activities operation
3 New
8
Old
version version
Time t1 t2 t3 t4
© 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 5
Introduction to Near-Zero Downtime Maintenance (nZDM) for Java
Set-up of the procedure
nZDM Java GUI/CLI
PRD
PRD PRD*
AS AS
nZDM Java
nZDM Java nZDM Java
nZDM Java
REC
PRD
PRD PRD*
REC
nZDM Java DB
DB DB nZDM Java
recording replication
PRD Production
system
© 2016 SAP SE or an SAP affiliate company. All rights reserved. Public 6
Introduction to Near-Zero Downtime Maintenance (nZDM) for Java
nZDM Java automation
SAP Enterprise Portal (SAP EP) SAP Process Orchestration (SAP PRO)
SAP NetWeaver 7.0 EHP 2, SP11 or higher SAP NetWeaver 7.3 EHP 1, SP2 or higher
SAP NetWeaver 7.3, SP7 or higher SAP NetWeaver 7.4
SAP NetWeaver 7.3 EHP 1, SP2 or higher SAP NetWeaver 7.5
SAP NetWeaver 7.4
SAP NetWeaver 7.5 Database Support
SAP HANA
SAP Business Process Management (SAP BPM) SAP ASE
SAP NetWeaver 7.3, SP7 or higher MS SQL Server
SAP NetWeaver 7.3 EHP 1, SP2 or higher Oracle
SAP NetWeaver 7.4 IBM DB2 for LUW
SAP NetWeaver 7.5 SAP MaxDB (SAP EP only)
No-Go
Preparation Ramp Backup & Upgrade SAP Technical Ramp
Go/
DB upgrade Post activities
activities down restore point Process Orchestration post MA up
Sys switch
Phase out
Target
No-Go
Upgrade SAP Online Technical
Go/
DB upgrade
system Process Orchestration replication post MA
Contact information:
[email protected]
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and
services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as
constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop
or release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time
for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially 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.
System Switch
Easy to use with existing virtual environment
Most effective approach regarding downtime
Fully integrated in LVM
OS and DB updates are possible
Lower resource consumption and performance impact on the source system
Database Switch
Useful when production system has a complex setup (e.g. HA) or has a big
DB size
Minimum modification of existing setup
OS and DB updates are not possible
Higher resource consumption and performance impact
Additional hardware
Load and space aspects
Separate host for GUI/CLI (Windows or Linux)
Online method for cloning should be in place
Isolation
Pretest is recommended
Uptime
Database
Original system
Uptime
nZDM
Download nZDM GUI from SAP GUI / CLI
Java AS
Service Marketplace and install it on
a separate host nZDM service
Source system
Source system
Uptime
nZDM
Clone the source system to a Java AS GUI / CLI Java AS
separate network location nZDM service
Database Database
Uptime
nZDM
Isolate the target Java AS GUI / CLI Java AS
Database Database
Uptime
nZDM
Preform planned maintenance Java AS GUI / CLI Java AS
activities on the target system nZDM service
Database Database
Uptime
nZDM
Connect the nZDM GUI/CLI to the Java AS GUI / CLI Java AS
target system and start nZDM nZDM service nZDM service
replication
Wait for the number of replicated Java SCS Java SCS
records to get close to the amount of
recorded data
Prepare/wait for system downtime Database Database
Downtime
nZDM
Choose to finish the nZDM procedure Java AS GUI / CLI Java AS
replication is complete
Java SCS Java SCS
Remove isolation of the target and
start it as the new production system
End of downtime Database Database
Uptime
Java SCS
Database
Upgraded system
Contact information:
[email protected]
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and
services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as
constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop
or release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time
for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially 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.
Uptime nZDM
GUI / CLI
Switch the system to “Business
Only” mode
Download the nZDM GUI from SAP
Java AS SAP WD SAP WD
Service Marketplace and install it on
a separate host nZDM service
Run and connect the nZDM GUI/CLI Java SCS SAP SCS
to the production (source) system Java ERS SAP ERS
nZDM
Uptime No HA/DR GUI / CLI
Database Database
Source system
nZDM
Uptime No HA/DR GUI / CLI Java AS
Database Database
nZDM
Downtime GUI / CLI Java AS
procedure
Stop the target system when nZDM Java AS SAP WD SAP WD
replication is complete
Remove isolation of the target and Java SCS Java SCS
start it as the new production
Java ERS Java ERS
system
End of downtime
Database Database
Uptime No HA/DR
Database Database
Upgraded system
Uptime
Database Database
Uptime
Java AS
Revert any changes done to make
the system run in “Business Only”
mode
SAP WD SAP WD
Database Database
UP
Up-to-date installation
Reduced downtime
Contact information:
[email protected]
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and
services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as
constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop
or release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time
for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially 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.
Contact information:
[email protected]
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and
services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as
constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop
or release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time
for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially 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.
Recording errors:
Fatal to the nZDM Java procedure
Recording in the source system is aborted
You have to reset the nZDM Java procedure and
start over from the beginning
Replication errors:
Non-fatal
Replication is stopped
Might be able to resolve the issue and resume
the replication
In the worst case, your target system might be
unusable
If this is the case, you have to create a new
target system and repeat all steps from that point
support.sap.com/sltoolset
Useful resources:
nZDM Java documentation
SAP Notes
SAP Community Network
Contact information:
[email protected]
© 2016 SAP SE or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate
company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its
affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and
services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as
constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop
or release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future
developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time
for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-
looking statements are subject to various risks and uncertainties that could cause actual results to differ materially 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.