Preparation:
1. Login to unix system with user root
2. Make new backup directory for the latest kernel
6. Unpack the new downloaded kernel in folder /newkernel
1. Login as <sapsid>adm
1. Login to unix system with user root
2. Make new backup directory for the latest kernel
mkdir oldkernel3. Backup the latest kernel
cp -pr /sapmnt/SID/exe/* /oldkernel4. Make a new kernel directory
This will help you to switch back to old kernel , if there is any problem with the new kernel.
mkdir newkernel5. Copy the new downloaded kernel files into /newkernel
6. Unpack the new downloaded kernel in folder /newkernel
SAPCAR -xvf SAPEXE.SARApplying new kernel:
SAPCAR -xvf SAPEXEDB.SAR
1. Login as <sapsid>adm
su – <sapsid>adm2. Stop the SAP System
stopsap3. Stop saposcol
saposcol -k4.Switch the user to root
su – root5. Copy all the extracted kernel files into the kernel folder
cp -pr /newkernel/* /sapmnt/SID/exe6.change the owership to <sapsid>adm
chown <sapsid>adm /usr/sap/<SAPSID>/SYS/exe/run/*7. Go to the current kernel directory
cd /sapmnt/SID/exe8.Execute the following commands:
./saproot.sh <SAPSID>9. Login as <sapsid>adm
This script will change the owner and the permission of related kernel file.
su – <sapsid>adm10. Start the saposcol service
saposcol11. Start the SAP system
startsap