Quantcast
Channel: Software Logistics
Viewing all articles
Browse latest Browse all 112

DMO: downtime optimization by migrating app tables during uptime (preview)

$
0
0
This blog discusses a new technique to further reduce the downtime of the Database Migration Option (DMO) procedure of Software Update Manager (SUM). Before reading this content, be sure to be familiar with the general concept of DMO, explained in Database Migration Option (DMO) of SUM - Introduction and in DMO technical background

 

Scope

Downtime optimized DMO will reduce the downtime of the DMO procedure. It integrates the SLT technology to enable the migration of selected (big) application tables during uptime processing of DMO, thereby reducing the downtime migration time.

 

Technology

During uptime processing, the source system is still available for end users. End user activity in the system may change application tables, so if these tables have already been migrated to the target database (SAP HANA database), the changes have to be recorded and transferred to the target database as well. The SLT technology (SAP LT REPLICATION SERVER) offers the required technology to set triggers on the respective application tables to create log entries, frequently analyze the logs, and transfer the delta to the target database. The SLT technology is part of the DMIS AddOn.

 

Specific considerations compared to "standard" DMO

  • The DMIS AddOn (SP06) has to be selected when creating the stack.xml in Maintenance Optimizer
  • A text file has to be created containing the application tables to be migrated during uptime (each table name in a separate line)
  • The allowed target release of SAP_BASIS is 740 SP5 or higher

 

Known limitations

  • The Unicode conversion for downtime-optimized DMO is not yet supported
  • Selection of application tables for uptime migration is currently a manual process
  • No monitoring of delta transfer ratio is offered yet
  • The following tables are not allowed:
    - Cluster or pool tables
    - Tables to be converted
    - Tables without primary key
    - Tables which start with /BI in the name
    - Basis tables and application exchange tables
       (Basis tables: tables part of software components SAP_BASIS, SAP_GWFND, or SAP_UI)

 

Registration for customers

Interested customers have to create an incident for component BC-UPG-TLS-TLA, specify their project details, and ask for pilot registration. Development will decide if conditions are met and if the project can be supported.


Abbreviations

  • SLT: SAP Landscape Transformation Server
  • PAS: Primary Application Server (fka CI)
  • PRD: Productive
  • SHD: Shadow
  • TGT: Target

 

Technical background

 

The initial situation is like for the "standard" DMO:

DMO_SLT_01.jpg

Again, like in standard DMO, the shadow repository is created by the shadow instance:

 

DMO_SLT_02.jpg

The shadow repository is copied from the source database to the target database, the SAP HANA database.

Note that the shadow instance is still existing, although currently not used, but not deleted as in the standard DMO.

DMO_SLT_03.jpg

Now the trigger for the selected application tables is set up, and the initial transfer of the triggered tables starts.

The triggers are set by the integrated DMIS technology.

DMO_SLT_04.jpg

Still in uptime, the delta transfer of the application tables is then done. Therefore, a job starts the DMIS reader (part of SLT) on the shadow instance to check for trigger logs, and transfer the delta to the DMIS writer. For the DMIS writer to write the data to the SAP HANA database, we need an additional instance

that uses the target version kernel for the SAP HANA database. This instance is called TMP instance (temporary).

DMO_SLT_05.jpg

Downtime starts, now the remaining delta of the application tables are migrated.

DMO_SLT_06.jpg

Now the remaining application tables (that have not been triggered) have to be migrated as in the standard DMO.

DMO_SLT_07.jpg

The target kernel is now applied to the PRD instance, the system is started to allow the update of the application tables. This is still business downtime.

DMO_SLT_08.jpg

Once the application tables are updated and the procedure is finished, the system is available again.

 

DMO_SLT_09.jpg


Viewing all articles
Browse latest Browse all 112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>