Thursday, April 24, 2014

Kernel Upgrade

KERNEL UPGRADE
Kernel upgrade is the process of replacing the old executable with new executable. 
SAP Kernel Resides in /sapmnt/<SID>/exe (or) /usr/sap/<SID>/SYS/exe/run for 32/64bit Machines.
The need to upgrade the kernel may arise in the following circumstances.

1. Applying of support packages sometimes demand the updated kernel
2. During an SAP OS/DB upgrade (or) patching
3. To fix the bug as per the notes
4.As part of the early watch report SAP recommends. 
we can check the Kernel Version by executing “disp+work” on
<sid>adm user

PROCESS:
1. Stop SAP System, Stop Services (SAPOSCOL, SAP<SID>_00, All
Oracle Services)
Page


2. Backup The Kernel Directory for Rollback in any inconsistencies with the new kernel.                 

3. Check the present kernel Patch level by executing disp+work (or)  login to the system and navigate to system-->status





4. Download the Latest Kernel from SAP Service Market Place (SMP) specific to Release, OS, DB,
Hardware and Unicode/Non-Unicode
Execute the URL www.service.sap.com/patches to download the latest
kernel and specify the S-USERID and Password


Navigate to software Downloads-->support packages and
patches-->My Company Application Components-->Click on
Complimentary Software

Now select the kernel based on 32/64bit and Unicode/Non-Unicode



Select the “Linux on IA32 32bit”

Select the Database Independent and download the kernel files
“SAPEXE_310-20000967.SAR” file and click on add to Download Basket


Click on Oracle to download the database dependent file


Select the Database Dependent and download the kernel files
“SAPEXEDB_310-20000968.SAR” file and click on add to Download
Basket
Download all the files that is mentioned in the above.
After Successfully Downloading the kernel files Uncar the kernel files
as follows
5. Uncar the Executables into kernel with New kernel Directory


Like that uncar all the executables by suing command SAPCAR –xvf <filename.SAR>
6. Copy the executables into existing kernel (because only few of
them are updated) i.e., overwrite the existing kernel executables.

7. Run the below script with the ‘root’ user to get the privileges for
br*tools (./saproot.sh)



8. Restart the services and SAP system i.e., start all the services that
is mentioned in step1.
9. Check the kernel version by executing command ‘disp+work’ in
<sid>adm user/login in to system and check in systemstatus






Execute the command “dpmon” to check whether the system is up &
running (or) not

Kernel Is Updated Successfully





2 comments:

  1. hi sunil
    my kernel patch level 68 ,
    upgrade to 100, but os level is change, but sap level is not change old patch level is a show.what problem

    ReplyDelete
  2. Is your application server on cluster environment

    ReplyDelete