Sie sind auf Seite 1von 82

System Refresh

System Refresh Confidential Page 1/13th Nov 2014


Version History

Document System Refresh


Version 1.0
Creator Viraj Nimbalkar
Reviewer Premal Desai
Approver Prashant Nair

HPSM Details
10th Nov’14
Execution Dates

Executed By accenture.vdilip

Lead By Premal Desai

Line Item Number R35469-001

Change Number C20530

Change Approver Prashant Nair

Requested By Prashant Nair & Sanjay Pandey

Time Spent 13 Hours

SAP Basis Team


Teams Involved SAP DBA team
SAP Backup Team

System Refresh Confidential Page 2/13th Nov 2014


Table of Contents

Contents

1. INTRODUCTION ............................................................................................. 6

1.1. CR/Work Order .....................................................................................................................................................................6

1.2. BACKUP/SNAPCLONE ............................................................................................................................................................6

2. PRE PROCESSING ....................................................................................... 7

2.1 Export RFC Destination & ALBTCMON Table ................................................................................................................................7


2.1.1. Pre Steps: ............................................................................................................................................................................. 7
2.1.2. Export RFC Destination & ALBTCMON Table ....................................................................................................................... 7

2.2. Export User Master Record – 000 Client.............................................................................................................................. 11

2.3. Export User Master Record – Default Client ........................................................................................................................ 12

2.4. Export Printer Settings ........................................................................................................................................................ 13

3.PREPROCESSING SCREENSHOTS – ................................................................ 16

3.1 SAP License ................................................................................................................................................................................ 16

3.2 System Locks....................................................................................................................................................................... 17

3.3 Update errors ..................................................................................................................................................................... 17

3.4 Client Settings - Main SCC4 Screen ...................................................................................................................................... 17


