Showing posts with label SAP Kernel. Show all posts
Showing posts with label SAP Kernel. Show all posts

Sunday, October 25, 2015

Video Step by step upgrade SLES 11 SP 4 (with SAP ERP 6 EHp 5) to SLES 12

This video show you on how to step by step upgrade SuSE Linux Enterprise Server 11 SP 4 (with SAP ERP 6 EHp 5 on it) to SuSE Linux Enterprise Server 12.
There are few problems especially on uuidd (UUID daemon) and libuuid1 but it all solved. You can check it out.

Happy watching !!

Saturday, October 24, 2015

Video Upgrade SLES 11 SP 2 with SAP ERP 6 EHp 5 to SLES 11 SP4

I have installed SAP ERP 6 EHp 5 on SuSE Linux Enterprise Server SP 2.

Then I need to upgrade my OS from SLES 11 SP 2 to the latest version of SLES 11, which is SLES 11 SP 4.

Here are the video.

Wednesday, January 8, 2014

Brief Description of SAP Executable

Here is a list of SAP executables that you may find on your SAP systems. If you know of SAP exe files missing in from list, please leave a comment:
R3check                     This is a tool that can check Cluster-Tables for errors.
R3ldctl                        The tool for exporting all table structures to the file system during an OS/DB-Migration.
R3load                        The table import & export tool of SAP during Installation, Upgrade and Migration.
R3szchk                     The tool for determine the sizes of the different tables in the target database during the import in an OS/DB-Migration.
R3ta                             Split large tables for export and import
R3trans                      This is the tool, that does the real work for tp. tp controls the import and export of changes and r3trans does them using scripts, that were generated from tp.
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
SAPEXEDB_159-20000976.SAR     Compressed file containing DB Dependent executables
SAPEXE_159-20000978.SAR     Compressed file containing the Database Independent executables
cfw                         GUI Control Framework for Abap Objects
cleanipc                     Cleans Inter-Process Communications Memory
db2jcllib.o                 Rsdb/db2jcl_library parameter
db2radm                     Used to configure DB2Connect
dbadaslib.o                 Part of lib_dbsl – database dependent SQL handler
dbdb2pwd                     Create an encrypted DB2 Password File
dbdb2slib.o                 Part of lib_dbsl – database dependent SQL handler – DB2
dbsdbslib.o                 Part of lib_dbsl – database dependent SQL handler
dev_sapstart                 Log file for starting sap
dipgntab                     Activation and adjustment of the nametabs with the ABAP Dictionary.
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.
dsrlib.o                     Distributed Statistics Records
Dw_gui.o                     Dependent module for Disp+work
Dw_mdm.o                     Dependent module for Disp+work
Dw_stl.o                     Dependent module for Disp+work
Dw_xml.o                     Dependent module for Disp+work
Dw_xtc.o                     Dependent module for Disp+work
Eg2mon                         Monitor program for Extended Global Memory Segments (only for support)
Em2mon                         Monitor program for Extended Memory management (only for support)
emmon                         Test program for Extended Memory
enqt                         Check and Monitor the Enqueue Lock Table
enrepserver                 SAP Enqueue Replication Server
enserver                     SAP Enqueue Server
ensmon                         Enqueue Server Monitor Programs to monitor the enqueue server and the enqueue replication servers.
Es2mon                         Programs to monitor the enqueue server and the enqueue replication servers.
esmon                         Program to monitor the enqueue server and the enqueue replication servers.
estst                         Test program for the Extended Memory Segments (only for support)
evtd                         This program is able to trigger events within the SAP system. The tp tool uses this feature. It can be used as trigger for self-written interfaces as well.
exe_db2.lst                 The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
gateway.lst                 The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
gw.properties                 Gateway processes
gwmon                         Program gwmon (at operating system level) or SAP transaction SMGW monitors the SAP Gateway.
gwrd                         Program gwmon (at operating system level) or SAP transaction SMGW monitors the SAP Gateway.
icm.properties                 Tool to monitor and manage the Internet Communication Manager (ICM) from the SAP System (transaction SMICM).
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.
ipclimits                     Reports IPC memory available to SAP at the OS level
j2eeinst.lst                 The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
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
jlogunzip.jar                 Java Classes used to unzip archives (used from the sapstartsrv)
jperflib.jar                 J2EE client Jar file
jstartup.jar                 Java Startup Frame Work jar file
jstartupapi.jar             J2EE Engine Monitoring API
jstartupimpl.jar             J2EE Monitoring
ldap_rfc                     LDAP Connector
ldappasswd                     Store LDAP directory user and password
ldapreg                     LDAP Registration Service
lgtst                         Program to test the message server
libicudata30.a                 ICU Common Library – Part of the RFC SDK and are used for RFC connections.
libicui18n30.a                 ICU Common Library – Part of the RFC SDK and are used for RFC connections.
libicuuc30.a                 ICU Common Library – Part of the RFC SDK and are used for RFC connections.
libjenqulib.o                 Part of the RFC SDK and are used for RFC connections.
libjmon.so                     JMON Shared Library – Part of the RFC SDK and are used for RFC connections.
libjperflib.so                 Part of the RFC SDK and are used for RFC connections.
libregex.o                     Part of the RFC SDK and are used for RFC connections.
librfcum.o                     Dynamic Load Library – Part of the RFC SDK and are used for RFC connections.
libsapcsa.o                 CSA Shared Library – Part of the RFC SDK and are used for RFC connections.
libsapsecu.o                 SECU Shared Library – SAP seculib library used for default encryption. It’s referenced in the j2ee startup logs in the work directory.
libsapu16.so                 Part of the RFC SDK and are used for RFC connections.
libsapu16_mt.so             Part of the RFC SDK and are used for RFC connections.
mdxsvr                         MDX Parser for RFC
memlimits                     The program memlimits lets you determine how much swap space is currently available in the host system.
msclients                     Shows running instances registered in the Message Server
msg_server                     Main Message Server executable
msmon                         Message Server Monitor Utility
msprot                         Monitor Message Server at the OS level
niping                         Program to test the SAP network layer and the SAProuter
rfcexec                     The tool to start other programs from within SAP (ABAP) on the OS level via the gateway on any other (or the same) server.
rfcexec.sec                 The tool to start other programs from within SAP (ABAP) on the OS level via the gateway on any other (or the same) server.
rfcping                     Ping the RFC layer
rscparulib.o                 Dynamic shared library with code page converter
rscpf2f                     Check installed locales for given list of languages.  (Created for installation tools. Possibly unused.)
rscpf3f                     Find possible system code pages for given list of languages.                (Created for installation tools. Possibly unused.)
rscpf_ars                     Test program for code page conversion, language handling and locales in combination with ‘rscparulib.o’.  (only for support)
rscpf_db                     Test program for code page conversion, language handling and locales. This program will connect to database and  also attached to shared memory of an instance if possible.  (only for support)
rslgcoll                     Central System Logging Collector
rslglscs                     Show the Syslog specific parts of the shared memory  segment ‘SCSA’. (mainly for support)
rslgsend                     Central System Logging Sender
rslgview                     View SAP Log at the OS level
rstrcscs                     Program creates a common memory segment for the SCSA, locates the trace switches block within it and initializes the trace switches block.
rstrfile                     R/3 system trace file tool
rstrlscs                     The command “rstrcscs r” removes that common memory segment again.
rstrsscs                     The command “rstrsscs” allows change to the switch settings in the trace switches block within the SCSA.
rsyn.bin                     For each kernel version of the R/3 System, there exists an appropriate file rsyn.bin which contains the ABAP/4 syntax description.  It describes what to do when compiling an ABAP statement
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).
sapcpe                         This checks that the local executables are up to date each time an SAP instance that uses local executables is started.
sapcpeft                     Parameter file used by sapcpe
sapcpp46.o                     Virus Scan Adapter files (Note 964305)
sapdbmrfc                     RFC for SAPDB connections
sapevt                         This program is able to trigger events within the SAP system. The tp tool uses this feature. It can be used as trigger for self-written interfaces as well.
sapexec                     Call SAP Function Modules
sapftp                         FTP Client, that can be used from within the SAP system (from ABAP) to communicate with other FTP servers.
saphttp                     HTTP Client, that can be used from within the SAP system (from ABAP) to communicate with other HTTP servers – e.g. for interfaces.
sapiconv                     Program for the conversion of text files
sapkprotp                     Relocate a Content Server Repository
saplicense                     The Tool for the installation of a new SAP License. This is needed when the license expires e.g. because of a hardware change.
sapmanifest.mf                 Text file that contains the kernel patch level and is read by the JSPM (Java Support Package Manager).
sapmanifestdb.mf             Text file that contains the database kernel patch level and is read by the JSPM (Java Support Package Manager).
sapmscsa                     SCSA Administration
saposcol                     The SAP Interface to the Operating System for Performance Data. The Operating System Collector collects CPU Usage, Disk Performance, Paging etc.
sapparar                     Reads the SAP Profile
sappfpar                     This tool can be used for checking the profiles after changes and before restarting the SAP system.
saproot.sh                     Script to set Root permissions necessary for some kernel programs
saprouter                     The program for the Router Connection from customers to SAP and vice versa.
sapsecin                     Generation of the PSE (Personal Security Environment)
sapstart                     Starts SAP processes
sapstartsrv                 Starts SAP processes
sapuxuserchk                 The program xuser is a tool from maxdb which stores the logon information to the DB.  This utility program called by sapcontrol which is a program that uses the web service APIs of the ABAP and Java startup framework to control an instance from the command line.
sapwebdisp                     The SAP Web dispatcher is used for load balancing for a setting up an SAP Internet scenario. It is the only application that needs to be located in the DMZ. Everything “behind” this can (and should) be located in your intranet. So, only one port on one IP address needs to be opened to internet and the SAP Web dispatcher can handle the traffic with the different SAP instances.
sapxpg                         Program that starts programs on an external host. The tool for starting OS commands from within SAP Systems.
scs.lst                     The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
scsclient.lst                 The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
semd                         A Test Tool used to verify semaphore operations.
servicehttp                 The port number where the server should listen for HTTP requests.
shmd                         Related to Shared Memory
showipc                     Checks shared memory segments
sldreg                         SLD registration program
sldreglib.o                 SLD registration program
ssfrfc                         Secure Store and Forward (SSF)
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.
vscan_rfc                     Virus Scan Adapter files (Note 964305)
wdispadmin.SAR                 Web Dispatcher Administration Interface archive program
wdispmon                     Web Dispatcher Monitor program
webdispinst.lst             Web Dispatcher Administration Interface list
xml63d.o                     Virus Scan Adapter files (Note 964305)

