Saturday, October 26, 2013

SAP Kernel upgrade in UNIX environment


The SAP Kernel is a set of executable files that provide the ability for SAP to run at the Unix level, including startup and shutdown, and control and functionality of work processes.  SAP frequently publishes updated versions of the kernel, which must be applied in order to maintain proper support expectations from SAP.


You find the latest versions of kernels in Service Market place (http://service.sap.com/). To download the latest patch you should have a valid S user details with you.

First choose the kernel as per bit version, whether its 32 bit or 64 bit




Later choose your kernel version







Choose your OS version
  

 
Download the latest kernel patch from SMP
There are 2 files to be downloaded from SMP:
a) Database Independent Files
This is of the nomenclature SAPEXE_<Patch level>-<release date>.SAR

b) Database Dependent files
his is of the nomenclature SAPEXEDB_<Patch level>-<release date>.SAR


Stop all application servers and then CI,DB instance






 Now check your SAPOSCOL, if its running status then just stop it.


 Cleaning the shared memory with the help of cleanipc command


Check if any other process is currently running in the system via command "ps -ef | grep <SID>"


Now take backup of your old kernel. Now take the new kernel files which you download from SMP place it in the exe folder (/sapmnt/<SID>/exe) . Important here is that all the files have executable rights and having owner as <SID>adm :sapsys



Switch to root for post kernel upgrade adjustment


Change the directory to /sapmnt/<SID>/exe and then execute the script saproot.sh


Now startup your sap system


Now check whether all services are up and running by running command ps -eaf | grep dw | grep <SID>

Check out all Java services up and running by command ps -eaf | grep jlaunch | grep <SID>

If you are running with a oracle database just check all the Oracle services up and running by command ps -eaf | grep ora | grep <SID>

Now if everything up and running you have a successful upgradation of your SAP kernel. You can check the latest kernel version in system -> status .






No comments:

Post a Comment