Pages

Monday 16 April 2012

How to download SAP kernel

This article answers the following queries :
  • How to download SAP kernel ?
  • What is the process to be followed to download SAP kernel?
  • What is the best practice for SAP kernel upgrade?
----------------------------------------------------------------------------------------

SAP Kernel can be downloaded  from Service Market Place(SMP).
To download SAP Kernel, login to SMP and goto Software Downloads -> Software Downlad Center.  From there please navigate as below
Under Support packages and Patches, navigate to My Company’s Application Components -> My Company’s Software
















Click on  "My company's software"  link to view  all the company’s software that is available as below:





































From the above list, please select your software for which kernel upgrade to be done example : SAP Netweaver PI or SAP Netweaver or SAP SCM or SAP R/3 or SAP R/3 Enterprise etc)

In the below example am selecting SAP Netweaver as my software and proceeding further
































In the above list, select the correct version of software for which you would like to download kernel. In this example, am selecting “SAP EHP1 FOR SAP NETWEAVER 7.0” and proceeding further.

Note : The current software version can be identified from SAP ABAP System’s menu. Please navigate to   System  -> Status. After under SAP system Data tab, by clicking  Component Version/Component details you can view the version of the software.

After selecting software, select Entry by Component link as below























It lists components as below :



































Please select Application Server ABAP in that list and proceed further. It leads to below screen.


Please select the appropriate kernel from the list based on your SAP system setup like 32 / 64bit , Unicode/NonUnicode, Operating system on which your system runs :











































After this click on #Database independent link as above to view below screen




Select the kernel patch which you would like to download and click on Add to Download Basket tab. This results in below screen

Next in the above screen, click on database in which your sap system is running. In my case, am selecting MS SQL server as the database and proceeding further.








                


 In the above list select the kernel patch which you would like to download and click on “Add to Download Basket”. Once you click this button, a screen similar to below will appear













Click on download basket pushbutton which displays screen as below:




In the above screen, click on the above items and save these files in your local desktop and later transfer these files into the desired server in which you would like to perform kernel upgrade.

Best practice is to download N-1 kernel patch from the Service Market Place. It means if the current kernel patch is 176 and the prior kernel patch is 150 and if you are in a lower kernel version (for ex: 124 etc), it is better to upgrade to N-1 kernel patch i.e. to 150 instead of upgrading directly to 176.  The reason for this is sometimes upgrading to latest kernel may lead to some issues like performance problems, system startup failure etc. To avoid this, it is suggested to apply N-1 kernel patch.



21 comments:

  1. Hi Anna,

    Let me know,what is the procedure to upgrade the kernel

    ReplyDelete
  2. • Stop App server
    • Stop Services like (saposcol, sapSID_xx)
    • Backup the kernel folder
    • Replace unpack files into kernel directory (EX- F:\usr\sap\EC3\SYS\exe\uc\NTAMD64)
    • Possibly the file startsapsrv cannot be overwritten because of sharing violation, although the App server and the services were shut down. Then close the SAP System Management MMC und stop the App server Service again.

    ReplyDelete
    Replies
    1. Hi,
      What is the procedure to upgrade the kernel in the linux system and what is the procedure to start and stop the service ans instances?

      Delete
  3. Iam a beginner to SAP.Very helpful for me

    ReplyDelete
  4. I've a great admiration for Mr. Durga prasad. His blog is a blessing to the learners. Thank you :)

    Regards,
    Mohit Sharma

    ReplyDelete
  5. HI,
    can you explain me about , after kernal patch upgrade is it required to run ./saproot.sh if yes ,Why? and kindly share real time issues after kernal upgrade

    ReplyDelete
  6. hi,
    explain me about ./saproot.sh, and after upgrade issues

    ReplyDelete
  7. yes it is required to run ./saproot.sh SID because to give permissions to brtools and saposcol

    ReplyDelete
  8. sap kernel upgrade on unix environment:

    stes:

    Before going to upgrade kernel we have to follow some pre-stes:
    --------------------------------------------------------------------------------------------
    1) check the current level of the sap kernel using disp+work at os level run this as SIDadm user.
    (OR)
    go to sap screen and select system---->status. one screen will be appeared in that we can observe sap level n other sap system information.
    (OR)
    execute sm51----->click on release note. from there we can know sap kernel related information.

    2) downlod the latest version of the required kernel .SAR files from sap market place.
    sapdb.sar
    sapdbexe.sar
    copy them in one newly created directory and give persimissions and ownership to that newly created folder along with two .sar files

    3) stop the services (database is not required to stop)

    4)kill the saposcoll.

    5)uncarthe downloaded two .sar files using command
    SAPCAR -xvf (login as sidadm)

    sap kernel upgrade procedure:
    -------------------------------------------------
    6).copy the uncared files to /usr/sap/SID/sys/exe/run
    (OR)
    sapmnt/SID/exe
    7).run the ./saproot.sh
    8).start the services and saposcol.
    9)execute disp+work you can observe newly upgraded kernel version.


    ReplyDelete
  9. Hello Mr Durga Prasad,

    I have a question which I got during my interview

    In order to upgrade kernel in LINUX for ECC6 EHP7 with Oracle Database we need 2 kernel files
    1) SAPEXE.SAR
    2) SAPDBEXE.SAR

    Is this correct or we need different files ? or less then 2 or more then 2 files we need ?

    waiting for your reply

    ReplyDelete
    Replies
    1. @chirag: Hello Chirag
      yes we need two file to upgrade kernel.
      1. SAPEXE.SAR: database independent file
      2. SAPEXEDB.sar database dependent file

      Delete
  10. we need these to files only.
    1 is database independent
    2 database dpendent

    ReplyDelete
  11. Is there any specific reason for SAR extension.I faced this one in an interview.Could you please clarify.

    ReplyDelete
  12. Dear @mi tab,
    SAR is an extension to extract archive file of SAP business system. SAR is an updated version of CAR.

    ReplyDelete
  13. i am fresher in SAP BASIS so give me some instruction to me how to prepare SAP daily nd Which type of sftwr i will practice like os level or linux cauld u please brothers i need ur rplys....

    ReplyDelete
  14. tnq this type of information given to me....

    ReplyDelete
  15. i am fresher in SAP BASIS so how to prepare daily nd share some imprtnt topics in realtime nd also how to practice it....i am waiting bro for ur rply....

    ReplyDelete

Please provide your valuable feedback: