Kernel Upgrde Win2k
Kernel Upgrde Win2k
Chapter:
Section:
Subsection:
Document Author:
Date Created:
Version:
Body:
Prerequisites
SAP system
SAP system version
Kernel current version
Kernel version after upgrade
New kernel location
New kernel file name
SAP existing kernel location
SGEN processing needed
Outage date and time
CIP leader
d:\usr\sap\%ORACLE_SID%\sys\exe\run
NOT NEEDED
Naumenko Dmitry
Skills required
SAP basis
Win2K operating system
318846
156548
19466
UPGRADE PROCEDURE
A. Introduction
The Windows-based SAP Kernel means all executable programs located in
D:\usr\sap\%ORACLE_SID%\sys\exe\run
If you prefer to use network path then it is:
\\<SAP HOST>\sapmnt\%ORACLE_SID%\sys\exe\run
B. Requirements
Accesses needed:
SAP R/3
: normal user in order to test the system after new Kernel installation
Windows OS
: <sid>adm (it usually has administrator's right)
SAPTCC DEPOT : FTP access for kernel files download
C. Pre-upgrade actions
Please perform pre-upgrade actions in advance, before outage.
This part takes a lot of time for kernel copy to application server!
1) Logon SAP host using Terminal services client as sidadm
2) Run Windows explorer
3) Open folder D:\usr\sap\%ORACLE_SID%\sys\exe
4) Make a backup copy of directory run (it contains existing SAP kernel)
5) Run Windows command prompt and copy new kernel from SAPTCC DEPOT to SAP host
with the following commands:
d:
cd D:\usr\sap\%ORACLE_SID%\sys\exe
Delete directory from previous upgrade (if exists):
rmdir new_kernel
Create new directory for new kernel archives:
mkdir new_kernel
cd new_kernel
Copy new kernel archives from SAPTCC depot using FTP:
ftp mou042.na.mars
You will be asked for user and password. Use sidadm for SGU SAP system:
7) Ensure that downloaded CAR/SAR files can be unpacked successfully. To do this use the following
commands:
d:
cd D:\usr\sap\%ORACLE_SID%\sys\exe\new_kernel
mkdir test
cd test
Try to unpack new kernel:
SAPCAR -xvf ../<new_kernel_file>
If you get error messages during unpacking of certain file - download it once more from SAPTCC_depot,
and check release of SAPCAR utility (download new one from SAP OSS site if needed).
After all files are unpacked OK - delete test directory:
cd D:\usr\sap\%ORACLE_SID%\sys\exe\new_kernel
rmdir /S test
E. Post-Upgrade activities
1) Logon SAP system
2) Check system log in SM21 for error messages
3) Check SM50 and make sure all the work processes have started
4) Check SAP kernel status. Use menu "System -> Status".
Example for PM3 upgraded to patchlevel 2335:
Ensure that kernel release and patchlevel are correct (see pre-requisites to know new kernel release and patchlevel).
5) Logon SAP host using Terminal services client as sidadm
6) Check the transport prorgamms:
d:
cd d:\usr\sap\trans\bin
dir
tp connect %ORACLE_SID% pf=PROFILE (for example
cd d:\temp
R3trans -dv