Monday, July 11, 2011

SAPPFPAR : tools to check SAP Server profile

SAP kernel has a little part called sappfpar. This little program is used to check whether your SAP profile has already well configured or not. It will suggest gave you a suggestion if there are any of your set parameter on SAP profile is not fit or not good enough.

To run this command, you need to log on as adm user. 

Syntax :

adm$sappfpar check pf=/directory_where_profile_reside/profile_to_check

Here are the sample :


host:adm 6> sappfpar check pf=/sapmnt//profile/_DVEBMGS10_host


================================================================================
==   Checking profile:     /sapmnt//profile/_DVEBMGS10_host
================================================================================




Shared memory disposition overview
================================================================
Shared memory pools
 Key:   10  Pool                        
            Size configured.....:   188000000 ( 179.3 MB)
            Size min. estimated.:   185403586 ( 176.8 MB)
            Advised Size........:   188000000 ( 179.3 MB)

 Key:   40  Pool for database buffers  
            Size configured.....:   126000000 ( 120.2 MB)
            Size min. estimated.:   122104088 ( 116.4 MB)
            Advised Size........:   126000000 ( 120.2 MB)

Shared memories inside of pool 10
 Key:       11  Size:      500000 (   0.5 MB) Factory calender buffer    
 Key:       12  Size:     6000000 (   5.7 MB) TemSe Char-Code convert Buf.
 Key:       13  Size:    40500000 (  38.6 MB) Alert Area                  
 Key:       14  Size:    20000000 (  19.1 MB) Presentation buffer        
 Key:       17  Size:     2672386 (   2.5 MB) Roll administration        
 Key:       30  Size:       20480 (   0.0 MB) Taskhandler runtime admin.  
 Key:       33  Size:    30720000 (  29.3 MB) Table buffer, part.buffering
 Key:       34  Size:    10240000 (   9.8 MB) Enqueue table              
 Key:       51  Size:     3200000 (   3.1 MB) Extended memory admin.      
 Key:       54  Size:    20488192 (  19.5 MB) Export/Import buffer        
 Key:       55  Size:        8192 (   0.0 MB) Spool local printer+joblist
 Key:       57  Size:     1048576 (   1.0 MB) Profilparameter in shared mem
 Key:       58  Size:        4096 (   0.0 MB) Enqueue ID for reset        

