Professional Documents
Culture Documents
Chapter:
Section:
Subsection:
Body:
BIP
640
167
/sapmnt/$ORACLE_SID/exe
NOT NEEDED
Naumenko Dmitry
Skills required
SAP basis
Unix operating system
UPGRADE PROCEDURE
A. Introduction
The SAP Kernel means all executable programs located in /sapmnt/$DB_SID/exe
During this procedure new kernel files will be put to /saptmp/$DB_SID/new_kernel
and backup copy of existing kernel - to /saptmp/$DB_SID/old_kernel
B. Requirements
Accesses needed:
SAP R/3
: normal user in order to test the system after new Kernel installation
UNIX accesses
: <sid>adm, ora<sid>, root
SAPTCC DEPOT : FTP access for kernel files download
C. Pre-upgrade actions
Duration: 1 hour
commands:
cd /saptmp/$ORACLE_SID/new_kernel
mkdir test
cd test
Try to unpack new kernel:
SAPCAR -xvf ../<new_kernel_file>
If you get error messages during unpacking - download it once more from SAPTCC_depot.
Ensure that kernel release and patchlevel are correct (see pre-requisites to know new kernel release and patchlevel).
Note: For 40B systems you can't see the last digit of kernel level. As workaround you can logon as sidadm and issue
disp+work |grep "patch level"
3) Check system log in SM21 for error messages
4) Check SM50 and make sure all the work processes have started. Check tracefiles
for a couple of DIA processes, menu "Process -> Trace -> Display file"
5) Check the transport tool. Logon SAP host as sidadm and execute the following:
cd /usr/sap/trans/bin
ls
40B:
tp connect $ORACLE_SID pf=<PROFILE> (for example: tp connect BID pf=TP_DOMAIN_BIP.PFL)
Other:
tp connect $ORACLE_SID
(for example: tp connect DE1)
(return code should be 0)
cd /tmp
R3trans -dv
(Return code should be 0000)
Trans.log will be created in current dir, check it if you get other then 0000 return.
6) Check brtools and database connectivity:
su - sidadm
brconnect -u / -c -f check
7) Check BRSPACE by extending any datafile (please choose small one).
For example you can extend the first datafile of PSAPDOCUI tablespace by 2 Mb.
To identify datafile name use tx DB02.
Menu in BR*Tools: "Space management -> Alter datafile".
If problems occur - please fix them.
8) Restart SAP&Oracle to check startsap/stopsap scripts:
su - sidadm
stopsap
startsap
Notify CIP leader (see pre-requisites) about completion of kernel upgrade.
9) Enable alerting: **********Completed.*******************