Version
1.0
1.1
Author
Change Description
Page 1 of 61
1. PRE-DATABASE/SAP REFRESH....................................................................................7
1.1Post a System Message about Scheduled Downtime....................................................................................................7
1.2Saplicense..........................................................................................................................................................................7
1.3 Confirm Passwords for Source/Target system with Security team.........................................................................7
1.4 Stage Instance Specific Information before Volume Group is recreated................................................................7
1.5 Export User Master data.............................................................................................................................................8
1.6Transport Printer Definitions.........................................................................................................................................8
1.7Transport RFC Definitions.............................................................................................................................................9
1.8Logical System Definitions..............................................................................................................................................9
1.9Partner Profile.................................................................................................................................................................9
1.10 IDOC Port Definitions..................................................................................................................................................9
1.11 Client Definitions..........................................................................................................................................................9
1.12 Trusted Systems ...........................................................................................................................................................9
1.13 Trust Manager Portals Certificates.........................................................................................................................9
1.14 Integration Engine Configuration.............................................................................................................................10
1.15 Maintain SLD Access data ........................................................................................................................................10
1.16 SLD Bridge Info ABAP/JAVA .............................................................................................................................10
1.16.1 ABAP ...................................................................................................................................................................10
1.16.2 Java .....................................................................................................................................................................10
1.17 Port Maintenance IDOC Adapters...........................................................................................................................10
Page 2 of 61
2 DATABASE BACKUP.......................................................................................................19
2.1Oracle Database Backup Source System..................................................................................................................19
2.2SCM maxDB liveCache Backup - Source System......................................................................................................19
3.
Page 3 of 61
Page 4 of 61
6.3.5 For Target systems (Eg: SRM, SCM) which have J2EE 640 (Oracle 9i) install on Oracle 10.2 Database............39
Page 5 of 61
8.1.17 SM59 -> ABAP Connections -> Check connectivity to other SAP system in the landscape..............................55
8.1.18 SMLG Check SAP Logon Groups....................................................................................................................55
8.1.19 SPAD -> Print to any printer other than LOCL and validate successful printing using SP01.............................55
8.1.20 ST22 Check SAP Dumps..................................................................................................................................55
8.1.21 SM58 Check Transactional RFCs.....................................................................................................................55
8.1.22 SMQ1 Monitor Outbound Queue......................................................................................................................55
8.1.23 SMQ2 Monitor Inbound Queue........................................................................................................................55
8.1.24 http://hostname:5xx00 -> Check system Information -- Check System Information and Patch levels.............55
8.2 ECC Specific...............................................................................................................................................................55
8.2.2 SM59......................................................................................................................................................................55
8.2.3 KGS......................................................................................................................................................................55
8.2.4 FAX......................................................................................................................................................................56
8.2.5 ITS Check.............................................................................................................................................................56
8.3 BW Specific...............................................................................................................................................................56
8.3.1 RSA1 -> Source System -> Right Click individual system and select Check.......................................................56
8.3.2 Check for BI UDC..................................................................................................................................................56
8.4 SRM Specific ............................................................................................................................................................57
8.4.1 SM59 Tcode Check for Live Auction................................................................................................................57
8.4.2 SMOKE TEST for Live Auction ..........................................................................................................................57
8.5 XI Specific .................................................................................................................................................................59
8.5.3 TIBCO SXMB_IFR............................................................................................................................................59
8.6 SCM Specific Checkouts..........................................................................................................................................59
8.6.1 LC10 - Check for LiveCache ...............................................................................................................................60
8.6.2 JDBC Check..........................................................................................................................................................60
8.6.3 Analyse LiveCache & LCA Objects ....................................................................................................................60
8.6.4 Optimizer Installation Tests
......................................................................................................................60
8.6.5 Check for BI UDC.................................................................................................................................................60
8.6.6 APO Consistency Check.......................................................................................................................................60
APPENDIX.............................................................................................................................60
Steps to reset the SDM password......................................................................................................................................60
Steps to synchronize SDM Server ....................................................................................................................................61
To recreate PSAPTEMP table space................................................................................................................................61
Starting Java SDM server..................................................................................................................................................61
Stopping Java SDM server:...............................................................................................................................................61
Page 6 of 61
1. Pre-Database/SAP Refresh
Most of the steps under this section will be performed at least One week prior to Refresh .
1.2 Saplicense
Logon to as <sid>adm on Source System
Check your sap license
saplicense show
Export the saplicense information to a file under <sid>adm home directory.
cd /home/<sidadm>
saplicense show > saplicense.SID
Page 7 of 61
cd /usr/sap/put_refrersh
mkdir -p oracle/T_SID
mkdir -p usr/sap/T_SID/DVEBMSxx
mkdir -p sapmnt/T_SID
cd /oracle/<T_SID>
tar -cvf /usr/sap/put_refresh/oracle/U11/102_64.tar 102_64
{Note: To check the tar file structure tar -tvf <filename>.tar}
cd /oracle/<T_SID>
tar cvf /usr/sap/put_refresh/oracle/U11/dotastrik.tar .[a-z]*
cd /sapmnt/<T_SID>
tar -cvf /usr/sap/put_refresh/sapmnt/U11/profile.tar profile
cd /usr/sap/<T_SID>/DVEBMGSxx
tar -cvf /usr/sap/put_refresh/usr/sap/DVEBMGSxx/igs.tar igs
cd /oracle
tar cvf /usr/sap/put_refresh/oracle/client.tar client
tar -cvf /usr/sap/put_refresh/oracle/oraInventory.tar oraInventory
Team - Please add any other directories or files that you want to save off before the Volume Group is
recopied with Target Volume Group.
1.5
Page 8 of 61
Page 9 of 61
1.16
1.16.1 ABAP
Run Transaction RZ70
Take screenshot or note the SLD Bridge Host and Service Info.
1.16.2 Java
Logon to Visual Admin
Go to services Select SLD Data Supplier Note SLD Data Collection Settings
Note CIM Client Generation Settings
Page 10 of 61
1.22
1.23
1.26
XI Specific Steps
Page 11 of 61
Select Administration
Select contents Export All (in export line)
save the file to your desktop.
Page 12 of 61
Page 13 of 61
1.27
BI Specific Steps
cdD
cd j2ee
cd admin
./go (make sure an x-client is used with DISPLAY variable set up)
select the Central Instance Server in the left pane and open it up
select Services -> JDBC Connector
Now select Connector Container in the left pane
Page 14 of 61
1.28
cdD
cd j2ee
cd admin
./go (make sure an x-client is used with DISPLAY variable set up)
select the Central Instance Server in the left pane and open it up
select Services -> JDBC Connector
Now select Connector Container in the left pane
Select the jdbc connector container, e.g.,
SDK_JDBC_TD
SDK_JDBC_TD_ISCP
Go to tab Managed Connection Factory and then Properties for all the specified connector
Page 15 of 61
containers,
Note down the following for each of the Connectors
Document the FixedSchema
Find the password for Password field (Obtain Password Prior to refresh) and document it for each
landscap in this document for future refreshes.
Document for URL
Document for UserName
Page 16 of 61
FTP the source file (i.e. /sapdb/<sid>/sapbackup/full.<source sid>_COM ) to the target system to the
following location
/sapdb/<T_sid>/sapbackup/
Page 17 of 61
Page 18 of 61
Database Backup
3.
Page 19 of 61
3.1
ln s /oracle/<T-SID> /oracle/<S-SID>
Validate user exists on the target system.
Change the ownership of all /oracle/<T-SID> files to source system ora<s-sid>.
To change the ownership we need to be the root.
Now login as root
sudo su
Change the ownership
3.2
3.3
su ora<s-sid>
sqlplus / as sysdba
startup;
exit
3.4
Page 20 of 61
:%s,Source_SID,Target_SID,g
Now search the string CREATE in the file and replace the following line:
/CREATE
CREATE CONTROLFILE REUSE DATABASE "<Target_System_SID>" RESETLOGS
ARCHIVELOG
With
CREATE CONTROLFILE SET DATABASE "<Target_System_SID>" RESETLOGS
For editing the line do the following, On the following line go to end of the line
CREATE CONTROLFILE REUSE DATABASE "<Target_System_SID>" RESETLOGS
ARCHIVELOG
$
Move your cursor upto word ARCHIVELOG by using key h on your keyboard
dw
and move your cursor upto word REUSE and by using h on your keyboard
dw
now switch to insert mode i
Now write SET
Now your modified command looks like
CREATE CONTROLFILE SET DATABASE "<Target_System_SID>" RESETLOGS
Now search the string RECOVER in the file and replace the following line:
/RECOVER
RECOVER DATABASE USING BACKUP CONTROLFILE
With
RECOVER DATABASE USING BACKUP CONTROLFILE until cancel
For editing the line do the following
Go to end of the line and append as follows
$
a
until cancel
Now your modified command looks like
RECOVER DATABASE USING BACKUP CONTROLFILE until cancel
Now save the file as /tmp/rename.sql using the following command:
:w /oracle/<Source_SID>/rename.sql
3.6
Copy back the pre-staged files from the staging Directory /usr/sap/put_refresh
sudo su
cd /oracle/<T_SID>
rm fr 102_64
cd /oracle/<T_SID{Note: To check the tar file structure tar- tvf <filename>.tar}
tar -xvf /usr/sap/put_refresh/oracle/<T_SID>/102_64.tar
cd /oracle/<T_SID>
tar -xvf /usr/sap/put_refresh/oracle/<T_SID>/dotastrik.tar
cd /sapmnt/<T_SID>
tar -xvf /usr/sap/put_refresh/sapmnt/<T_SID>/profile.tar
cd /usr/sap/<T_SID>/DVEBMGSxx
tar -xvf /usr/sap/put_refresh/usr/sap/DVEBMGSxx/igs.tar
cd /oracle
Page 21 of 61
3.7
sudo su
Remove exe Directory from the Instance Directories. This will be recreated with the J2EE
Install.
cd /usr/sap/<SID>/SCSxx
rm fr exe
cd /usr/sap/<SID>/DVEBMGSxx
rm fr exe
Remove and re-create /usr/sap/<SID>/SYS/exe/run Directory
cd /usr/sap/<SID>/SYS/exe/
rm fr run
mkdir run
Page 22 of 61
cp rp * /sapmnt/<SID>/exe/.
3.8
Page 23 of 61
3.9
sqlplus / as sysdba
create pfile from spfile;
shutdown immediate;
Using vi add the following entry
"remote_login_passwordfile = exclusive"
Create the Oracle password file:
$ORACLE_HOME/bin/orapwd file=$ORACLE_HOME/dbs/orapw<SID>
password=<system password> entries=100
(Use password for system)
Logon to UNIX level as ora<sid>
sqlplus / as sysdba
create spfile from pfile;
startup
4
4.1
Page 24 of 61
sqlplus /nolog
connect / as sysdba
startup
Note:- when sqlplus /nolog is executed we get the error connected to an idle instance. This means the
database is not connected. So at that time we need to start the database using startup command. Enter
the following command to delete the database objects of the database schema:
4.6
4.7
Page 25 of 61
Page 26 of 61
su <sid>adm
Browse to the directory where the license backup file is kept
more <SID>.saplicense
saplicense install
su <sid>adm
cdpro
Edit SAP Instance Profile
vi <sid>_DVEBMGS<no>_<host>
find parameter rdisp/wp_no_btc
comment out # rdisp/wp_no_btc
append
rdisp/wp_no_btc = 0
To make background process = 0
cd /sapmnt/<Target_SID>/global
rm fr *JOBLG*
rm fr *SLOGJ*
rm -fr WF_LOG*
5.4 STARTSAP
startsap
Logon to your sap
We see the default client of <Target System> which is configured in instance profile
Remove the <target system> default client number and type <source system > default client number.
Provide the logon information of <Source System>
5.5
Page 27 of 61
5.6
Delete Jobs
** WARNING: MAKE SURE YOU ARE IN TARGET SYSTEM/CLIENT **
Execute transaction SM37
Delete all released jobs from the system
5.7
su <sid>adm
cdpro
5.8
Re-initialize Jobs
After the database restore has successfully completed, the import jobs used by the tp command may
not work properly. Proceed as follows:
Logon to SAP in client 000 as DDIC and run transaction SE38
Execute program RDDNEWPP
Select Normal
A message will show up in the status bar which indicates the job has been scheduled.
5.10
Page 28 of 61
5.12
5.13
5.14
Page 29 of 61
5.15
5.16
5.17
5.18
5.19
Page 30 of 61
Select Child System -> <SID>CLNT500 and unselect Test -> execute.
Use the Green back arrow to go to the previous screen
Re-execute the last step to invalidate the CUA contents.
5.20
5.22
BW Systems:
Execute RSBKDTP_BDLS via SE38 for each source system in RSA1.
Old Logical System Name: (ex. P11CLNT500, P31CLNT500, etc)
New Logical System Name (ex. Q11CLNT500, Q31CLNT500, etc)
Page 31 of 61
Verify and Redefine the logical systems as per the screenshot during pre-refresh.
5.24
5.26
5.27
Republish Services
Run Transaction SE38
Enter Program name W3_PUBLISH_SERVICES.
Execute and follow the screens to republish the services.
Run transaction SICF
Select the necessary services one at a time
Deactivate the Services
Activate the Services.
Make sure that the SAP GUI service was enabled and working.
5.28
5.29
Page 32 of 61
5.30
5.31
5.32
5.33
5.34
5.35
Client Definition
Run Transaction SCC4
Change the client description to reflect as per pre-refresh description.
5.36
5.37
qRFC Monitor
Run transaction SMQR & SMQS
Page 33 of 61
Delete old monitor and setup new monitor with correct system name. .(Registration Table->
Reorganise)
SMQ1, SMQ2 deleted the old queues and any old error entries .
SLD Specific
5.38 Maintain SLD connection parameters
Run transaction SLDAPICUST
Change the connection parameters pointing to correct SLD source.
To change switch to editing mode and choose Insert Row. Specify the connection parameters (host
name, port, user, and password) and set this SLD server as Primary. Only the entry marked as Primary
is active.
Save your entries.
Configure the SLD Data Supplier Service in the Visual Administrator
Logon as j2ee_admin/administrator in Visual Admin.
Change and verify the connection parameters for SLD connection and CIM client generation settings
in SLD Data supplier service.
Verify by triggering the SLD data load.
Maintain the SLD connection in ABAP systems
Run transaction RZ70
Maintain SLD bridge host and gateway.
Validate SLD Connection/configuration
Run transaction SLDCHECK
Validate the all the checks are successful.
5.40
Page 34 of 61
Important:
This section activity should be performed on available Pepsico Windows Terminal
Server(WTS); because if your PC/laptop lost connection then there will be incosistency or might
have to restart the process.
Page 35 of 61
6.1
Software Units
None
None
CRM-APP
JCRM
PI
Page 36 of 61
CRM
XI
YES*
YES
6.2
JAVA DVD
If the above directory doesnt work then please try the below:
/sapcd/sap/install/unicode/nw04sr1/hpux/ia64/java_scs/
DVD_NW_04_SR1_SAP_Web_AS_JAVA/SCS_HPIA64/SCS
Export
/sapcd/sap/install/unicode/nw04sr1/hpux/ia64/export
6.3
Java Patches on CI
Before applying JAVA Patches we need to Update SDM (Software Deployment Manager) and
JSPM (JAVA Support Patch Manager) to the Patch level we going to apply.
E.g.: Applying JAVA SP11 on Q12 system.
Page 37 of 61
Page 38 of 61
No NWDI control
Click Next
Click Next
Check Queue and Deploy Queue to apply
If there is error while applying support package using JSPM, we need to identify the package
which got error.
Login to SDM and go to Undeployment tab.
Select the error package and undeploy completely.
Now apply the Error package using SDM tool from Deployment tab.
Make sure all the packages are deployed completely from URL
http://qa2q12.corp.pep.pvt:51200
Select the system information and check for successfully applied Support packs.
6.3.5 For Target systems (Eg: SRM, SCM) which have J2EE 640
(Oracle 9i) install on Oracle 10.2 Database
Review the Oracle Upgrade document and update the location of classes12.jar file under J2EE
Specific entries from Post Steps.
Page 39 of 61
7.
7.1
XI Specific Steps
7.1.2
7.1.3
7.1.5
Refresh XI Cache
Run transaction SXI_CACHE.
Select Goto
Select Adapter Engine Cache
Select line item under Adapter Engine Connection Data Cache section
Delete
7.1.6
Page 40 of 61
Page 41 of 61
Page 42 of 61
Page 43 of 61
7.2.3
7.2.4
7.2.5
RSA1 Check
In RSA1 perform source system check by right click the source system check
Recommended
Perform simple master data load from source to target to confirm the extraction to be okay.
In RSA1 InfoSources select some Master data attribute. For example
(0VENDOR_ATTR or 0BUSSYS or 0COMPCODE etc) select the the infopackage and trigger the
load.
Verify the successful completion of the load in transaction RSMON.
This helps in rectifying any ALE specific issues if still existing.
7.2.6
7.2.7
Configure UDC
Logon to available WTS
Run ProgramsReflection and open X-term to UNIX server where you are installing
J2EE.
Page 44 of 61
Check X-Windows
xclock
This will display Clock Window; then you can proceed, otherwise you need to export
DISPLAY.
Telnet to BI Central instance as <sid>adm.
cdD
cd j2ee
cd admin
./go (make sure an x-client is used with DISPLAY variable set up)
select the central instance server in the left pane and open it up.
select services -> JDBC Connector
In the middle pane select Driver and click on Create New Driver or DataSource
For Driver Name enter teradata
When asked to pick a Jar file for the driver go to /home/<sid>adm/TeraJDBC_304 and select the
following 3 files: tdgssconfig.jar, tdgssjava.jar, terajdbc4.jar
Now select Connector Container in the left pane
Open the jdbc connector container
Select SDK_JDBC and hit the Clone button
Enter the name SDK_JDBC_TD
Hit Save
Select SDK_JDBC_TD and go to the Resource Adapter tab
Click the add button and enter: library:teradata
Save
Go to tab Managed Connection Factory and then Properties
Enter the following configuration properties:
com.ncr.teradata.TeraDriver for DriverName
QTG_S for FixedSchema
???? for Password (Obtain Password Prior to refresh)
jdbc:teradata://td4.corp.pep.pvt for URL
RQ2250TD4 for UserName
Hit Save
Select SDK_JDBC_TD and hit the Clone button
Enter the name SDK_JDBC_TD_ISCP
Hit Save
Select SDK_JDBC_TD_ISCP
Go to tab Managed Connection Factory and then Properties
Enter or verify the following configuration properties:
com.ncr.teradata.TeraDriver for DriverName
QTG_S_ISCP for FixedSchema
???? for Password (Obtain Password Prior to refresh)
jdbc:teradata://td4.corp.pep.pvt for URL
RQ2250TD4 for UserName
Hit Save
Exit Visual Administrator
7.2.8
Page 45 of 61
Page 46 of 61
7.3
7.3.1
7.3.2
7.3.4
qRFC Monitor
Run transaction SMQR
SMQ1 and SMQ2 and make sure there is no data.
7.3.5
7.3.6
liveCache Restore
run dbmgui > connect target system > make complete backup to the file system > validate the
backup file from unix
ftp the file to the source system > rename the file to the source system backup file
dbmgui > select recovery > recovery with initialization > check and make one more backup as
above
dbmgui > menu instance > configuration > database user > validate the sap user name sapSID
from /nLC10 > button integratin > change the user name and password of "standard liveCache user"
as sapSID
/nWE02 > check the failed iDOC
Page 47 of 61
7.3.7
liveCache consistency
/n/SAPAPO/OM13
7.4
Page 48 of 61
7.5
Page 49 of 61
Page 50 of 61
Select customizing.
Continue w/out specifying Project
Under Incentive and Commission Management --> BW-ICM Transfer of BW Data to ICM
Execute the Set up RFC Destinations for ICM Engine and BW System
Page 51 of 61
The ECC and BW RFC destinations should reflect the ECC & BW systems in the refreshed environment.
Page 52 of 61
Page 53 of 61
D:\Documents and
Settings\09031393\Desktop\PEP\FireFighter Installation.doc
Page 54 of 61
8.1.25 Tcode SICF -> execute -> default host -> sap -> bc -> gui -> sap -> its
-> webgui -> Test Service -> WebGui Logon Page
8.2
ECC Specific
8.2.2 SM59
TCP/IP Connections ->
IGS_RFC_DEST
HPOM_RFC_DESTINATION
SLD_UC
TIBCO_P11
TIB_QTG1_P11
VERTEX
8.2.3
KGS
OAAD -> Technical Search ->
Business Object:
BUS0815
Page 55 of 61
Client:
500
Archive:
-> Press Enter for the next pop-up window -> Select any of the two documents
-> Display PDF file
8.2.4
FAX
SBWP -> New Message ->
Title:
Test
Recipient:
US3128217756
Recip. Type: FAX
-> Send
SCOT -> At least 1 entry should be there under Waiting for FAXP11 queue
-> Start Send Process(CNTRL + F7)
-> The count for (In transit) followed by (Completed) should inccrease by 1.
8.2.5
ITS Check
Tcode : SITSPMON
8.3
BW Specific
8.3.1 RSA1 -> Source System -> Right Click individual system and select Check
8.3.2 Check for BI UDC
http://<SID_hostname>.corp.pep.pvt:5<SID Instance#>00/BI_UDC/servlet/GrmgServlet
Page 56 of 61
8.4
SRM Specific
8.4.3
Check certificates
8.4.4
Check encryption
Page 57 of 61
Page 58 of 61
8.5
XI Specific
8.5.1
SXMB_IFR -> On the web page select all the components to ensure proper connectivity
8.5.2
8.5.3
TIBCO SXMB_IFR
-> On the web page select (Runtime Workbench) -> Login as XISUPER ->
-> Select (Component Monitoring) -> Click on Display -> Adapter Engine prdp41
-> Adapter Monitoring -> login as XISUPER ->
-> Select the arrow on http://sap.com/xi/XI/System -> Select JMS
-> Ensure the status is Green for all the four line items under JMS section.
8.6
Page 59 of 61
APPENDIX
Steps to reset the SDM password.
Logon to the system as <sid>adm.
cd /usr/sap/<SID>/DVEBMGSxx/SDM/program
./sdm.sh jstartup sdmhome=/usr/sap/<SID>/DVEBMGSxx/SDM/program
mode=standalone
./sdm.sh changepassword sdmhome=/usr/sap/<SID>/DVEBMGSxx/SDM/program
newpassword=xxxxx
Page 60 of 61
./StopServer.sh
./sdm.sh SystemComponentState mode=Sync
./StartServer.sh
Once Dev1 Instance is up and TMS is set in the Dev1 instance then run the following:
Reset TMS
Logon to SAP in client 000 as DDIC on the DEV Instance (TMS Domain Controller for system, i.e.
D11 or D21, D41, D51).
Run transaction STMS
Overview -> systems
CTRL F10 Distribute and Activate TMS configuration
Select Distribute configuration to all systems.
You might be prompted to LOGON to Target system, just logon to client 000 with DDIC
user/password.
mkdir p /oracle/Q41/sapdata3/temp2
sqlplus / as sysdba
create temporary tablespace psaptemp2 tempfile '/oracle/Q41/sapdata3/temp2/temp.data1'
size 100m;
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE "PSAPTEMP2";
drop tablespace PSAPTEMP including contents;
create temporary tablespace psaptemp tempfile '/oracle/Q41/sapdata3/temp_1/temp.data1'
size 1048584192 reuse autoextend off;
ALTER DATABASE DEFAULT TEMPORARY TABLESPACE "PSAPTEMP";
drop tablespace PSAPTEMP2 including contents;
exit;
Starting Java SDM server
Login <SID>adm
/usr/sap/<SID>/DVEBMGS<xx>/SDM/program
./StartServer.sh
Stopping Java SDM server:
Login <SID>adm
/usr/sap/<SID>/DVEBMGS<xx>/SDM/program
./StopServer.sh
Page 61 of 61