Shared memories inside of pool 40
 Key:       42  Size:    10752992 (  10.3 MB) DB TTAB buffer              
 Key:       43  Size:    33414392 (  31.9 MB) DB FTAB buffer              
 Key:       44  Size:     8838392 (   8.4 MB) DB IREC buffer              
 Key:       45  Size:     5766392 (   5.5 MB) DB short nametab buffer    
 Key:       46  Size:       20480 (   0.0 MB) DB sync table              
 Key:       47  Size:    10241024 (   9.8 MB) DB CUA buffer              
 Key:       48  Size:      300000 (   0.3 MB) Number range buffer        
 Key:       49  Size:     2769392 (   2.6 MB) Spool admin (SpoolWP+DiaWP)

Shared memories outside of pools
 Key:        1  Size:        2500 (   0.0 MB) System administration      
 Key:        2  Size:    33600808 (  32.0 MB) Disp. administration tables
 Key:        3  Size:   114048000 ( 108.8 MB) Disp. communication areas  
 Key:        4  Size:      513448 (   0.5 MB) statistic area              
 Key:        6  Size:   638976000 ( 609.4 MB) ABAP program buffer        
 Key:        7  Size:       14838 (   0.0 MB) Update task administration  
 Key:        8  Size:   134217828 ( 128.0 MB) Paging buffer              
 Key:        9  Size:   134217828 ( 128.0 MB) Roll buffer                
 Key:       16  Size:       22400 (   0.0 MB) Semaphore activity monitoring
 Key:       18  Size:      917604 (   0.9 MB) Paging adminitration        
 Key:       19  Size:    50000000 (  47.7 MB) Table-buffer                
 Key:       31  Size:     4806000 (   4.6 MB) Dispatcher request queue    
 Key:       41  Size:    25010000 (  23.9 MB) DB statistics buffer        
 Key:       52  Size:       40000 (   0.0 MB) Message Server buffer      
 Key:       62  Size:    85983232 (  82.0 MB) Memory pipes                
 Key:       63  Size:      409600 (   0.4 MB) ICMAN shared memory        
 Key:       64  Size:     4202496 (   4.0 MB) Online Text Repository Buf.
 Key:       65  Size:     4202496 (   4.0 MB) Export/Import Shared Memory
 Key:     1002  Size:      400000 (   0.4 MB) Performance monitoring V01.0
 Key: 58900110  Size:        4096 (   0.0 MB) SCSA area                  

