Sunteți pe pagina 1din 4

SAP Kernel Upgrade-Step-by-step :-

SAP Kernel Upgrade 700 to 720


OS AIX Unix, Oracle database

1. Login as root

2. Make new backup directory


cd /
mkdir SIDkernel_10102007

3. Create latest kernel backup


cp -pr /sapmnt/SID/exe/* /tmp/SIDkernel_10102012

4. Make new shadow kernel directory


cd/tmp/
mkdir newkernel_201

5. Copy the new downloaded kernel files into /newkernel_201

6. Unpack the new downloaded kernel in folder /newkernel_201


SAPCAR -xvf SAPEXE_201-20005242.SAR
SAPCAR -xvf SAPEXEDB_201-20005242.SAR

7. Login as <sid>adm

switch user su <sid>adm

8. Stop the SAP System


stopsap

9. Stop saposcol
saposcol -k

10. Login as root

11. Go to the current kernel directory


cd /sapmnt/<sid>/exe

12. Copy all extracted support packages into this folder


cp -pr /tmp/newkernel/* /sapmnt/<sid>/exe

13. Copy back the original file saproot.sh into this folder.
cp -p /tmp/SIDkernel_10102012/saproot.sh /sapmnt/<sid>/exe

14. Go to the current kernel directory


cd /sapmnt/<sid>/exe
Then run:
./saproot.sh <sid>

15. Login as sidadm


su <sidadm>

16. Start the saposcol service


saposcol
17. Start the SAP system
startsap

Kernel upgrade completed.

In case if you get the below error while starting SAP L-

Could not open the ICU common library.

The following files must be in the path described by

the environment variable LIBPATH:

libicuuc34.a, libicudata34.a, libicui18n34.a [nlsui0_mt.c 1544] pid =

Try the below steps :-

go to root
ps -ef | grep sapstartsrv
kill -9 <sapstartsrv pid>
Load the instance and START profile through sapcpe below commands.
su <sidadm>
sapcpe pf=/usr/sap/<sid>/SYS/profile/<SID>_DVEBMGS0_<hostname>
sapcpe pf=/usr/sap/<sid>/SYS/profile/START_SCS05_<hostname>
startsap

1. Login as Root

2. Make new backup directory

cd /

mkdir <kernerl_backup>

3. Create latest kernel backup

cp -pr /sapmnt/SID/exe/* /tmp/<kernerl_backup>

4. Make new shadow kerner directory

cd /tmp/

mkdir <new_kernel>

5. Copy the new downloaded kernel files into /<new_kernel>


6. Unpack the new downloaded kernel in folder /<new_kernel>.

sapcar -xvf <filename>.SAR

7. Loging as <SID>ADM

(switch user) su -<SID>ADM

8. Stop the SAP System

stopsap

9. Stop SAPOSCOL

saposcol -k

10. Login as Root

11. Go to the current kernel directory

cd /sapmnt/<SID>/exe

12. Copy all extracted Support Packages into this folder.

cp -pr /tmp/<new_kernel>/* /sapmnt/<SID>/exe

13. Copy back the original file saproot.sh into this folder.

cp -p /tmp/<kernel_backup>/saproot.sh /sapmnt/<SID>/exe

14. Go to the current kernel directory.

cd /sapmnt/<SID>/exe

15. Then run saproot.sh

./saproot.sh <SID>

16. Login as <SID>ADM

su -<SID>adm

17. Start the saposcol serice.


startsap

S-ar putea să vă placă și