Kernel Upgrade in SAP: Kunal Rai 9/2/2014
Kernel Upgrade in SAP: Kunal Rai 9/2/2014
Kernel Upgrade in SAP: Kunal Rai 9/2/2014
Kunal Rai
9/2/2014
Kernel in SAP
Kernel contains the executable files. It contains those files which are used to run every
event in SAP. Example: starting database, shutdowns of database, starting sap, shutdown
of sap, saposcol, to uncar the sap files etc.
The applications are coded and run in an OS and DB-independent manner. Thus, the kernel
of an SAP system consists of all native programs and dynamic libraries that are required for
launching the Runtime, executing ABAP or Java codes, communicating with the outside
world of the application server like OS, DB and network. These native binaries can be
categorized through different aspects:
/usr/sap/<SID>/SYS/exe/uc
Some important kernel files in sap
R3trans_164-20000978.SAR: R3trans_164-20000978.SAR' is a compressed archive with
the latest version of R3trans from the SAP Service Marketplace, used when we patched the
kernel.
SAPCAR: SAP Compression and Archiving program
Cleanipc: Cleans Inter-Process Communications Memory
Disp+work: Dispatcher & Workprocess - "The complete Kernel" - Here the complete ABAP
is processed.
Dpj2ee: Dispatcher for Java
Dpmon: Used to get the process overview of an instance in text mode.
Enserver: SAP Enqueue Server
Jcmon: Program to monitor and manage Java processes
Jcontrol: Program to control Java processes
jenqulib.jar: Java Enqueue Library
jlaunch: Program starts the Java processes.
Rfcping: Ping the RFC layer.
sapccm4x: CCMS Agent for Abap
sapccmsr: CCMS Agent for Java
sapcontrol: 'sapcontrol' is used to stop/start/monitor the sap instances (for example, from
the sapmc).
Sapstart: Starts SAP processes
Sapstartsrv: Starts SAP processes.
startdb Program to start the database
startj2eedb Program to start the database (Java)
startrfc: The tool is a very easy SAP command line interface to start all of the implemented
function modules of SAP systems.
Startsap: Program to start SAP
stopdb: Program to stop the database
stopj2eedb: Program to stop the database (Java)
stopsap: Program to stop SAP
tp: The Transport Tool. This program coordinates the complete import and export of
program and table changes made within the SAP system in order to transport them through
the complete System Landscape.
icmadmin.SAR: Tool to monitor and manage the Internet Communication Manager (ICM)
from the SAP System (transaction SMICM).
Icman: Tool to monitor and manage the Internet Communication Manager (ICM) from the
SAP System (transaction SMICM).
Icmbnd: Program to bind ports with numbers from 0 to 1023
Icmon: Internet Communication Manager (ICM) used for HTTP(S), SMTP based
communication used to monitor and manage the Internet Communication Manager (ICM)
from the SAP System (transaction SMICM).
instance.lst List of database-independent executables. These executables are valid for all
database systems used by the SAP system.
Instancedb.lst List of database-dependent executables. These executables can only be
used with a particular database system.
Kernel Upgrade Process:
1. Find the current version of the kernel (Any one step)
Execute the command disp+work –v in cmd
SYSTEM->STATUS
SM51->Release Notes
Note: SAPOSCOL service should be stopped because it also will get overwritten by
the new file. Also, in UNIX servers, the owner of SAPOSCOL service is the user "root". In
this case, you will have to login as "root" user and stop the service.
7. Copy the new kernel files to the KERNAL LOCATION folder location
EXA:-
/usr/sap/<SID>/SYS/exe/uc/NTAMD64_NEW FILES TO
/usr/sap/<SID>/SYS/exe/uc/NTAMD64
8. Bring SAP and OS COLLECTOR UP:
Start sap from MMC
In windows, start the SAPOSCOL (Start-> run-> services.msc)
In Unix servers, start the SAPOSCOL use the command:
saposcol –l
9. From command prompt enter disk+work for check kernel version which
have been upgrade
10.Check DB connection using R3trans -d