DMO With System Move - Target DB SAP HANA
DMO With System Move - Target DB SAP HANA
Many of you demand for this information and here you go with the step-by-step information migration
of on-premise system to any cloud using DMO procedure.
Cloud adoption during this era is common now for cost saving, more agile, security and moving
toward digital transformation and many more enhancement for making business processes intelligent.
For any activity before execution we need to discover each and every phase to understand the
requirement to make our next move successful, for that your preparation has to be perfect for smooth
execution and achieving the end results.
In 2013, SAP introduced new procedure called Database Migration Option (part of Software Update
Manager), which can help you during the migration to HANA database. It combines Unicode
conversion, system update and database migration into a single step which extremely simplified the
overall process
Scenarios: DMO with System move option provided by SAP, with that you can move you existing
landscape to Public Cloud Hyperscale as well HEC platform deployment model without disturbance in
Source and you can choose your target as HANA DB from any source Database (MSSQL, DB2,
Oracle).
Note: It’s a purely Technical execution document which will help in planning, preparation and
execution using SUM with DMO.
Pre-Steps – At Least Two Weeks before Starting: Always read the guide provided by SAP before
starting of any activities as always mentioned in my post.
Review SAP Notes: migration guides or Specific SAP Blog Return describing the overall
process.
SAP Note: SUM Note:2974351 Central Note - Software Update Manager 2.0 SP11
See also the PDF documents, which are attached to the DMO Note and the central SUM Note, for a
graphical representation of the supported update and upgrade paths.
Procedure
1. You start SUM on the PAS host with the normal system update and database migration
procedure.
2. During the SUM with DMO run, SUM displays a dialog in which you can enable the system
move option (see prerequisites above).
3. In a further dialog later on, you are prompted to transfer the SUM directory content from the
source system to the target system. You may also enter the target host name in case you
want to use a script for the parallel data transfer.
For more information on the data transfer, see System Move: Data Transfer
4. After the data transfer, the SUM with DMO procedure is complete on the source system, and
you continue with the procedure on the target system.
5. You finish the system update and database migration procedure on the target system.
System Data Cleanup: This should be done at least 2 weeks in advance of the
migration.
Cleanup (delete or archive) non-essential data and logs from the system in order to reduce
the migration volume and improve performance.
Prepare your Target system: We need to create a shell system on the target landscape
(Message Server, App, DB) prior to migrating HANA.
Create Large SAN Mounts for R3load transfers: for exported PAS instance to move to
create mount files eg. /mnt/SID_export.
Activate Inactive Objects: All inactive objects need to be active in the system. Otherwise
SUM will fail and report that it found inactive objects in the system.
For some of the custom objects, we may need SWD to activate them. Have SWD activate at
least 2 weeks in advance.
Ensure Perform the consistency check as a part of preparation it depends on business function for
BW and FICO: source system need to be consistent, user of Financial Accounting (FI) and
Controlling (CO) need to perform some preparatory activities, among others additional consistency
checks. {as mentioned follow the guide within that all step by step procedure are defined if you are
running your source DB in Oracle..}
Steps
1. Execute the transaction RSTPRFC
2. Select your production BW client
3. If a Destination is displayed, use transaction SM59 to check if the RFC destination works
4. If no Destination is displayed, enter the Destination name
<SID>CLNT<BW_CLIENT_NUMBER>, User and Password. The user in this RFC connection
should be the user which was created with SAP Customizing Implementation Guide activity
Create User for Background Processing in the standard BW client.
5. Press Enter to create the Destination
Checking pool tables and cluster tables:
This failed in because VER_CLUSTR doesn’t exist on the DB. We’ll have to see if that’s a problem or
not.
Then request the license for the new target system’s Hardware Key (found on the message server
using saplicense -get) store it out in /SAPupg/<SID>
We need to add a parameter called migration_only = 1 on the file SAPup_add.par in the path
If you don’t have the xml file generated then provide the path:
This approach (shadow operations only on target landscape) has a couple of implications:
The shadow operations happen on the target landscape, they take quite a while, and the transfer mode decides
whether this is uptime or downtime for the source system.
This is the transfer mode in which only one data transfer happens
You run the complete procedure on the source landscape until it is finished
This includes entering the downtime for the source system
Only then you copy the SUM folder from source to target
You start the SUM in the target and continue the procedure there
Only then the shadow operations run, which takes a while – in downtime!
[added on Feb 11 2021] Especially phases like these run in downtime then:
ACT_UPG
SPDD
SHD_IMPORT
SGEN
The following figure shows the point in time for which the source system is still in uptime, source SUM waits on
downtime dialog (upper left browser window), whereas the target SUM is executing phase
EU_CLONE_MIG_DT_IMP which is waiting for dump files to start the import.
Below table can be used to estimate the time and based on that, choose between an offline transfer
or over the network transfer. The table shows the projected time for network data transfer, for various
available network bandwidths (assuming 90% utilization)
While migrating system from on-premise to azure, data needs to be transferred in 2 phases if we are
using online transfer (This approach was used during this migration)
AzCopy – Use this command-line tool to easily copy data to and from Azure Blobs, Files, and Table
storage with optimal performance. AzCopy supports concurrency and parallelism, and the ability to
resume copy operations when interrupted
OPTION – 1
Once the export phase is completed, copy the entire SUM folder to the Azure blob and from Azure
Blob to target server.
For example: It would take 12 hours for copying data(1.5 TB) from source to target with 500 Mbps
speed
OPTION – 2
When the export phase is started, data can be transferred intermittently to Azure blob and from Azure
Blob to target server.
For example, if EXPORT phase runs 16 hours, data can be copied every 3 hours intermittently to
Azure blob and from Azure Blob to target server since AzCopy supports parallelism, and has the
ability to resume copy operations when interrupted.
In this scenario data is copied to target server parallelly while the EXPORT phase is running and
hence optimizing the copying method and saving around 12 hours (compared to OPTION -1 as
mentioned above)
Once the data was available on target server, start the SUM and proceed with IMPORT phase of
DMO.
Target system
Copy the SUM directory in target system and extract SUM on top of copied SUM directory and start
SUM
Post Processing:
SUM saves the log files and prompts you to start certain follow-up activities.
The following actions are carried out:
Cleanups
Transaction SPAU
Transport unlock
Further features:
● Postprocessing includes several SAP BW-specific phases
● Evaluation of the update and migration process is written to the file /abap/doc/ UPGANA.XML. To display this
file in a human-readable form, store the file UpgAnalysis.xsl in the same directory.
Never Stop Learning, Never Stop Exploring
Jasbir Khanuja
Page | 44
Benefits of SAP DMO
Migration steps are simplified
System update and database migration are combined in one tool
Business Downtime is reduced, Unicode conversion can be included as well
Well known tool SUM is used, with improved UI
Combined procedure needs only one maintenance phase (not two)
In place upgrade and migration keeps application server and System-ID stable (avoids landscape
changes (SID, host name, …))
Original database is kept, can be reactivated as fallback
Lower prerequisites for SAP and DB start releases
Well known tool SUM is used, with improved UI
DMO can be used for SAP Netweaver BW and for SAP Business Suites systems
Technical aspect and Restrictions of SAP DMO
No certification required for consultants using DMO of SUM
No migration check service required for DMO on productive systems
Still the migration key has to be entered during the DMO run, as R3load requires the key
DMO supports a migration only to SAP HANA DB
DMO works only for AS ABAP based systems
A dual-stack split is not be included in DMO
• SAP Notes 813548 Database migration option (DMO) for Software Update Manager
• SAP Notes 1799545 Using DMO of SUM for SAP BW systems
• SAP Notes 1875197 Using DMO of SUM for SAP Business Suite systems
• SAP Notes 1031096 Installing Package SAPHOSTAGENT
• SAP Notes 1968508 Release change & Single Code Page Conversion to Unicode with DMO
• SAP Notes 1813548 for the latest information regarding Database migration option (DMO) for Software Update
Manager
This document is the ask from with multiple request who all are currently in planning phase or plan
moving their existing system migrating into Cloud with target database HANA, that the reason before
week I share the post and mentioned go through this DMO document and wait for a week.
Jasbir Khanuja