SAP Kernel Update on Unix and Linux

Overview

CHECK BEFORE

Check the current kernel version:

  1. System > Status:
  2. Operating system level:

DOWNLOAD

Download kernel from Support packages and patches ---> By Alphabetical Index (A-Z) ---> K ---> SAP kernel <bit> <uc> ---> SAP kernel <release> (...) ---> There choose <operating system> ---> both #Database independent and <database specific> archives

Example:

EXTRACTION, UPDATE

  1. Change to profile folder:
  2. Find the instance profile
  3. Find DIR_CT_RUN by "sappfpar pf=<instance pf with full path>"
  4. Copy SAR files one level above, in this case to "/usr/sap/<SID>/SYS/exe/uc":
  5. Copy kernel folder, in this case copy linuxx86_64 as linuxx86_64.bak:
  6. Copy SAPCAR to the current folder:
  7. Stop SAP at this point. Also stop sapstartsrv processes of this SAP system. Refer to Starting and Stopping SAP Systems Based on SAP NetWeaver 
  8. Extract kernel archives by "sapcar -xfj <SAR archive> -R <destination folder>". First extract SAPEXE and SAPEXEDB SAR files and then the rest (dw sar, lib_dbsl sar, etc):

  9. Change permission and owner of kernel files as root by "chmod -R 755 <kernel folder>/*" and "chown -R <sid>adm:sapsys <kernel folder>/*":
  10. Run saproot.sh "<kernel folder>/saproot.sh <SID>" as root:
  11. Start SAP by "startsap r3" as <sid>adm (deprecated) or by sapcontrol; refer to Starting and Stopping SAP Systems Based on SAP NetWeaver 

CHECK AFTER

Check the new kernel version:

    1. System > Status:
    2. Operating system level:
原文地址:https://www.cnblogs.com/weikui/p/13445981.html