Refresh
Refresh
Refresh
1
follow as per run book
2.6
follow as per run book
2.7
(oraae6@am2hc219-PE6 AE6 SANDBOX-) /oracle/AE6/dbs > grep dbf initAE6.ora
*.control_files='/oracle/AE6/sapdata1/cntrl/cntrlAE6.dbf','/oracle/AE6/saparch/cntrl/cntrl
AE6.dbf','/oracle/AE6/origlogA/cntrl/cntrlAE6.dbf'
2.9
SMLG
Rz12
2.10
2.11
2.12
DB13
2.13
(ae6adm@am2hc219-PE6 AE6 SANDBOX-) /home/ae6adm > saplicense -show
LICENSE system: AE6 hardware key: M0726937769 expiration_date: 99991231
installation no: 0020115064 key: EVJWQKNMDJXPGJMHJHKLB1AC
userlimit: 0 productid: R3_ORA
system-nr: 000000000310137591
*** license useable ***
LICENSE system: PE6 hardware key: C1484689195 expiration_date: 99991231
installation no: 0020115064 key: 421GHAJAKTQX6VN3C6RHRANT
userlimit: 0 productid: R3_ORA
system-nr: 000000000310364480
*** license useable ***
LICENSE system: PE6 hardware key: E1268246061 expiration_date: 99991231
installation no: 0020115064 key: N782KZZJ8JGONA8K4R2Y9GHH
userlimit: 0 productid: R3_ORA
system-nr: 000000000310364480
*** license useable ***
LICENSE system: PE6 hardware key: F1726079308 expiration_date: 99991231
installation no: 0020115064 key: PNTT8NAQJQQQTVPVNVX86S1Z
userlimit: 0 productid: R3_ORA
system-nr: 000000000310364480
*** license useable ***
2.14
(oraae6@am2hc219-PE6 AE6 SANDBOX-) /oracle/AE6/sapreorg/ae6_apr20_refresh >
exp " '/ as sysdba' " file=ae6_170410_1.dmp
tables=SAPPE6.RSECTAB,SAPPE6.RSECACTB,SAPPE6.RFCATTRIB,SAPPE6.RFC
DES,SAPPE6.RFCDESSECU,SAPPE6.RFCDOC,SAPPE6.RFCTRUST,SAPPE6.RFCS
YSACL,SAPPE6.IACORDES,SAPPE6.TSPSV,SAPPE6.TSPSI,SAPPE6.TSP03,SAPPE
6.TSP03A,SAPPE6.TSP03C,SAPPE6.TSP03D,SAPPE6.TSP03L,SAPPE6.TSP03T,SAP
PE6.TBD11,SAPPE6.TWPURLSVR,SAPPE6.ROIDOCPRMS,SAPPE6.V_TBDLS,SAP
PE6.SXNODES,SAPPE6.SXROUTE,SAPPE6.SXSERV,SAPPE6.SXADMINTAB,SAP
PE6.SXDOMAINS,SAPPE6.SOPR,SAPPE6.SXADDRTYPE,SAPPE6.SXCONVERT,S
APPE6.SXCONVERT2,SAPPE6.SXCOS,SAPPE6.SXCOS_T,SAPPE6.SXDEVTYPE,S
APPE6.SXFORMATG,SAPPE6.SXJOBS,SAPPE6.SXRETRY,SAPPE6.SXRFC,SAPPE
6.SXTELMOIN,SAPPE6.SXTELMOOUT,SAPPE6.T160PR,SAPPE6.TWPSSO2ACL,S
APPE6.SSF_PSE_H,SAPPE6.SSF_PSE_D,SAPPE6.SSFARGS,SAPPE6.SXMSCONFV
L,SAPPE6.CREP_HTTP,SAPPE6.HTTPURLLOC,SAPPE6.RSADMINA,SAPPE6.RSD
DTREXADMIN,SAPPE6.RSPOR_T_PORTAL buffer=1024000 grants=N indexes=N
consistent=Y compress=N direct=y log=ae6_170410_1.log
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
EXP-00105: parameter CONSISTENT is not supported for this user
Export done in WE8DEC character set and UTF8 NCHAR character set
Note: grants on tables/views/sequences/roles will not be exported
Note: indexes on tables will not be exported
2.18
2.22 E070L
2.24
Preserver BBP_CAT_VALUES.
exp " '/ as sysdba' " file=ae6_101209_bbpcatval.dmp tables=sappe6.bbp_cat_values
buffer=1024000 grants=N indexes=N consistent=Y compress=N direct=y
log=ae6_101209_bbpcatval.log
2.25
exp " '/ as sysdba' " file=ae6_101209_sncsysacl.dmp tables=sappe6.sncsysacl
buffer=1024000 grants=N indexes=N consistent=Y compress=N direct=y log=
ae6_101209_sncsysacl.log
2.26
2.27
2.28
exp " '/ as sysdba' " file=ae6_101209_smen_buffc.dmp tables=sappe6.smen_buffc
buffer=1024000 grants=N indexes=N consistent=Y compress=N direct=y log=
ae6_101209_smen_buffc.log
smen_buffi
exp " '/ as sysdba' " file=ae6_101209_smen_buffi.dmp tables=sappe6.smen_buffi
buffer=1024000 grants=N indexes=N consistent=Y compress=N direct=y log=
ae6_101209_smen_buffi.log
2.33
exp " '/ as sysdba' " file=exportbug.dmp owner=bugreq indexes=y grants=y direct=y
log=exportbug.log
am2hc219:oraae6 61> exp " '/ as sysdba' " file=exportbug.dmp owner=bugreq indexes=y
grants=y direct=y log=exportbug.log
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in WE8DEC character set and UTF8 NCHAR character set
2.34
COMMAND: am2hc219:oraae6 1> exp sapae6db/penguin7 file=exportj2ee_2.dmp
full=y indexes=y grants=y direct=y log=exportj2ee_2.log (done in /ORACLE/AE6)
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
EXP-00023: must be a DBA to do Full Database or Tablespace export
(2)U(sers), or (3)T(ables): (2)U > mode (2) U(sers)
Export done in WE8DEC character set and UTF8 NCHAR character set
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user SAPAE6DB
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user SAPAE6DB
About to export SAPAE6DB's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export SAPAE6DB's tables via Direct Path ...
. . exporting table BC_CMSRTS 0 rows exported
. . exporting table BC_COMPVERS 339 rows exported
. . exporting table BC_CPT_ACTION 0 rows exported
. . exporting table BC_CPT_ALLOC_ID 0 rows exported
. . exporting table BC_CPT_CORRELATOR 0 rows exported
. . exporting table BC_CPT_CORR_DEF 0 rows exported
. . exporting table BC_CPT_IMPORT_LOCK 0 rows exported
Table BC_CPT_METRIC will be exported in conventional path.
. . exporting table BC_CPT_METRIC 0 rows exported
. . exporting table BC_CPT_METRIC_DEF 0 rows exported
. . exporting table BC_CPT_MODULE 0 rows exported
. . exporting table BC_CPT_ORIGIN 0 rows exported
. . exporting table BC_CPT_PROVIDER 0 rows exported
. . exporting table BC_CPT_RECORD 0 rows exported
. . exporting table BC_CPT_RECORD_CORR 0 rows exported
. . exporting table BC_CPT_THREAD 0 rows exported
. . exporting table BC_CVERS 0 rows exported
. . exporting table BC_DDDBRTH 129 rows exported
. . exporting table BC_DDDBRTX 11759 rows exported
Table BC_DDDBTABLERT will be exported in conventional path.
. . exporting table BC_DDDBTABLERT 129 rows exported
. . exporting table BC_ETE_ACTIVITIES 0 rows exported
. . exporting table BC_ETE_SYSACTIVITY 0 rows exported
. . exporting table BC_ETE_SYSORIGIN 0 rows exported
. . exporting table BC_ETE_SYSTEMS 0 rows exported
. . exporting table BC_JARM_CHISTORY 0 rows exported
. . exporting table BC_JARM_COMPONENT 0 rows exported
. . exporting table BC_JARM_REQUEST 0 rows exported
. . exporting table BC_JARM_RHISTORY 0 rows exported
. . exporting table BC_JARM_UHISTORY 0 rows exported
. . exporting table BC_JARM_USER 0 rows exported
Table BC_JMSDMSGQ will be exported in conventional path.
. . exporting table BC_JMSDMSGQ 0 rows exported
Table BC_JMSQUEUE will be exported in conventional path.
. . exporting table BC_JMSQUEUE 0 rows exported
Table BC_JMSTOPIC will be exported in conventional path.
. . exporting table BC_JMSTOPIC 0 rows exported
. . exporting table BC_JMSTOPICSUB 0 rows exported
Table BC_JMSTXLOG will be exported in conventional path.
. . exporting table BC_JMSTXLOG 0 rows exported
. . exporting table BC_MON_AGREGATES 0 rows exported
. . exporting table BC_MON_ID_ALLOC 0 rows exported
. . exporting table BC_MON_MONITORS 0 rows exported
Table BC_RPROF_PROFILE will be exported in conventional path.
. . exporting table BC_RPROF_PROFILE 3 rows exported
. . exporting table BC_SCCOMPAT 0 rows exported
. . exporting table BC_SCCOVERAGE 0 rows exported
. . exporting table BC_SCREQUIRED 0 rows exported
. . exporting table BC_SCVERSION 0 rows exported
Table BC_SESSIONFAILOVER will be exported in conventional path.
. . exporting table BC_SESSIONFAILOVER 0 rows exported
. . exporting table BC_SLD_ASSINST 0 rows exported
. . exporting table BC_SLD_ASSOC 0 rows exported
Table BC_SLD_CHANGELOG will be exported in conventional path.
. . exporting table BC_SLD_CHANGELOG 0 rows exported
Table BC_SLD_CLASS will be exported in conventional path.
. . exporting table BC_SLD_CLASS 0 rows exported
Table BC_SLD_DELTAEXPORT will be exported in conventional path.
. . exporting table BC_SLD_DELTAEXPORT 0 rows exported
Table BC_SLD_INST will be exported in conventional path.
. . exporting table BC_SLD_INST 0 rows exported
. . exporting table BC_SLD_INSTANCES 0 rows exported
Table BC_SLD_LONGVALUES will be exported in conventional path.
. . exporting table BC_SLD_LONGVALUES 0 rows exported
. . exporting table BC_SLD_NAMESP 0 rows exported
. . exporting table BC_SLD_NAMESPACES 0 rows exported
. . exporting table BC_SLD_PROPARRAYS 0 rows exported
. . exporting table BC_SLD_PROPERTIES 0 rows exported
. . exporting table BC_SLD_PROPERTYREF 0 rows exported
Table BC_SLD_QUAL will be exported in conventional path.
. . exporting table BC_SLD_QUAL 0 rows exported
. . exporting table BC_SLD_QUALIFIERS 0 rows exported
. . exporting table BC_SLD_ROLE 0 rows exported
. . exporting table BC_SLM_JNET 0 rows exported
Table BC_SLM_JNET_DATA will be exported in conventional path.
. . exporting table BC_SLM_JNET_DATA 0 rows exported
. . exporting table BC_SLM_PLAN 0 rows exported
Table BC_SLM_PLAN_CIM will be exported in conventional path.
. . exporting table BC_SLM_PLAN_CIM 0 rows exported
Table BC_SLM_PLAN_DATA will be exported in conventional path.
. . exporting table BC_SLM_PLAN_DATA 0 rows exported
. . exporting table BC_SLM_USER 0 rows exported
Table BC_SYNCLOG will be exported in conventional path.
. . exporting table BC_SYNCLOG 124 rows exported
Table BC_UDDI_ACCOUNT will be exported in conventional path.
. . exporting table BC_UDDI_ACCOUNT 0 rows exported
. . exporting table BC_UDDI_BE_DISCURL 0 rows exported
Table BC_UDDI_BE_MAIN will be exported in conventional path.
. . exporting table BC_UDDI_BE_MAIN 0 rows exported
Table BC_UDDI_BS_MAIN will be exported in conventional path.
. . exporting table BC_UDDI_BS_MAIN 0 rows exported
. . exporting table BC_UDDI_BS_PROJ 0 rows exported
Table BC_UDDI_BT_MAIN will be exported in conventional path.
. . exporting table BC_UDDI_BT_MAIN 0 rows exported
Table BC_UDDI_BT_TMINST will be exported in conventional path.
. . exporting table BC_UDDI_BT_TMINST 0 rows exported
Table BC_UDDI_CHGREC will be exported in conventional path.
. . exporting table BC_UDDI_CHGREC 0 rows exported
Table BC_UDDI_CHGREC_ERR will be exported in conventional path.
. . exporting table BC_UDDI_CHGREC_ERR 0 rows exported
. . exporting table BC_UDDI_ELEM_CB 0 rows exported
. . exporting table BC_UDDI_ELEM_IB 0 rows exported
Table BC_UDDI_ELEM_KEY will be exported in conventional path.
. . exporting table BC_UDDI_ELEM_KEY 0 rows exported
. . exporting table BC_UDDI_ELEM_NAME 0 rows exported
. . exporting table BC_UDDI_PARAM 82 rows exported
Table BC_UDDI_PUBA will be exported in conventional path.
. . exporting table BC_UDDI_PUBA 0 rows exported
. . exporting table BC_UDDI_SESSION 0 rows exported
. . exporting table BC_UDDI_STAT 0 rows exported
. . exporting table BC_UDDI_TAXONOMY 0 rows exported
. . exporting table BC_UDDI_THREAD 0 rows exported
Table BC_UDDI_TM_MAIN will be exported in conventional path.
. . exporting table BC_UDDI_TM_MAIN 0 rows exported
Table BC_WA_GROUP will be exported in conventional path.
. . exporting table BC_WA_GROUP 0 rows exported
Table BC_WA_SYSTEM will be exported in conventional path.
. . exporting table BC_WA_SYSTEM 0 rows exported
. . exporting table BC_WA_SYS_TO_GROUP 0 rows exported
. . exporting table BC_WA_USER 0 rows exported
. . exporting table BC_XMLA_ASESSIONS 0 rows exported
. . exporting table BC_XMLA_ASETS 6 rows exported
. . exporting table BC_XMLA_COL 1 rows exported
. . exporting table BC_XMLA_COL_INDEX 0 rows exported
. . exporting table BC_XMLA_COL_STORE 0 rows exported
. . exporting table BC_XMLA_CONFIG 0 rows exported
. . exporting table BC_XMLA_INDEX_COLS 0 rows exported
. . exporting table BC_XMLA_INDEX_DICT 0 rows exported
. . exporting table BC_XMLA_LOCKING 0 rows exported
. . exporting table BC_XMLA_MAXIDS 5 rows exported
. . exporting table BC_XMLA_NAMESPACES 0 rows exported
. . exporting table BC_XMLA_POLLING 0 rows exported
. . exporting table BC_XMLA_PROPS 0 rows exported
. . exporting table BC_XMLA_RES 0 rows exported
. . exporting table BC_XMLA_RESTYPES 4 rows exported
Table GLAS_MEASUREMENT will be exported in conventional path.
. . exporting table GLAS_MEASUREMENT 0 rows exported
. . exporting table J2EE_CONFIG 7803 rows exported
Table J2EE_CONFIGENTRY will be exported in conventional path.
. . exporting table J2EE_CONFIGENTRY 16623 rows exported
. . exporting table J2EE_KEYSEQUENCE 1 rows exported
. . exporting table SP_PLUG_IN_SAVES 0 rows exported
Table SP_RESULTS will be exported in conventional path.
. . exporting table SP_RESULTS 0 rows exported
Table SP_STORAGE will be exported in conventional path.
. . exporting table SP_STORAGE 2 rows exported
. . exporting table TC_WDRR_FGUID 0 rows exported
. . exporting table TC_WDRR_LAYERS 2 rows exported
Table TC_WDRR_MRO_FILES will be exported in conventional path.
. . exporting table TC_WDRR_MRO_FILES 189 rows exported
Table TC_WDRR_MRO_LANG will be exported in conventional path.
. . exporting table TC_WDRR_MRO_LANG 0 rows exported
. . exporting table TC_WDRR_MRO_LUT 199 rows exported
. . exporting table TC_WDRR_TYPES 3 rows exported
. . exporting table TC_WDRR_VARIANTS 0 rows exported
. . exporting table UME_ACL_ACL 0 rows exported
. . exporting table UME_ACL_ACLENTRY 0 rows exported
. . exporting table UME_ACL_MANAGER 0 rows exported
. . exporting table UME_ACL_OWNER 0 rows exported
. . exporting table UME_ACL_PERM 0 rows exported
. . exporting table UME_ACL_PERM_MEM 0 rows exported
. . exporting table UME_ACL_SUP_PERM 0 rows exported
Table UME_BLOBS will be exported in conventional path.
. . exporting table UME_BLOBS 0 rows exported
. . exporting table UME_STRINGS 264 rows exported
. . exporting table UME_USERNUMBER 0 rows exported
Table UME_USERSYNC will be exported in conventional path.
. . exporting table UME_USERSYNC 0 rows exported
. . exporting table UME_USERSYNCLOCK 0 rows exported
. . exporting table UME_USERSYNCTEMP 0 rows exported
. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
. exporting indextypes
. exporting bitmap, functional and extensible indexes
. exporting posttables actions
. exporting materialized views
. exporting snapshot logs
. exporting job queues
. exporting refresh groups and children
. exporting dimensions
. exporting post-schema procedural objects and actions
. exporting statistics
Export terminated successfully with warnings.
2.29
2.35 AND 2.36
PERFORM WHEN DOWNTIME STARTS
SM59
Internal Connections
Disable Cron tab
Crontab –e
su - ipcadm
cd /usr/sap/<SID>/D*/ipc/bin
./ipcserver stop
./ipcdispatcher stop
Crontab -e
Now login to source system and create the control fileusing the command
sql> alter database backup controlfile to trace;
goto /saptrace/usertrace
and open the trace file with “ VI” COMMAND
FIRST 2 LINES SHOULD ,
CHANGE “REUSE” TO SET AND “NORESETLOGS” TO RESETLOGS”
AND RENAME THE SOURCE SID TO TARGET SID USING COMMAND
%s/PE6/AE6/g
Than rname the trace file to control.sql
NOW copy the control file to target system using command scp
Move the archive files from source to target and chabe the owner and permissions and
rename the files from source to target and gunzip the archive files.
Start listner
1 = Instance management
2 - Space management
3 - Segment management
4 - Backup and database copy
5 - Restore and recovery
6 - Check and verification
7 - Database statistics
8 - Additional functions
9 - Exit program
########################################################################
#######
########################################################################
#######
BR0668I Warnings or errors occurred - you can continue to ignore them or go back to
repeat the last action
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit
4.13
FOLLOW AS RUN BOOK
4.15
4.16
FOLLOW AS RUN BOOK
4.17
FOLLOW AS RUN BOOK
4.19 TO 4.24
FOLLOW AS RUN BOOK
4.38 TO 4.40
FOLLOW AS RUN BOOK
4.44
FOLLOW AS RUN BOOK
4.48
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Import Java
4.49
USERNAME DEFAULT_TABLESPACE
------------------------------ ------------------------------
OPS$AE6ADM SYSTEM
OPS$ORAAE6 SYSTEM
BUGREQ PSAPBUGSEYE
SAPPE6 PSAPPE6USR
CTXSYS PSAPBUGSEYE
PATROL PSAPPAT1D
SAPPE6DB PSAPPE6DB
SYS SYSTEM
SYSTEM SYSTEM
DBSNMP SYSTEM
OUTLN SYSTEM
USERNAME DEFAULT_TABLESPACE
------------------------------ ------------------------------
TSMSYS SYSTEM
DIP SYSTEM
ORACLE_OCM SYSTEM
User dropped.
Tablespace dropped.
Create tablespace :
SQL> create user SAPAE6DB identified externally default tablespace PSAPAE6DB temporary tablespace
PSAPTEMP;
User created.
USERNAME DEFAULT_TABLESPACE
------------------------------ ------------------------------
SAPAE6DB PSAPAE6DB
OPS$AE6ADM SYSTEM
OPS$ORAAE6 SYSTEM
BUGREQ PSAPBUGSEYE
SAPPE6 PSAPPE6USR
CTXSYS PSAPBUGSEYE
PATROL PSAPPAT1D
SYS SYSTEM
SYSTEM SYSTEM
DBSNMP SYSTEM
OUTLN SYSTEM
USERNAME DEFAULT_TABLESPACE
------------------------------ ------------------------------
TSMSYS SYSTEM
DIP SYSTEM
ORACLE_OCM SYSTEM
14 rows selected.
User altered.
Grant succeeded.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
USERNAME DEFAULT_TABLESPACE
------------------------------ ------------------------------
SAPAE6DB PSAPAE6DB
OPS$AE6ADM SYSTEM
OPS$ORAAE6 SYSTEM
BUGREQ PSAPBUGSEYE
SAPPE6 PSAPPE6USR
CTXSYS PSAPBUGSEYE
PATROL PSAPPAT1D
SYS SYSTEM
SYSTEM SYSTEM
DBSNMP SYSTEM
OUTLN SYSTEM
USERNAME DEFAULT_TABLESPACE
------------------------------ ------------------------------
TSMSYS SYSTEM
DIP SYSTEM
ORACLE_OCM SYSTEM
14 rows selected.
User dropped.
SQL> create user bugreq identified by fdQt4Hrt default tablespace PSAPBUGSEYE temporary tablespace
psaptemp;
User created.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
Grant succeeded.
am2hc219:oraae6 9> imp " '/ as sysdba' " file=exportbug.dmp fromuser=bugreq touser=bugreq indexes=y
grants=y commit=y log=importbug.log
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Su - <sid>adm
cdbug
cd WEB-INF (make sure the path is
/usr/sap/<SID>/DVEBMGS06/j2ee/cluster/server0/apps/sap.com/requisite/servlet_jsp/requisite/root/
WEB-INF/ )
more web.xml
Check java is up
import
COMPLETE THE REQUIRED STEPS FOR EBPR0 *E SYSTEMS FOR SESSION 6.2 AS PER
RUNBOOK