Nr of operating system shared memory segments: 22

Shared memory resource requirements estimated
================================================================
Nr of shared memory descriptors required for
Extended Memory Management (unnamed mapped file).:  8

Total Nr of shared segments required.....:         30
System-imposed number of shared memories.:       1000
Shared memory segment size required min..:  638976000 ( 609.4 MB)
System-imposed maximum segment size......: 35184372088832 (33554432.0 MB)

Swap space requirements estimated
================================================
Shared memory....................: 1475.9 MB
..in pool 10  176.8 MB,   98% used
..in pool 40  116.4 MB,   96% used
..not in pool: 1174.5 MB
Processes........................:  228.8 MB
Extended Memory .................: 4092.0 MB
------------------------------------------------
Total, minimum requirement.......: 5796.7 MB
Process local heaps, worst case..: 1907.3 MB
Total, worst case requirement....: 7704.0 MB

Errors detected..................:    0
Warnings detected................:    0


Now, you'll be able to check your own profile.

Happy checking guys !!

Friday, July 1, 2011

How to upgrade SAP Kernel on Unix

Does SAP make available some where a real procedure
for NetWever 7.0 ABAP stack only KERNEL UPGRADE ?

A lot of people have questions ? answer are even available... but still... even experienced
basis admin having trouble now with Kerne Upgrade

Here I am Sharing My Experience To Upgarde Kernel On Unix!

1) stopsap
2) clean shared memory
3) saposcol -k
4) ps -ef|grep sapstartsrv
5) kill 
6) cleanipc 
7) lsnrctl stop
8) backup your kernel
9) cd /sapmnt/
10) cp -pr exe exe.001
11) extract new kernel
12) cd exe
13) SAPCAR -xvf 
14) Start saposcol
15) startlistener
16) startsap

That's all