3.4.1 Client Settings for all individual Clients (ex, 000 & Default Client Settings ............................................................................ 18

3.5 SAP Directories ................................................................................................................................................................... 20

3.6 Logon Load Balancing ......................................................................................................................................................... 21

3.7 RFC Server........................................................................................................................................................................... 21

3.8 Operation Mode Settings .................................................................................................................................................... 22

3.9 SAPconnect Administration ................................................................................................................................................ 22

System Refresh Confidential Page 3/13th Nov 2014


3.10 Jobs Scheduler .................................................................................................................................................................... 24

3.11 DBA Planning Calendar ....................................................................................................................................................... 24

3.12 Transport Management / Domain ...................................................................................................................................... 25

3.13 Partner Profile .................................................................................................................................................................... 28

3.14 Port Interface ...................................................................................................................................................................... 29

3.15 Message Outbound Queue ................................................................................................................................................. 31

3.16 Message Inbound Queue .................................................................................................................................................... 32

3.17 Preprocessing Screenshots – [BW SYSTEM]......................................................................................................................... 32


3.17.1 Infocube Settings ...................................................................................................................................................................... 32

4. POST REFRESH ACTIVITIES ...................................................................... 34

4.1 Install SAP License at OS level ............................................................................................................................................. 34

4.2 Delete SAP* User at OS Level for 000 client & Default Client .............................................................................................. 35

4.3 Open Client for 000 Client & Defaults Client ....................................................................................................................... 35

4.4 HR Meridium ...................................................................................................................................................................... 35

4.5 Import profile parameters .................................................................................................................................................. 38

4.6 System Check....................................................................................................................................................................... 38

4.7 Check all the Instances (CI+DI) are up and running fine ....................................................................................................... 39

4.8 To check any long running jobs are running ......................................................................................................................... 39

4.9 System logs (Errors only) ..................................................................................................................................................... 40

4.10 Check & Delete all Dumps ................................................................................................................................................... 40

4.11 To check old locks ............................................................................................................................................................... 42

4.12 To check cancelled Updates ................................................................................................................................................ 43

4.13 Configure Job Scheduler ..................................................................................................................................................... 43

4.14 STMS Configuration ............................................................................................................................................................ 45

System Refresh Confidential Page 4/13th Nov 2014


4.15 Import RFC Destination & ALBCTMON ................................................................................................................................ 55

4.16 Import User master records - 000 Client and Default Clients .............................................................................................. 55

4.17 Import Printer Settings ....................................................................................................................................................... 56

4.18 Change Logical System Name (LSN)..................................................................................................................................... 60

4.19 Check/Change SAP Directories entries ................................................................................................................................ 62

4.20 Configure Logon Load Balancing (SMLG) Settings ................................................................................................................ 66

4.21 Configure RFC Server (RZ12) Settings .................................................................................................................................. 66

4.22 Configure Opmode Settings ................................................................................................................................................ 67

4.23 Configure SAPconnect Administration - Schedule Job ......................................................................................................... 68

4.24 Check/Change Partner Profile ............................................................................................................................................. 68

4.25 Port Interface ...................................................................................................................................................................... 68

4.26 QOUT Scheduler(SMQS) ...................................................................................................................................................... 72

4.27 Message Outbound Queue ................................................................................................................................................. 72

4.28 QIN Scheduler(SMQR) ......................................................................................................................................................... 72

4.29 Message Inbound Queue .................................................................................................................................................... 73

4.30 Default Scheduling of SAP standard jobs ............................................................................................................................ 74

4.31 Create Variant .................................................................................................................................................................... 75

4.32 DBA Jobs ............................................................................................................................................................................. 77

4.33 Lock SAP* Password in 000 Client & Default Client ............................................................................................................. 77

4.34 Revert client settings as original ......................................................................................................................................... 78

5. TEMPLATE FOR SYSTEM REFRESH. ............................................................... 80

System Refresh Confidential Page 5/13th Nov 2014


1. Introduction

A System refresh/copy consists of five sections or units of work:


1. Pre Copy steps
2. Pre Customer specific steps.
3. Restoring/Copying the database files
4. Post Copy Steps.
5. Post Customer specific steps.

1.1. CR/Work Order

Ensure that all related CR’s are approved. Cross check work order for more
information before executing any task.

1.2. BACKUP/SNAPCLONE

Ensure Successful Offline Backup / Snapclone performed for Source System, before starting
refresh activities.

If require take Offline Backup / Snapclone for Target System.

System Refresh Confidential Page 6/13th Nov 2014


2. Pre Processing

2.1 Export RFC Destination & ALBTCMON Table

2.1.1. Pre Steps:

Take Screenshot of SM59 Transaction Code.

2.1.2. Export RFC Destination & ALBTCMON Table


Login into 000 Client, go to transaction code SE01

Transaction: SE01

 Select Request Type : Transport of Copies


 Select Request Status : Modifiable
 Press Create Button

System Refresh Confidential Page 7/13th Nov 2014


 Select option “Transport of Copies”

 Press Ok Button

System Refresh Confidential Page 8/13th Nov 2014


 Provide Short Description “RFC Destination Export – RFC <RFC NO>”

 Provide Target System: Same SID

 Click Save Button

You will get output like below screen

 Now Double click Transport Request No


 Click Change Button

Provide required information

Program ID : R3TR

Object type : TABU

Object name : <table name>

<table name> : RFCDES, RFCDOC, ALBTCMON

Provide input as per screen below

System Refresh Confidential Page 9/13th Nov 2014


 Double Click RFCDES, Give * in Table Keys, Go back

 Double Click RFCDOC, Give * in Table Keys , Go back

 Double Click ALBTCMON, Give * in Table Keys , Go back

Now Click SAVE Button, Go Back

System Refresh Confidential Page 10/13th Nov 2014


Output like below

Now Release the Transport request,

Click on transport request, then press Truck Button

After export completed, you will get output like below

Now RFC Destination & ALBTCMON Table exported successfully.

2.2. Export User Master Record – 000 Client

 Login into 000 Client


 Goto Transaction SCC8
 Select Profile SAP_USER
 Target System: Dummy or Target System SID

System Refresh Confidential Page 11/13th Nov 2014


 Schedule in Background.
 On the Info Client Export screen, document the transport number displayed with the format:
<sid>KTnnnnnnn. Save this transport request number in RDC Share Folder and also Update in
the relevant work order.
 Monitor through SCC3 transaction code.

2.3. Export User Master Record – Default Client

 If Target System is in CUA, then remove from CUA System.


 Login into Default/Particular Client
 Goto Transaction SCC8
 Select Profile SAP_USER
 Target System: Dummy or Target System
 Schedule in Background.
 On the Info Client Export screen, document the transport number displayed with the format:
<sid>KTnnnnnnn. Save this transport request number in RDC Share Folder and also update in
the relevant work order.
 Monitor through SCC3 transaction code.

System Refresh Confidential Page 12/13th Nov 2014


2.4. Export Printer Settings

Goto Transaction code: SPAD

 Click on Output devices.

 Take screenshot

 Click change button

System Refresh Confidential Page 13/13th Nov 2014


Goto EditTransferExport.

 Provide file name in “Export/Import File Name field”


o (Eg: D:\TMP\Printer_<SID>_<RFCNO>.txt)
 Select Option “Front End Computer”
 Select Option “Export” under Operation Tab
 Select Check Box “Execute export” & “Generate Log” under Options tab
 Provide asterisk (*) in Output Device under Object for export field

See the screenshot below for reference

System Refresh Confidential Page 14/13th Nov 2014


Click Execute Button
You will get output like below :

System Refresh Confidential Page 15/13th Nov 2014


3.Preprocessing Screenshots –
Document all screenshots in word document, Save it as
“RFCxxxxx_Preprocessingscreenshots_mm/dd/yyyy)

