0% found this document useful (0 votes)
82 views52 pages

Presteps:: Which Java Select Username " ", Default - Tablespace " "

The document provides steps for exporting an SAP system from a source system and importing it into a target system using sapinst. It includes checking prerequisites, setting environment variables, running sapinst on the source system to export the data, taking backups and deleting files on the target system, and running sapinst on the target system to import and restore the data. Potential issues that may occur during import include needing to copy Java files, changing deprecated parameters, and resolving errors with the UME password.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views52 pages

Presteps:: Which Java Select Username " ", Default - Tablespace " "

The document provides steps for exporting an SAP system from a source system and importing it into a target system using sapinst. It includes checking prerequisites, setting environment variables, running sapinst on the source system to export the data, taking backups and deleting files on the target system, and running sapinst on the target system to import and restore the data. Potential issues that may occur during import include needing to copy Java files, changing deprecated parameters, and resolving errors with the UME password.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 52

PRESTEPS :

 Check java version if JVM or JDK


 which java
 Check java user and tablespace
 select username "<source_java_user>", default_tablespace "<source_java_tablespace>"
from dba_users where username=(select owner from dba_tables where table_name =
'J2EE_CONFIG');
 Check /oracle/<SID>/sapdata* utilization of target system should be equal to/more than
source system
 Search for master installation DVD which consist of sapinst software in SAP Market Place :
Software Downloads  Support Packages and Patches  Search for Software Downloads 
Master Installation
 There are two options for System copy either FILESYSTEM export or full DATABASE export.
 When going for Homogeneous refresh select file-system export.
 When full database and filesystem export & import is done through sapinst, untick “Use
database specific tools”
EXPORT : (Source System – O78) Through sapinst

 Connect to root user through reflection X

 Set environment parameters :

export JAVA_HOME=/usr/sap/O78/JC61/exe/sapjvm_4/bin/java
export SAPINST_USE_HOSTNAME=sapo78  (check profile parameter SAPLOCALHOST)
export TEMP=/oracle/O78/sapdata4/inst_logs  (creation of sapinst logs)
export TMP=/oracle/O78/sapdata4/inst_logs
export TMPDIR=/oracle/O78/sapdata4/inst_logs

 Goto Master DVD installation for executing sapinst. Example as below :

/sysdoc/itaps/private/X78/O78_export_CD/BS_2005_SR2_SAP_Installation_Master/IM_AIX_PPC64/sapi
nst
/oracle/O78/sapdata4/export_O78
Presteps before IMPORT
 Take backup of below filesystem before start of import :
 /usr/sap/<SID>/j2ee
 /usr/sap/<SID>/SDM
 /usr/sap/<SID>/exe & /sapmnt/<SID>/exe
 /sapmnt/<SID>/global (if possible)
 /sapmnt/<SID>/global/security (IMP : securestore logins i.e j2ee_admin are available in this
directory required during login through visual admin)
 Delete folders j2ee , SDM, /sapmnt/<SID>/global/*JOBLG , /sapmnt/<SID>/global/*SYSLOG
 Take Backup of files .*env*.sh and .csh

Pre-screenshots of target system :


Port 5nn00

http://sapS75.pch.chem.corp.local:59600/index.html
JCO Connections :
UME
SLD connection :
BI SUPPORT DESK :
http//saps78.pch.chem.corp.local:51500/irj/servlet/prt/portal/prtroot/com.sap.ip.bi.supportdesk.de
fault
Visual Admin :

KEYSTORE : - / sapreposnfs/X78/S78_keys
License Adapter :
SLD Connections :
UME Provider :
Configtool :
Instance
DISPATCHER
Server
SECURESTORE :
IMPORT :
 Login through root user with Reflection X
 Set environment variables
export SAPINST_USE_HOSTNAME=saps78ms
export TEMP=/oracle/S78/sapdata2/instlogs_imp
export TMP=/oracle/S78/sapdata2/instlogs_imp
export TMPDIR=/oracle/S78/sapdata2/instlogs_imp
export PATH=$PATH:/usr/sap/S78/SYS/exe/run/sapjvm_4/bin
export JAVA_HOME=/usr/sap/S78/SYS/exe/run/sapjvm_4
 Start listener before starting the sapinst
/usr/java14_64/jre/lib/security/unrestricted_SR12.zip

Note : Not available, copy from different system


Global password : Password22@2
 Ignore the OS checks as it is not dependent for these two errors
 Continue
R3PAS123!

Password33!3
Check in /oracle/SID/

Password22@2
RESTORE :
Manual ACTIONS :

SQL> select name,open_mode from v$database;

NAME OPEN_MODE
--------- --------------------
S95 MOUNTED

SQL> recover database using backup controlfile until cancel;


ORA-00279: change 25972764 generated at 01/31/2015 09:24:15 needed for thread 1
ORA-00289: suggestion : /oracle/S95/oraarch/S95arch1_1_870427253.dbf
ORA-00280: change 25972764 for thread 1 is in sequence #1
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/oracle/S95/origlogA/log_g11m1.dbf
Log applied.
Media recovery complete.
SQL> alter database open resetlogs;

Database altered.

SQL> select name,open_mode from v$database;

NAME OPEN_MODE
--------- --------------------
S95 READ WRITE

SQL> show parameter spfile

NAME TYPE VALUE


------------------------------------ ----------- ------------------------------
spfile string /oracle/S95/112_64/dbs/spfileS
95.ora
SQL>
SQL> show parameter control_files

NAME TYPE VALUE


------------------------------------ ----------- ------------------------------
control_files string /oracle/S95/oraflash/S95/contr
olfile/o1_mf_bds43508_.ctl
 Solve the deprecated parameter , check in alert.log for accurate parameter to be changed in
init_<SID>.ora

Parameter = remote_os_authen

/oracle/S95/oraflash/S95/controlfile/o1_mf_bds43508_.ctl
 During install Java Engine Phase in import, it creates SDM_tmp dumps the content of
production data and then copies to SDM
Path  /usr/sap/S95/JC61
drwxr-xr-x 6 root sapinst 4096 Jan 31 12:52 SDM_tmp
drwxr-xr-x 4 s95adm sapsys 256 Jan 31 12:53 SDM

 LABELIDX.ASC – File contains directory names available in that folder


 LABEL.ASC – contains version of the export/software of Java
 Backup below directories/files :

/sapmnt/<SID>/profile
/sapmnt/<SID>/global/security/data
/sapmnt/<SID>/home/.*csh and /sapmnt/<SID>/home/.*sh (j2eeenv and dbenv)
Check java14_64 is available , else copy from other system. Also copy unrestricted_policy.zip file from
/usr/java14_64/jre/lib/security

 Error SAPJSF  Change the password in ABAP And then in GLOBAL server configuration under
ume.r3.master.password

service com.sap.security.core.ume.service ================= ERROR =================


Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service
Failed". Technical details: Name or password is incorrect (repeat logon)
at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)

You might also like