System copy for Abap and File system copy for JAVA ( by right need to use sapinst export/import)

System copy for Abap and File system copy for JAVA ( by right need to use sapinst export/import)

SAP Netweaver 7.0 EHP1 ( abap stack SID=XXX / java stack SID =XX1)
Oracle 10g 64bit database
Windows 2008 server
Mode: Installed in a cluster environment meaning CI host usr directory only and DB is hosted in a different node or server.
Node1                 Node2
CI (just usr directory)    DB ( sap directory, oraarch , and sap data files ), Oracle home installed on DB node

Objective : To move DB file system contents such as ( sap directory, oraarch , and sap data files ) and present it on CI host.

1) Login as Abap user In CI host to install the oracle 10g binary ( oracle home should result as oracle\XXX\102 and for java should be oracle\XX1\102)
2) Configure both the listener and tnsname hostname and port in two location ( oracle/xxx/102/network/admin and /usr/sap/xxx/sys/profile/oracle ), once configured
in cmd prompt issue lsnrctl start and stop and this will automatically create the listener services.
3) perform tnsping xxx make sure no error
4) Listener will not be available on CI host services therefore once item 2 is done it will be available.
5) Next to sqlplus "/as sysdba" and startup oracle ( make sure no issues)
6) Perform r3trans -xd ( should not report any error)
7) in SAPMMC - goto properties and add new SID NR and hostname and save it ( before doing this backup the existing SAPMMC)
8) Start XXX SID in SAPMMC ( should not report any error)
9) Task complete
10) Now for Java stack migration without import and export, perform similar steps from 1 to 9
11) Additional information for Java to ensure the listener ports is unique for example abap uses 1527 / java use 1528 )
Post steps
1) Abap will be no or minor issues
2) Java will be a bit tricky, in config tools to change tns port setting matching XX1 listener port otherwise it will not connect to db and secure store.
3) Once 2 is done, standard procedures can be followed however not necessary.
4) Once portal is accessible and reports can be called then task is completed.


The below command is to create OracleServiceEPP manually if lets say its a non sap standard migration
such as scenario below


oradim -new -sid XXX -startmode auto ( to start the OracleServiceXXX auto)

oradim –edit –sid XXX –startmode manual (to start the OracleServiceXXX manual)


Good Luck!!!

No comments: