Saturday 30 July 2016

SAP Kernel Upgrade

SAP Kernel is a central Program which act as an interface between SAP Application and the operating system , It responsible for Starting and stopping of  SAP R/3 system , Dispatcher, Message server and other application services .
                               

Kernel Upgrade help to increase the System health and Performance , now check how can we upgrade SAP Kernel.


First we need to find our current Kernel Version, for that Login with SIDADM user or navigate to the kernel directory (windowsusr\sap\DA1\SYS\exe\uc\NTAMDXX, Unix - sapmnt/SID/exe) and goto CMD use the command disp+work,
                                  

Download the kernel from service market place, need to download the exact file as the operating system.

Kernel is 2 parts, 1) Database Independent
                                     2) Database Dependent  
Need to download this 2 parts of the kernel

First of all you may Stop the SAP system and SAP services before upgrade the Kernel and take a backup of the current kernel in a safe location.

Then uncar the downloaded kernel files to a new folder with the commands
"sapcar -xvf filename.SAR"

System identify the kernel by using the Path and the Folder name so we need to move the uncared files to the existing folder, 


So move the data of the newly created folder to,
Windows - usr\sap\SID\SYS\exe\uc\NDTAMDXX
Unix - sapmnt/SID/exe

The kernel upgrade in Windows and Unix is almost same, the just different is in Unix, that is after the previous step we need to Run the following comment in the Kernel folder
./saproot.sh SID

Then you can restart the SAP system and check the Current Kernel version using "disp+work"

                                 


Thanks for reading, Please share your valuable feedback.  

Share this

12 Responses to "SAP Kernel Upgrade"

  1. what is the purpose of ./saproot.sh SID in unix?

    ReplyDelete
    Replies
    1. Hi,

      We have to execute the saproot.sh SID with root user after we have performed the kernel upgrade,


      saproot.sh SID is used to configure the ownership and permissions of BRTOOLS (kernel files), including the SAPOSCOL.

      Regards,
      Sajmal

      Delete
  2. What is the use of sapcpe command in kernel upgrade?

    ReplyDelete
  3. What is the use of sapcpe command in kernel upgrade?

    ReplyDelete
    Replies
    1. Sorry for the late Response,
      SAPCPE is used to sync kernel files across the system.

      Delete
  4. Good information..Thank you

    ReplyDelete
  5. Why didnot use RKS (Rolling Kernel Switch) technology ?

    ReplyDelete
    Replies
    1. Yes we can use that option as well, but most of the customers not yet using it.

      Delete
  6. What is saposcol and and it's use ?

    ReplyDelete
    Replies
    1. Please go through the below post,

      https://basisgenie.blogspot.com/2021/12/saposcol-operating-system-collector.html

      Delete
  7. While doing kernel upgrade what are the issues we will get in sometime ?

    ReplyDelete