sap refresh

Download Sap Refresh

Post on 29-May-2017




2 download

Embed Size (px)


Pepsi SAP Refresh Master Document

SAP Document Revision History

DateVersionAuthorChange Description



Text Heading Legend








2Text Heading Legend









181. Pre-Database/SAP Refresh

191.1Post a System Message about Scheduled Downtime


19Logon to as adm on Source System

19Check your sap license

19saplicense show

19Export the saplicense information to a file under adm home directory.

19cd /home/

19saplicense show > saplicense.SID

191.3 Confirm Passwords for Source/Target system with Security team

19DDIC password in Client 000

19DDIC and BASIS-BATCH in default client.

191.4 Stage Instance Specific Information before Volume Group is recreated

19Validate staging FS is available. This should return a valid FS entry.

19bdf /usr/sap/put_refresh

19Copy the required directories to the staging Directory - /usr/sap/put_refresh

19cd /usr/sap/put_refrersh

19mkdir -p oracle/T_SID

19mkdir -p usr/sap/T_SID/DVEBMSxx

19mkdir -p sapmnt/T_SID

19cd /oracle/

19tar -cvf /usr/sap/put_refresh/oracle/U11/102_64.tar 102_64

19{Note: To check the tar file structure tar -tvf .tar}

19cd /oracle/

19tar cvf /usr/sap/put_refresh/oracle/U11/dotastrik.tar .[a-z]*

19cd /sapmnt/

19tar -cvf /usr/sap/put_refresh/sapmnt/U11/profile.tar profile

19cd /usr/sap//DVEBMGSxx

19tar -cvf /usr/sap/put_refresh/usr/sap/DVEBMGSxx/igs.tar igs

19cd /oracle

19tar cvf /usr/sap/put_refresh/oracle/client.tar client

20tar -cvf /usr/sap/put_refresh/oracle/oraInventory.tar oraInventory

20Team - Please add any other directories or files that you want to save off before the Volume Group is recopied with Target Volume Group.

201.5 Export User Master data

20Log on to source client with SAP

20Run Transaction SCC8.

20Select profile SAP_USER

20Select target system

20start immediately

20Make note of the SIDKTxxxxx transport number from the pop-up screen. The data and cofiles will be created with this numbers.

20Check the appropriate export log to validate if the export was successful.

20SCC3 exports check for the current export logs

20Always, logon as adm at the OS level and validate the recent creation of cofiles & data files.

20cd /usr/sap/trans/cofiles

20ls ltr

20The KTxxxxx.SID file should have been created with recent time stamp.

20cd /usr/sap/trans/data

20ls ltr

20The RTxxxxx.SID file should have been created with recent time stamp.

201.6Transport Printer Definitions

20Run Transaction SPAD

20Output Devices Display

20Go to Edit transport transport all

20Note down the request number

20Release the Transport

201.7Transport RFC Definitions

20Create a workbench request in SE01

20Go to change mode of your request

