R346C Upgrade Runbook
R346C Upgrade Runbook
Version 1.0
Document Information
Title:
Key words:
Author:
File Name:
Number of pages:
Template:
Created:
Last Edited:
Print date:
Distribution:
Revision History
Date
Description
Status
Target Readership
Page 2 of 45
Upgrade Project
TYPOGRAPHIC CONVENTIONS.............................................................................................................4
INTRODUCTION .........................................................................................................................................5
UPGRADE APPROACH..............................................................................................................................6
4.1
4.2
4.3
4.4
4.5
4.6
PARALLEL SYSTEM LANDSCAPE RUNNING 46C. CURRENT 31H LANDSCAPE KEPT INTACT..........................6
VERSIONS ....................................................................................................................................................7
PRE-PREPARE PHASE.................................................................... ERROR! BOOKMARK NOT DEFINED.
PREPARE SECTION ...............................................................................................................................14
UPGRADE PHASE ........................................................................................................................................21
POST UPGRADE PHASE ...............................................................................................................................32
9.1
9.2
10
<SYSTEM SID>.......................................................................................................................................................44
11
12
13
14
46C46C46C
File: R346C_Upgrade_Runbook.doc
Page 3 of 45
Upgrade Project
Typographic conventions
Repesents
Phase header
Activity header
Description
Additional info
<Variable>
In the documentation the following numbers 5100xxxx are often used. These numbers refer to a CD or
document with that specific id.
File: R346C_Upgrade_Runbook.doc
Page 4 of 45
Upgrade Project
Introduction
This document details the proposed approach for upgrading the CUSTOMER SAP R/3 systems, from SAP R/3
release 4.0B, to SAP/R3 release 4.6C, with Service Pack 2 (Appl SP level 33 or higher).
The project cycle is estimated to run from the beginning of June 2002 until the end of September/Oktober 2002.
The time constraints are imposed by other project still running in Customer, which starts immediately post go-live
or running during the upgrade and must be in place by end 2002.
Scope of work.
Requirements
Obtain the current Notes for 46C Support Packages and CRT's
Preparations
Run all pre-upgrade actions - e.g. delete clients, Activity Groups etc.
Backup filesystems
Upgrade
File: R346C_Upgrade_Runbook.doc
Page 5 of 45
Upgrade Project
Post Processing
Offline backup
4
4.1
Upgrade approach
Parallel System Landscape running 46C. Current 31H Landscape kept intact.
Plan
Advantages
Filename:
R346C_Upgrade_Runbook.doc
Page 6 of 45
Upgrade Project
4.2
Versions
:
:
:
:
:
:
:
AIX 4.3.3
8.1.7.0
40B
38
40B patch 915
Target versions
OS
Oracle
SAP (db)
Support Packs
SAP (kernel)
Add-ons
Add-ons
:
:
:
:
:
:
:
AIX 4.3.3
8.1.7.0
46C
Appl, ABA, Basis level 33 or higher
46D
PI 1999 46C
File: R346C_Upgrade_Runbook.doc
Page 7 of 45
Upgrade Project
4.2.1
4.2.2
4.2.3
Before
starting
4.2.4
Contact list
Sapops involved for weekend monitoring
Before
starting
4.2.5
Before
starting
4.2.6
Run prepare
Additional disks
Before
starting
4.2.7
Before
starting
4.2.8
Before
starting
4.2.9
Before
starting
4.2.10
Upgrade documentation
Add-on documentation
Before
starting
Before
prepare
4.2.12
Before
prepare
4.2.13
Before
prepare
4.2.14
Before
prepare
4.2.15
Before
end of
upgrade
of Q43
4.2.16
Before
starting
4.2.17
336496
4.2.18
Before
prepare
4.2.19
Before
prepare
4.2.20
193616
4.2.21
179376
4.2.22
PREPARE PHASE
File: R346C_Upgrade_Runbook.doc
Page 8 of 45
Upgrade Project
4.2.23
4.2.24
4.2.25
4.2.26
4.2.27
4.2.28
4.2.29
4.2.30
4.2.31
Create tablespaces
For the size of the tablespaces after the upgrade got to appendix A.
The following table spaces can be created in advance :
PSAPES46CD
5500 M
PSAPES46CI
2700 M
PSAPEL46CD
1400 M
PSAPEL46CI
200 M
Check with previous upgrades.
SID message from CHECKS.LOG:
Set max extents=900, initial=16K next=20M
Use sapdba .:
su ora<sid>
sapdba
Or create them with :
svrmgrl
connect internal
SVRMGRL> create tablespace <NAME> datafile
/oracle/<SID>/sapdata<x>/esnnXd_1/esnnXd.data1 size 2000M
default storage (initial 16K next 20M minextents 1 maxextents
900) online;
(and a second one of 2000M) if needed
File: R346C_Upgrade_Runbook.doc
Page 9 of 45
After
backup
Upgrade Project
File: R346C_Upgrade_Runbook.doc
Page 10 of 45
Upgrade Project
4.2.32
4.2.33
4.2.34
4.2.35
on target server
Mount :/export/sapcd /export/sapcd
Create SAPkernel exclude file.
During the upgrade, the new R/3 kernel will be installed. All files
and subdirectories in directory /usr/sap/<SID>/SYS/exe/run which
are not used in Release 46C will be removed. Files and
subdirectories can be protected from deletion if they appear in a file
"protect.lst" in the same directory (each protected name in a
separate line).
File: R346C_Upgrade_Runbook.doc
Page 11 of 45
Upgrade Project
as <sid>adm
cd /usr/sap/put/bin
R3up reset prepare
(output)
Starting resetting PREPARE.
R3up message
R3up> Entries made in the database by PREPARE were
removed.
You still have to empty upgrade directory /usr/sap/put
manually.
Enter <CR> to continue, or "cancel"...
cd /usr/sap/put
rm -fr *
File: R346C_Upgrade_Runbook.doc
Page 12 of 45
Upgrade Project
4.2.37
HP Systems only
at now
/opt/java/bin/jre cp /usr/sap/put/ua/ua.jar UaServer
<ctrl>D
IBM Systems only
If you cannot do at then modify /usr/adm/cron/at.allow , this file
controls the at functionality
at now
jre cp /usr/sap/put/ua/ua.jar UaServer
<ctrl>D
If there are problems you may have to issue the following
alternative command
at now
jre -classpath /usr/jdk_base/lib/classes.zip -cp
/usr/sap/put/ua/ua.jar UaServer
<ctrl>D
4.2.38
4.2.39
196342
156913
159654
and observer.
Startup PREPARE
Choose Select to display the list of phases
File: R346C_Upgrade_Runbook.doc
Page 13 of 45
310681
(179373)
Upgrade Project
4.3
PREPARE SECTION
During the first steps of the prepare I ran into the following problems:
1
One of the first was the fact that /etc/oratab did not have the right rights. The file permissions must
be on 644. If this is not the case then the prepare can not check the database.
The second mayor problem I had was the fact that tp and R3trans in the directory
/usr/sap/put/preexe needed to be upgraded to a higher patch level. The right files are in the
directory /export/sapcd/46Ckernel_patch. Do : CAR xvf
/export/sapcd/46Ckernel_patch/tp_318.CAR in the /usr/sap/put/preexe directory and the files will
be put there.
The next problem together with number 2 was the fact that this tp could not attach to the database.
The problem was the TNS_ADMIN variable. You need the following files: tnsnames.ora and
sqlnet.ora in the directories /usr/sap/trans and /oracle/<SID>/network/admin.
If you copy the files from /usr/sap/trans to the directory /oracle/<SID>/network/admin then the
process should be able to connect again.
File: R346C_Upgrade_Runbook.doc
Page 14 of 45
Upgrade Project
4.3.1
193480
cd /usr/sap/put
CAR xvf /export/sapcd/icnv46C.car
This will place files to be used as input during the IMPORT phase
for ICNV table conversion functionality.
4.3.4
PREPARE :
File: R346C_Upgrade_Runbook.doc
Page 15 of 45
Upgrade Project
File: R346C_Upgrade_Runbook.doc
Page 16 of 45
193616
214502
Upgrade Project
4.3.5
4.3.6
PREPARE :
214555
No more CDs
No password
Continue
Phase BIND_PATCH: we have to import SAPKB46C16SAPKB46C27, SAPKA46C16- SAPKA46C27, SAPKH46C16SAPKH46C27 during the upgrade. Refer to Upgrade Guide page 78
how to set Support Packages in this phase.
YOU NEED A PACKAGE KEY (note 119738) : 286470
File: R346C_Upgrade_Runbook.doc
Page 17 of 45
119738
Upgrade Project
208509
(199738)
File: R346C_Upgrade_Runbook.doc
Page 18 of 45
214502
Upgrade Project
4.3.7
PREPARE :
PREPARE :
133017
PREPARE :
Select and execute modules Necessary
checks for conversions, Optional checks for
conversions, Modification support, Preprocessing.
Resolve any failures and rerun as necessary
Step
Activity
File: R346C_Upgrade_Runbook.doc
Note
Page 19 of 45
Duration
(min)
Who
Upgrade Project
Step
Activity
Note
4.3.10
76431
The checks.log will show which tables of the R/3 System are very
large. They can be reduced in size to minimize the conversion time
during the upgrade. Carry out the actions recommended in OSS
Note 76431 and related Notes to reduce the downtime of the
upgrade.
See appendix for large tables. For Production.
4.3.11
4.3.12
4.3.13
4.3.14
File: R346C_Upgrade_Runbook.doc
Page 20 of 45
Not for
Custom
er
Not
necces.
Duration
(min)
Who
Upgrade Project
4.3.15
4.3.16
4.3.17
4.3.18
Not
Custom
er
4.3.20
Not
Custom
er
4.3.21
4.4
Step
Upgrade phase
Activity
File: R346C_Upgrade_Runbook.doc
Note
Page 21 of 45
Duration
(min)
Who
Upgrade Project
Step
Activity
4.4.1
4.4.2
Note
http://<hostname>:4239/ua/UaGui.html
Choose administrator
Start R3up.
Note : shift insert to copy data into fields for R3up.
4.4.3
4.4.4
INITPUT
specify parameters (default)
specify passwords Oracle user system
KEY_CHK
enter passwords
R3up 46C keyword
101902
4.4.5
INITSUBST (strategy)
enter parameters
Select upgrade strategy : A_off (TO BE DECIDED)
Select : do not stop
Select : Continue
Batch Processes : >6
4.4.6
FRONTREQ
Confirm / Continue
ICNV
Confirm / Continue
4.4.7
4.4.8
FREECHK_X
Confirm / Continue
4.4.9
EU_IMPORT2
4.4.10
4.4.11
File: R346C_Upgrade_Runbook.doc
Page 22 of 45
Duration
(min)
Who
Upgrade Project
Step
Activity
Note
File: R346C_Upgrade_Runbook.doc
Page 23 of 45
Duration
(min)
Who
Upgrade Project
Step
Activity
4.4.12
4.4.13
Note
4.4.14
File: R346C_Upgrade_Runbook.doc
Page 24 of 45
Duration
(min)
Who
Upgrade Project
Step
Activity
Note
sapdba
choose option f
choose Toggle database log mode
instance will be stopped and started.
File: R346C_Upgrade_Runbook.doc
Page 25 of 45
Duration
(min)
Who
Upgrade Project
Step
Activity
Note
4.4.15
run as ora<sid>
with ksh
num=1
while [ $num -le 26 ];do
svrmgrl <<END
connect internal
alter rollback segment PRS_$num offline;
END
((num+=1))
done
SKIP this part : slow method (OLD)
connect internal
alter rollback segment PRS_1 offline;
alter rollback segment PRS_2 offline;
..
alter rollback segment PRS_XX offline;
alter rollback segment PRS_BIG1 online;
SHADOW_IMPORT phase
File: R346C_Upgrade_Runbook.doc
197714
Page 26 of 45
Duration
(min)
Who
Upgrade Project
Step
Activity
Note
File: R346C_Upgrade_Runbook.doc
Page 27 of 45
Duration
(min)
Who
Upgrade Project
Step
Activity
Note
4.4.17
ACT_46C phase
44802
PCON_46C phase
Ignore errors after initial check
Select 'do not repeat check'
Repeat PCON_46C phase
Couldnt ignore:
File: R346C_Upgrade_Runbook.doc
73999
Page 28 of 45
Duration
(min)
Who
SSI/
FG
Upgrade Project
Step
Activity
Note
File: R346C_Upgrade_Runbook.doc
Page 29 of 45
Duration
(min)
Who
Upgrade Project
Step
Activity
4.4.19
ADOIM_46C
Note
XPRAS_46C
Activity Group migration/conversion runs > 24hrs if all activity
groups are included, otherwise 2-3 hours.
4.4.21
4.4.22
4.4.23
su - ora<sid>
cd dbs
sqlplus internal @sapdba_role <SID> UNIX
Switch mode
Add parameter to initSID.ora (control_file_record_keep_time = 30)
enable archive mode with sapdba
CHK_POSTUP
4.4.24
Check
Choose revision completed after checking the
LONGPOST.LOG (SEE APPENDIX K)
File: R346C_Upgrade_Runbook.doc
Page 30 of 45
91423
134592
197886
Duration
(min)
Who
Upgrade Project
Step
Activity
Note
Choose continue
File: R346C_Upgrade_Runbook.doc
Page 31 of 45
Duration
(min)
Who
Upgrade Project
Step
Activity
4.4.25
SAVELOGS
Note
Message:
Please decide which log files will be saved now (check size) :
/usr/sap/trans/upgrade/<SID>/nnX
4.4.26
choose all
4.4.27
4.4.28
4.4.29
4.4.30
4.4.31
4.4.32
R3 Online documentation
Reference in SAP-parameter
4.4.33
4.4.34
Save R3up.RTS
4.4.35
4.4.36
4.5
File: R346C_Upgrade_Runbook.doc
Page 32 of 45
Duration
(min)
Who
Upgrade Project
4.5.1
4.5.2
4.5.3
SSI
4.5.4
4.5.5
File: R346C_Upgrade_Runbook.doc
Page 33 of 45
Upgrade Project
4.5.6
4.5.7
4.5.8
4.5.9
4.5.10
File: R346C_Upgrade_Runbook.doc
Page 34 of 45
Upgrade Project
File: R346C_Upgrade_Runbook.doc
Page 35 of 45
Upgrade Project
4.5.11
4.5.12
4.5.13
START : use
Control : data transfer start
Control : data transfer Optimise
File: R346C_Upgrade_Runbook.doc
Page 36 of 45
95719
173330
150
Upgrade Project
File: R346C_Upgrade_Runbook.doc
Page 37 of 45
Upgrade Project
4.5.14
4.5.15
4.5.16
4.5.17
4.5.18
4.5.19
4.5.20
4.5.21
Check DB02
4.5.22
4.5.23
4.5.24
4.5.25
4.5.26
4.5.27
4.5.28
Run Accept to check the new 4.6 environment - profile settings etc
File: R346C_Upgrade_Runbook.doc
Page 38 of 45
Upgrade Project
Used 46C
Used 31H
PSAPBTABD
19435520
17396440
17237568
159872
PSAPBTABI
18882560
15957416
15854368
103148
PSAPCLUD
3235840
1444176
1671968
PSAPCLUI
921600
335296
377712
PSAPDDICD
1024000
573584
157160
PSAPDDICI
665600
314440
123408
191032
PSAPDOCUD
102400
74184
68752
5432
PSAPDOCUI
102400
15952
12736
3216
PSAPEL46CD
2048000
714832
PSAPEL46CI
307200
15736
PSAPES46CD
4648960
3549936
PSAPES46CI
2048000
1403576
PSAPEL31HD
2104320
1626360
PSAPEL31HI
512000
30440
PSAPES31HD
3481600
2240664
PSAPES31HI
1536000
771888
PSAPLOADD
30270
4016
4016
PSAPLOADI
30270
3256
3272
-16
PSAPPOOLD
3061760
2338360
1884320
454040
PSAPPOOLI
2099200
1665416
1370448
294968
PSAPPROTD
16009216
13362304
14491176
PSAPPROTI
346112
112208
253832
PSAPROLL
6758400
4465872
4353232
112640
PSAPSOURCED
174080
21456
12544
8912
PSAPSOURCEI
97280
8728
3736
4992
PSAPSTABD
23572480
20071064
19728448
342616
PSAPSTABI
17459200
13905016
13054200
850816
PSAPTEMP
8192000
110240
PSAPUSER1D
5120
2368
2352
16
PSAPUSER1I
5120
1976
1976
SYSTEM
512000
369600
232528
137072
File: R346C_Upgrade_Runbook.doc
Page 39 of 45
Upgrade Project
Transaction
Description
BAOV
File: R346C_Upgrade_Runbook.doc
Page 40 of 45
Upgrade Project
File: R346C_Upgrade_Runbook.doc
Page 41 of 45
Upgrade Project
File: R346C_Upgrade_Runbook.doc
Page 42 of 45
Upgrade Project
File: R346C_Upgrade_Runbook.doc
Page 43 of 45
Upgrade Project
9.1
9.2
<System SID>
File: R346C_Upgrade_Runbook.doc
Page 44 of 45
Upgrade Project
<System SID>
File: R346C_Upgrade_Runbook.doc
Page 45 of 45