HA250
HA250
HA250
Running an SAP system on SAP HANA database requires a specific SAP software
level. For a SAP BW system, the minimum level is SAP BW 7.3. This means that
the SAP system has to be updated before the migration takes place.
If the SAP system is updated, this may result in requirements for the database
host software, especially the database software release. So for some scenarios,
the source database software has to be updated before the update of the SAP
system takes place.
As with the SAP HANA database, non-Unicode systems are no longer supported.
So the migration procedure may have to cover the Unicode conversion as well.
Now with the database migration option (DMO) of the Software Update Manager
(SUM), the procedure is simplified. SAP system update and database migration
are combined in one tool, in one procedure. If required, the Unicode conversion
may be included as well. And for some source database types, it is not required
to update the source database software for the migration.
DMO simplifies the migration and is often referred to as the one-step procedure
to SAP HANA.
Another benefit is that the DMO procedure offers a new user interface (UI)
compared to standard update scenarios with SUM. The new UI is based on
SAPUI5.
Introduction to technical aspects of DMO
Software Update Manager (SUM)
SUM is the standard tool for update of SAP systems (based on SAP Net
Weaver)
Database migration option (DMO)
DMO is an option of SUM for a migration scenario (it is not a tool).
Software Provisioning Manager
Tool for system installation / copy / rename, dual-stack split (fka SAPinst),
especially used for the heterogeneous system copy ("classical migration")
SUM4HANA
"Software Update Manager for HANA" (SUM4HANA) was a different tool, updates
SAP HANA DB software, now part of "SAP HANA Lifecycle Manager"
The migration key has to be entered during the DMO run, as R3load requires the
key.
DMO is a new option inside the SUM. Currently, it does not cover all possible start
releases, so you have to consider the supported start releases for DMO:
SAP Business Suite Systems:
SAP Business Suite 7 (or above)
SAP ECC 5.0 or SAP ERP 6.0 (or above)
SAP BW systems:
SAP BW 7.0 (or above)
Hint: SP17 (or higher) required for SAP BASIS 7.0
Some scenarios are not possible with DMO:
DMO supports a migration to SAP HANA DB (&SAP ASE) only, a homogenous
migration is not supported (e.g. SAP HANA-> SAP HANA)
DMO can be started only for a maintenance: you need to apply at least one SP,
e.g. for ST-PI
SAP HANA requires a single stack, so DMO works only for AS ABAP based
systems; a dual-stack split option will not be included in DMO
DMO keeps the application server & SID - no switch possible
The same tool SUM can be used for a system maintenance, or for a DMO
procedure. Only the DMO procedure uses the new UI which is based on SAPUI5.
Note: SAPUl5 is based on jQuery, a javascript library.
You use a browser window to start the SUM for a DMO procedure by sending an
appropriate HTTP request to the SAP Host Agent. The URL that you use contains
the information for the SAP Host Agent what to do.
http://<host>:<hostagentport>/lmls/sumabap/<SID>doc/gui
<port> is the port of the SAP Host Agent ( 1129, or 1128 for plain HTTP)
Before the SAP Host Agent starts the SUM, it requests user and password of
<SID>adm user. This is required to start the SUM.
With user and password of <SID>adm user, the SAP Host Agent starts the
SAPup. The SAPup is the part of the SUM that is responsible for the ABAP stack.
As DMO is only working on ABAP systems, the SAPup is used for the DMO
procedure (and some SUM scripts, as described below).
to create or edit this file on your own, as the SUM has an option to create the file
for you:
SUMSTART confighostagent
Note: The option confighostagent does not start the SUM or SAPup permanently,
only for the short time it takes to create the file.
The operation should return a success message like Registering SUM in SAP
Host Agent finished.
The configuration file is created in a new sub directory operations.d. You may
check the configuration file using Notepad, but do not change the content of the
file.
DMO UI
SAPUI5 is an SAP library used in apps and offered for own development
The standard SUM functionality cannot be used with SAPUIS (not yet)
SAPUl5 is based on a JavaScript library (including jQuery)
Benefit: zero footprint , only browser
You can access the log files of the upgrade and migration procedure on the file
system level in the sub-directory <installation path> /SUM/abap/log or
navigating to Utilities Logs in the SUM UI
Using breakpoints, you can set a breakpoint that allows the DMO to stop before a
certain phase.
You can set/remove breakpoints under Utilities Breakpoints.
There is no role model like for a standard maintenance in SUM with administrator
and observer.
SUM conducts a count* for each table, counting the table rows.
With SUM 1.0 SP11, the option to compare the tables based on checksums was
introduced:
Content checks for selected tables of source & target database (using cyclic
redundancy checksums)
Generates checksums for e. g. every 10000 rows on source and target side and
compare
Dig deeper 'where checksums do not match until conflicting rows are found Stop
after discovering more than e. g. 200 differences -> points to systematic errors
Folders for monitoring and troubleshooting
The following folders are relevant for monitoring and troubleshooting (all folders
under SUM\abap\):
Hint: For DMO, the pre-configuration mode Single System will not work, as the
shadow system is required. It is handled as Standard.
Hint: The SUM option near-Zero Downtime Maintenance (nZDM) is not available
for a DMO procedure.
The DMO procedure is started from within a browser, sending an HTTP request to
the SAP Host Agent, as shown below.
R3load modes
The DMO procedures uses R3load for the migration, like the "classical migration"
based on the Software Provisioning Manager (formerly known as SAPinst) does.
For the typical classical migration, the R3load file mode is used.
The file mode means that the export files are created, and imported later.
Meanwhile it is also possible to use a parallel export and import for the classical
migration. Another possibility for the classical migration is to use the R3load
socket mode, which transfers the files using a socket connection.
With the DMO procedure, both R3load processes are executed on the same host,
the PAS host. This allows to use the R3load pipe mode which transfers the data
using the main memory of the host. No files are created, and so no directory has
to be prepared to host all export files.
In case the R3load stops, the SAPup will restart the process without the need of
manual intervention of a user.
The SUM can be configured to use the R3load file mode instead of the pipe
mode.
In this case, only temporary files are created. As soon as a file has been
processed by the R3load import process, the file is deleted.
Note: To manually set the file mode for DMO, a parameter has to be set
accordingly in the file SUM\abap\bin\SAPup_add.par. The parameter is called
/clonepar/method. Example:
/clone/method=file.
The two parts on the repository and on the application data consist of respective
phases with extension sizes, create, prp, and run:
SIZES: determination of table size (Used by PRP phases later)
CREATE: tables are created on SAP HANA DB (empty tables)
PRP: directories (migrate_*) and control files for execution created (STR, TSK,
CMD files for R3load)
RUN: transport of tables into SAP HANA based on files in directory
After the table creation on SAP HANA DB, the DMO procedure shows a dialog
proposing the Landscape Reorganization.
The sequence of the migration phases is as follows:
EU_CLONE_MIG_UT_SIZES
EU_CLONE_MIG_DT_SIZES
EU_CLONE_MIG_UT_CREATE
EU_CLONE_MIG_DT_CREATE
- (Landscape Reorg is proposed now)
EU_CLONE_MIG_UT_PRP
EU_CLONE_MIG_UT_RUN
EU_CLONE_MIG_DT_PRP
- (DT starts now)
EU_CLONE_MIG_DT_RUN
Only the migration of the application data is done during downtime (phase
EU_CLONE_MIG_DT_RUN).
Relevant directories for migration are: