This section contains information about recommended execution cycles and further important planning aspects such as rollover to bridge subsystem.
Before performing the upgrade using Zero Downtime Option in the productive system, it is essential to plan and prepare the project. This includes the execution of test upgrade cycles in non-productive systems.
The first upgrade cycle is essential for the overall success of the upgrade project. Based on this, you will determine if ZDO is the right approach to follow in your upgrade project.
Note
The very first upgrade cycle has to be executed in a sandbox environment. It is highly recommended to create a sandbox system based on a recent system copy of the productive SAP S/4HANA® system.Purposes of running the first cycle in a sandbox environment
- Familiarize yourself with the technical upgrade approach ZDO
- Understand and set expectations regarding the business downtime
- Technical and functional validation of the bridge subsystem
- Performing business validation tests on the bridge subsystem in the sandbox system helps to verify that all core business processes are functional when running on the bridge subsystem
- Analyze potential conflicts and impacts on critical business processes using the Impact Analysis
- Address technical and functional findings to the responsible teams
- Start creating an upgrade cookbook
Note
The test effort in the case of ZDO is higher compared to a standard upgrade as the source release should be tested and validated in a non-productive system. This also needs to be considered in terms of project planning.Exemplary High-Level Project Plan
In general, it is recommended that you follow the same upgrade approach (either standard, nZDM, or ZDO) throughout the complete landscape for all systems. Hence, the following is an exemplary project plan for a 3-tier landscape that includes all systems from sandbox to production.
Cycle 1 and cycle 2 might be combined into one test cycle that focuses on both the technical validation of the ZDO procedure and the functional validation of the source release when running on a bridge subsystem.
Note
The results of cycles 1 and 2 need to be checked carefully, especially if the results of the Impact Analysis should be interpreted and discussed with the respective functional teams. Based on these findings, a go or no-go decision for the further ZDO project should be taken.ZDO is used in general for all systems including development and quality assurance test systems. The last cycle before production has to run on a recent copy of production to rehearse to overall upgrade sequence. This ensures that the test shows all potential issues that might occur in production.
Additional Steps for ZDO
In addition to the standard update procedure using Software Update Manager, consider the following enhanced steps for ZDO.
Interpreting the results of the Impact Analysis
This part is essential and must not be skipped. By ignoring the results, you can hit severe business impact in production if business-relevant tables that were not checked beforehand are set to read-only.
Functional validation during the bridge runtime on a non-productive system
All business processes that need to be available for day-by-day operations on the bridge subsystem should be tested. This essentially means that the source release must be validated again. Compared to standard upgrades, where typically only the target release is tested, the effort for testing may significantly increases.
Considering load verification
Like the functional validation, a load verification is recommended to be triggered on a non-productive system during the time when users work on the bridge subsystem. From an upgrade tool perspective, there is no requirement in having real users on the system. The load can also be generated using any load generation and testing tool.
Testing the Database Replication Setup
Database triggers used by SAP Landscape Transformation (SLT) scenarios require more attention in case of ZDO.
Note
In case SLT is used in the production system, it is strongly recommended that you perform this test as part of the first ZDO upgrade test cycle in the sandbox environment.The Right Timing for Rollover and Rollback
This section deals with the estimation of the correct timing for rollover and rollback.
We recommend that you perform the rollover to the bridge subsystem at off-peak hours. Some steps after the rollover like the smart-switch in the phase EU_SWITCH_ZDM need to acquire an exclusive database lock on the table to switch the table on-the-fly. Software Update Manager Toolbox offers the feature "DB Table Lock Analyzer" to identify periods of time in which Software Update Manager can acquire required database locks. The Software Update Manager Toolbox report RSTBX_LOCK_DATA_COLLECTOR can be scheduled as a regular background job in the production system. The job collects information about database locks that are requested during production operation. The results listing busy tables are available in Software Update Manager Toolbox. Optionally, Software Update Manager table classification data from any previous Software Update Manager run with the same software stack (for example, sandbox system) can be uploaded to narrow down the result.
Align the rollover to the bridge system with the functional teams. From this time onwards, the read-only restrictions on the read-only tables are active.
Calculate the rollover to the bridge subsystem based on the runtimes from the test cycle.
Assume that, as per the upgrade analysis file (UPGANA.XML), the net-runtime of the bridge subsystem in the dress rehearsal cycle took approximately 19 hours. Then, to calculate the recommended runtime of the bridge subsystem in production, a buffer of 24 hours should be added.
The productive bridge runtime should be calculated as follows:
Note
The buffer of 24 hours is highly recommended to compensate unexpected longer runtimes as well as unforeseen issues.- Take the value Bridge Time stated in the upgrade analysis file. In this example, the net-runtime in the dress rehearsal was 19 hours
- Recommended runtime of the bridge subsystem in production should be at least 19 hours + 24 hours = 43 hours
Now, by knowing that the recommended minimum runtime of the bridge subsystem in the example should be approximately 43 hours, the timing for the rollover to bridge can be calculated.
Note
There is no maximum runtime of the bridge subsystem. As long as there are not restrictions for the business, you can extend the bridge runtime to fit your project requirements.