20Include the following object Name with ( Program ID : R3TR Object Type : TABU





20Now double click on each of your RFC table entry and it will open another screen and click on Insert Row button.

20Give * as input (i.e. all the keys corresponding to that table are taken)

20Now save the transport request

21Note down your request number

21Release your request.

211.8Logical System Definitions

21Run Transaction BD54

21Take a screenshot of Logical Systems Definition

211.9Partner Profile

21Run Transaction WE20

21Take a screenshot of Partner Profile, specifically all Partner Type Logical Systems

211.10IDOC Port Definitions

21Run Transaction WE21

21Drill Down on Transactional RFC, Take a screenshot of RFC Destination Port Assignment

211.11Client Definitions

21Run Transaction SCC4.

21Take a screenshot of clients overview to note the Client Description and settings.

211.12Trusted Systems

21Run Transaction SMT1.

21Take a screenshot of trusted systems to note the Client Description.

21This needs to be reconfigured during post refresh activities.

211.13Trust Manager Portals Certificates

21Run Transaction STRUSTSSO2.

21Check the existing public-key certificate of Portal Servers in component system's certificate list. This needs to be reconfigured during post refresh activities.

211.14Integration Engine Configuration

21Run transaction SXMB_ADM

21Double Click on Integration engine configuration

21Take screenshot of configuration data

211.15Maintain SLD Access data

21Run transaction SLDAPICUST

21Take a snapshot or make note of the entries.

221.16SLD Bridge Info ABAP/JAVA

221.16.1 ABAP

22Run Transaction RZ70

22Take screenshot or note the SLD Bridge Host and Service Info.

221.16.2 Java

22Logon to Visual Admin

22Go to services ( Select SLD Data Supplier ( Note SLD Data Collection Settings

22Note CIM Client Generation Settings

221.17Port Maintenance IDOC Adapters

22Run transaction IDX1

22Note all the ports and corresponding RFC destinations or take a screenshot of the same.

22This needs to be reconfigured during post refresh.

221.18IDOC Adapter Metadata Overview

22Run transaction IDX2

22Note all the ports and corresponding RFC destinations or take a screenshot of the same.

22This needs to be reconfigured during post refresh.

221.19Distribution Model View

22Run transaction BD64

22Take a snapshot or make note of the entries.

221.20Maintain CRM RFC Parameter

22This entry is maintained in table CRMRFCPAR in all sender/receiver systems (R3/BW etc)

22Verify the entries take a screenshot.

221.21Validate HP OMS entry in SPAD

22Use transaction SPAD

22Select Full Administration button

22Go to Output Management Systems tab

22Check Real Output Management Systems by clicking on Display

22Double click on HP-DAZEL and validate OMS Configuration info

22For Eg. QA2, it should be: -N -DDAZELNS=DAZEL:hpomdev.d,qa1oms1[4008]

22For Eg. U11, it should be: -N -DDAZELNS=DAZEL:hpompre.d,preoms1[4007]

23Take a note or screenshot of the settings and if different add its entry on previous line for the specific SID.

23Please Add SBX specific info

231.22Display / Note Logon Group Definitions

23Run Transaction SMLG

23Take a screenshot of currently configured logon groups

231.23Check operation modes

23Run Transaction RZ04

23Take a screenshot of currently defined OP modes

231.24Check for ITS

23Run transaction SM30

23Give the table name TWPURLSVR

23Click on Display

23Double click on your Logical system host name

23Take a screen shot of that so that after the refresh we can reconfigure the same.

231.25Verify DBA Planning Calendar

23Run transaction DB13.

23Note the scheduling period for DBA jobs or take screenshot.

231.26XI Specific Steps

231.26.1Export SLD Information

241.26.2 Export the Repository server information

241.26.3 Export the Directory server information

251.26.4 Configure CMS Setup

251.26.5 SLD DATA supplier and Bridge

251.26.6 SLD Business Systems

251.26.8 XI Message Archiving & Deletion

261.27BI Specific Steps

261.27.1 Conversion of Logical System Names

271.27.2UDC Connection Container Settings

271.28SCM Specific Steps

271.28.1Document connections to liveCache

281.28.2 Configure UDC (* same step as BI **)

281.28.3 Document Business System Groups (BSG)

281.28.4 qRFC Monitor

291.28.5 Stop/check CIF queue

291.28.6 LiveCache consistency

291.28.7 Backup liveCache

29Tushar Check and Verify

291.29 SRM Specific

291.29.1 Copy the SRM IPC parameter file

30Please Add this specific info for all the landscapes

301.30 Display/Note Logical Ports

312Database Backup

322.1Oracle Database Backup Source System

322.2SCM maxDB liveCache Backup - Source System

333. Oracle Database Restore Target System

333.1 Reproduce Source System environment on Target System

333.2 Add Source system in /etc/hosts file

333.3 Start database as Source System

33Logon the target system as ora

33su ora

33sqlplus / as sysdba



333.4 Create Control File

33Logon the target system as ora

33su ora

33sqlplus / as sysdba

33alter database backup controlfile to trace;


33cd /oracle//saptrace/usertrace

33Get the latest file you just created through sqlplus command

33vi ` ls ltr |tail -1|awk {print $9} `

34Go to the end of the file and scroll up till you see the following text


34Scroll one line up and delete all the lines from the beginning of the file to the current line.


34Once you have deleted the lines, your first line should be


34Now replace the Source_SID with Target_S