3.1 SAP License

Tcode: slicense

System Refresh Confidential Page 16/13th Nov 2014


3.2 System Locks.

 Take screenshot for SM12 Transaction

3.3 Update errors

 Check for an update error .


 Tcode : SM13

3.4 Client Settings - Main SCC4 Screen

 Take Screenshot of Transaction SCC4

System Refresh Confidential Page 17/13th Nov 2014


3.4.1 Client Settings for all individual Clients (ex, 000 & Default Client
Settings
 Goto Transaction SCC4
 Double click each client & Take screenshot. In order to capture further details like “Changes
and Transports for Client Specific Objects” etc…

System Refresh Confidential Page 18/13th Nov 2014


System Refresh Confidential Page 19/13th Nov 2014
3.5 SAP Directories

 Take screenshot for Transaction AL11 in all instances (CI + Application Instances).

System Refresh Confidential Page 20/13th Nov 2014


3.6 Logon Load Balancing

 Take Screenshot of Transaction SMLG

3.7 RFC Server

 Take Screenshot of Transaction RZ12

System Refresh Confidential Page 21/13th Nov 2014


3.8 Operation Mode Settings

 Take Screenshot of Transaction RZ04


o Double Click all operation mode and take screenshots of the work process
distribution.

3.9 SAPconnect Administration

 Take Screenshot of Transaction SCOT

System Refresh Confidential Page 22/13th Nov 2014


System Refresh Confidential Page 23/13th Nov 2014
3.10 Jobs Scheduler
 Take Screenshot of Transaction SM61

3.11 DBA Planning Calendar


 Take Screenshot of Transaction DB13

System Refresh Confidential Page 24/13th Nov 2014


3.12 Transport Management / Domain
 Take Screenshot of Transaction STMS

 Menu  Overview  Systems – Take Screenshot

 Menu  Overview  Transport Routes – Take Screenshot

System Refresh Confidential Page 25/13th Nov 2014


System Refresh Confidential Page 26/13th Nov 2014
System Refresh Confidential Page 27/13th Nov 2014
3.13 Partner Profile
 Take Screenshot of Transaction WE20

o Take screenshot for all partner profile individually

System Refresh Confidential Page 28/13th Nov 2014


3.14 Port Interface
 Take Screenshot of Transaction WE21

System Refresh Confidential Page 29/13th Nov 2014


System Refresh Confidential Page 30/13th Nov 2014
3.15 Message Outbound Queue
 Take Screenshot of Transaction SMQ1 / SMQS

System Refresh Confidential Page 31/13th Nov 2014


3.16 Message Inbound Queue
 Take Screenshot of Transaction SMQ2 / SMQR

3.17 Preprocessing Screenshots – [BW SYSTEM]

3.17.1 Infocube Settings

 Take Screenshot of Transaction RSA1

System Refresh Confidential Page 32/13th Nov 2014


Post
Refresh Activities

System Refresh Confidential Page 33/13th Nov 2014


4. Post Refresh Activities

4.1 Install SAP License at OS level


 Install License on central instance for ALL SAPSIDs
 Login as <sid>adm
 Check and delete old license
 saplicense -show
 saplicense -delete
 Check the Current hardware key
 saplicense –get
 Check the correct License key based on Hardware key and Install license
 saplicense –install
 Enter Expiration date as 99991231

System Refresh Confidential Page 34/13th Nov 2014


4.2 Delete SAP* User at OS Level for 000 client & Default Client

 This activity is to be performed by DB team.

 Delete SAP* User at OS Level, if its required

 set parameter login/no_automatic_user_sapstar=0

 Restart SAP Instance after deleted the SAP* User

4.3 Open Client for 000 Client & Defaults Client

 Goto Transaction SCC4

 Open 000 Client & Defaults Clients

4.4 HR Meridium

Transaction code : /n/miapm/manage_params

Click on AESMeridium

System Refresh Confidential Page 35/13th Nov 2014


Delete fileld following fileds: APM App Server, APM Web Server Link, APM Web Service, APM User
Name and APM Password.

Import the Below Transports provided by HR team.

RDCK929972 PEREPELYD00 z:hr:dev sanitiz prog


RDCK930139 PEREPELYD00 z:hr:dev sanitiz prog change

System Refresh Confidential Page 36/13th Nov 2014


Delete below mentioned Background Jobs:

/MIAPM/EQUIPMENT_INF
/MIAPM/FUNCTIONAL_LOCATION_INF
/MIAPM/WH_NOTIF_WITH_WO
/MIAPM/WH_NOTIFICATION
/MIAPM/WH_WORK_ORDER

System Refresh Confidential Page 37/13th Nov 2014


4.5 Import profile parameters

 Goto Transaction RZ10

 Menu ->Utilities->Import Profiles->Of Active servers

4.6 System Check

Login into Target System, execute below mentioned transaction codes.

SICK/SM28

System Refresh Confidential Page 38/13th Nov 2014


4.7 Check all the Instances (CI+DI) are up and running fine

Run tcode SM51

4.8 To check any long running jobs are running

Run Tcode SM66

System Refresh Confidential Page 39/13th Nov 2014


4.9 System logs (Errors only)

Run Tcode SM21

4.10 Check & Delete all Dumps

Run Tocde ST22

System Refresh Confidential Page 40/13th Nov 2014


Run RSSNAPDL Report which will delete the shortdumps. It is recommended to keep data of 1 or
2 days as it is.

System Refresh Confidential Page 41/13th Nov 2014


4.11 To check old locks

Run Tcode SM12 and delete old locks

System Refresh Confidential Page 42/13th Nov 2014


4.12 To check cancelled Updates

Run Tcode SM13:

4.13 Configure Job Scheduler

Run TCODE SM61.

This step must be done soon after the client settings, change the background servers to quality..

System Refresh Confidential Page 43/13th Nov 2014


System Refresh Confidential Page 44/13th Nov 2014
4.14 STMS Configuration

 Goto Transaction SE06 Post system Copy processing

System Refresh Confidential Page 45/13th Nov 2014


Yes

Yes

System Refresh Confidential Page 46/13th Nov 2014


Continue

Yes

Yes

Yes

System Refresh Confidential Page 47/13th Nov 2014


No

1. STMS

System Refresh Confidential Page 48/13th Nov 2014


System Refresh Confidential Page 49/13th Nov 2014
Yes

No

Login to rq8 000 client

System Refresh Confidential Page 50/13th Nov 2014


Save

System Refresh Confidential Page 51/13th Nov 2014


Click on Old Standard Password

System Refresh Confidential Page 52/13th Nov 2014


Yes

Yes

System Refresh Confidential Page 53/13th Nov 2014


Yes

Add Parameter CTC = 1

If The Truck Button is not visible the Add the Below parameter

Add Parameter NO_IMPORT_ALL =1

System Refresh Confidential Page 54/13th Nov 2014


Import all the Transports which were created in Prerequisites in the respective clients

4.15 Import RFC Destination & ALBCTMON

Import transport requests created in prerequisites

 Goto STMS

 Add exported transport request number into buffer

 Select particular transport request No

 Click Import Button

 Select Unconditional Mode “Overwrite Originals”

4.16 Import User master records - 000 Client and Default Clients

Import User Master Record

 Goto STMS

 Add transport requests into buffer

System Refresh Confidential Page 55/13th Nov 2014


 Import transport requests

4.17 Import Printer Settings

Go To Tcode SPAD

System Refresh Confidential Page 56/13th Nov 2014


System Refresh Confidential Page 57/13th Nov 2014
System Refresh Confidential Page 58/13th Nov 2014
System Refresh Confidential Page 59/13th Nov 2014
4.18 Change Logical System Name (LSN)

Go to tcode BDLS

Provide the inputs, For example of you refreshed RQ1 from RP1
Enter Old Logical System name as RP1CLNT100
Enter New Logical System name as RQ1CLNT100
Uncheck “Test Run” & “Check Existence of New Names in Tables”

Click on Program in Menu; execute the job in Background,

Default Printer: LOCL

Job Status: immediate.

RBDLSMAP job is triggered, Please monitor the Job.

Change number of entries per commit to 9.999.999

System Refresh Confidential Page 60/13th Nov 2014


Run BDLS for BP8CLNT120 to BQ8CLNT120.

System Refresh Confidential Page 61/13th Nov 2014


4.19 Check/Change SAP Directories entries

 Goto Transaction code AL11

 Cross check all directory structures with screenshot taken in prerequisites.

 Revert back old settings as per screenshot

 Delete/change as per screenshot.

System Refresh Confidential Page 62/13th Nov 2014


System Refresh Confidential Page 63/13th Nov 2014
System Refresh Confidential Page 64/13th Nov 2014
System Refresh Confidential Page 65/13th Nov 2014
4.20 Configure Logon Load Balancing (SMLG) Settings

 Goto Transaction code SMLG

 Change settings as per screenshot

4.21 Configure RFC Server (RZ12) Settings

 Goto Transaction code RZ12

 Change settings as per screenshot (Note

System Refresh Confidential Page 66/13th Nov 2014


4.22 Configure Opmode Settings

 Goto Transaction code RZ04

System Refresh Confidential Page 67/13th Nov 2014


 Change settings as per screenshot

4.23 Configure SAPconnect Administration - Schedule Job

 Goto Transaction code SCOT

 Change settings as per screenshot taken in prerequisites.

 Also schedule Job

4.24 Check/Change Partner Profile

 Goto Transaction code WE20

 Change settings as per screenshot taken during preprocessing stage

4.25 Port Interface

 Goto Transaction code WE21

System Refresh Confidential Page 68/13th Nov 2014


 Change settings as per screenshot taken during preprocessing stage

System Refresh Confidential Page 69/13th Nov 2014


System Refresh Confidential Page 70/13th Nov 2014
WE21 Client:000

System Refresh Confidential Page 71/13th Nov 2014


4.26 QOUT Scheduler(SMQS)

4.27 Message Outbound Queue

 Goto Transaction code SMQ1

 Change settings as per screenshot

 Delete all old Queues

4.28 QIN Scheduler(SMQR)

System Refresh Confidential Page 72/13th Nov 2014


4.29 Message Inbound Queue

 Goto Transaction code SMQ2

 Change settings as per screenshot

 Delete all old Queues

System Refresh Confidential Page 73/13th Nov 2014


4.30 Default Scheduling of SAP standard jobs

Schedule all Standard SAP Background jobs in SM36

System Refresh Confidential Page 74/13th Nov 2014


4.31 Create Variant

Create below variants in SE38:

System Refresh Confidential Page 75/13th Nov 2014


SAP_REORG_JOBS

SAP_REORG_SPOOL

System Refresh Confidential Page 76/13th Nov 2014


SAP_REORG_BATCHINPUT

4.32 DBA Jobs

DB13 Calendar

Put tcode DB13 and compare with screenshot taken earlier.

ST03 RETENTION PERIOD

Put tcode ST03 and compare with screenshot taken earlier.

4.33 Lock SAP* Password in 000 Client & Default Client

 Goto SU01

 Lock SAP* Password in 000 Client & Default Client.

System Refresh Confidential Page 77/13th Nov 2014


4.34 Revert client settings as original

System Refresh Confidential Page 78/13th Nov 2014


System Refresh Confidential Page 79/13th Nov 2014
5. Template for System refresh.

While carrying out system refresh we maintain an excel sheet containing details about each and
every stage of activity. This helps us to keep a track of task and is also used to update the
user/GFE/other teams about progress of activity.

System Refresh Confidential Page 80/13th Nov 2014


System Refresh Confidential Page 81/13th Nov 2014
System Refresh Confidential Page 82/13th Nov 2014

Das könnte Ihnen auch gefallen