Source system:
SAP : EHP1 FOR SAP SRM 7.0
Database : Oracle 11.2.0.4
Operating System : Linux 11.3
Target system :
SAP : EHP3 FOR SAP SRM 7.0
Database : HANA 1.00.102
Operating System : Linux 11.3
1 Overview
This document shows you all steps of the update procedure with the Software Update
Manager (SUM) tool using its Downtime Migration Option (DMO).To smooth the way to the
target database, SAP introduced a one-step procedure that combines the system update and
the database migration. This is provided with the Database Migration Option (DMO) feature,
which is delivered with the Software Update Manager (SUM) tool, a part of the Software
Logistics Toolset (SLToolset).
2 Prerequisites
Download the below s/w from the Service Market Place
Capgemini Public
Register the Source system SRT in Service market place (SMP) apply and install license key.
Capgemini Public
You need the hardware key of Hanadb host for generating license key.
logon to hanadb SQL prompt using command
hdbsql -n localhost -i 00 -u SYSTEM -p ucs4HANA
use below sql command for hardware key.
hdbsql> SELECT HARDWARE_KEY, PRODUCT_NAME FROM M_LICENSE
Capgemini Public
Capgemini Public
Install the hana db license key using hana studio
Capgemini Public
Its in green status
Else:
Capgemini Public
Check pool, cluster tables & invalid BCD numbers.
Capgemini Public
Capgemini Public
All ok.
Capgemini Public
Execute report SDBI_CHECK _BCD_NUMBERS for checking invalid BCD numbers.
Capgemini Public
Check whether transport system is working properly
Capgemini Public
SE14 - Check and delete invalid Temporary tables.
Capgemini Public
DB02 : Check and create missing indexes
Capgemini Public
SM12: Remove old system locks.
Capgemini Public
SMQ1:Process all the stuck queues & delete failed queues.
Capgemini Public
SMQ2 :Process all the stuck queues & delete failed queues.
Capgemini Public
Configure SSFS for oracle:
Log on to SAPGLOBALHOST to the operating system as user <sid>adm and execute the
following commands:
chmod 700 <dir_global>/security
chmod 700 <dir_global>/security/rsecssfs
chmod 700 <dir_global>/security/rsecssfs/data
chmod 700 <dir_global>/security/rsecssfs/key
Use "ls -al" to check the result. For example:
Capgemini Public
Maintaining the SSFS profile parameters in Default profile:
rsec/ssfs_datapath = $(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$
(DIR_SEP)data
rsec/ssfs_keypath = $(DIR_GLOBAL)$(DIR_SEP)security$(DIR_SEP)rsecssfs$
(DIR_SEP)key
Capgemini Public
Default Profile parameter : rsdb/ssfs_connect = 1
Environment variable: rsdb_ssfs_connect 1
Set the environment variable permanently for both sidadm, orasid .
Go to /home/sidadm
Go to /home/orasid
Capgemini Public
Restart the system.
Current version:
Capgemini Public
./saphostexec -upgrade
Capgemini Public
Options: 7, 1,c,c,c
Options
Brtool options
7,5,c,c
Capgemini Public
Migration optimization Techniques for oracle DB:
Capgemini Public
Tuning the Oracle parameters for optimized export: change in PFILE
Capgemini Public
Restart the database.
startup mount;
Capgemini Public
Source System : SAPSYSTEMNAME Must be set to SID
Capgemini Public
Capgemini Public
Add entries in etc/hosts file in both hosts:
Enter hosts names of both source and targets apps and db servers.
if you want to keep your own schema name then add the parameter
/migrate/targetschemasid = SRM
Also add the parameter /ORA/update_spacestat = 0 as per sap standard document procedure.
If the file SAPup_add.par file does not exist in SUM/abap/bin then create the file and add the
parameters and place the file in SUM/abap/bin.
Execute the Verification Check for ECT system, registered in Solution manager system.
T-Code : LMDB
Capgemini Public
Verification check should be green before proceeding with stack file generation.
Capgemini Public
Tcode: solman_workcenter
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
For DMO we need to select two kernels.
One for source system database(oracle) & other for target system database (HANA).
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
3 DMO Upgrade & Migration:
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
AS EPS/in was 100% full we moved EPS/in to different directoty and created a soft link.
Capgemini Public
Capgemini Public
Capgemini Public
Perform SPDD and SPAU changes
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
Implement the below notes
Capgemini Public
Capgemini Public
Capgemini Public
Downloaded the IW_FNDGC 100 addon and repeated the phase.
Capgemini Public
Downloaded the required files and repeated the phase.
Capgemini Public
Even after providing the required files(IW_FNDGC) in download directory SUM tool was unable
to pick them.
Capgemini Public
New stack file generation as per above mentioned sap note.
Capgemini Public
Capgemini Public
Capgemini Public
2.3 Add-on selection, now select SAP GATEWAY 2.0 as per SAP note.
Capgemini Public
Below are the add-ons which we have selected as they were in green color (Mandatory
addon's).
Capgemini Public
2.4 section OS/DB INDEPENDENT FILES
For DMO we need to select two kernels one for source system db(oracle) and the other for
target system db (HANA).
Capgemini Public
The required files are automatically selected here in stack, which has actually caused the addon
conflicts.
Capgemini Public
`
Capgemini Public
Capgemini Public
We have provided the new stack file and repeated the phases from begining.
As we have generated new stack file few software components were added newly which were
missing from download directory.
when error was occured we have downloaded those files and placed them in download directory
and repeated the error phase.
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
brspace -function tscreate -tablespace PSAPSR3740 -class none -data both -size 200 -incrsize
200 -maxsize 32000 -autoextend yes
brspace -function tsextend -tablespace PSAPSR3740 -size 200 -incrsize 200 -maxsize 14095
-autoextend yes
Capgemini Public
Capgemini Public
Capgemini Public
Release all the transports from source system.
Capgemini Public
Capgemini Public
Mentioned object not found in database.
Capgemini Public
SA38: Execute the program BTCTRNS1 to pause the jobs.
Capgemini Public
Capgemini Public
Above highlighted command is used for migration.
Capgemini Public
Above Screen print shows the Migration process.
Capgemini Public
Capgemini Public
Hana memory issue:
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
Capgemini Public
4 Post activities
SGEN : Run sgen for compiling the all newly created programmes.
Capgemini Public
SA38: Release all the paused jobs using program BTCTRNS2.
Capgemini Public