on 04-08-2012 6:30 PM
Hi to all,
i need to update the Kernel in HP-UX/Oracle but this system is black box to me... Can anyone provide me a detailed procedure on how to apply the "sapexe and sapexedb" patches?
Thank you,
Dimitris
Hi,
I believe you can find much info if you google around.
You can use below as reference:
http://scnblogs.techweb.com.cn/daemon/archives/66.html
http://it.toolbox.com/wiki/index.php/How_to_update_SAP_Kernel
Cheers,
Nicholas Chang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Dimitris,
you can follow the below steps to perform kernel patching:
Step 1)Find the current version by executing disp+work -v at oslevel
can also check in sap under status.
Step 2) Download the latest kernel patch from SMP
Navigate to the below path (or search) to find the files for the OS bit length and compilation mode. Please note that if kernel version is wrong, then the engine will not start. So do make sure that the correct files are downloaded from SMP:
--->Support Packages and Patches --->SAP NetWeaver ---> SAP NETWEAVER---> SAP NETWEAVER 7.0 (2004S) ---> Entry by Component---> Application Server Java--->SAP Kernel 7.00 32 bit UNICODE
There are 2 files to be downloaded from SMP:
a) Database Independent Files
This is of the nomenclature SAPEXE_<Patch level>-<release date>.SAR
b) Database Dependent files
This is of the nomenclature SAPEXEDB_<Patch level>-<release date>.SAR
Step 3) Uncar the .SAR files
Uncar the files using the SAPCAR utility and store it in a directory.
Use the command:SAPCAR -xvf <filename.SAR>
Note: SAPCAR is a program executable located in the KERNEL folder itself. If SAPCAR is not working, then copy the executable from the kernel folder to the location where the .SAR files are located.
Step 4)
a. stop SAP system including saposcol
b. Change to the directory /sapmnt/<SAPSID>/exe
c. Save the old kernel with the following commands
mkdir oldkernel
cp -p * oldkernel
su - root
chown <sapsid>adm /sapmnt/<SAPSID>/exe/*
exit
step 5)copy the extracted SAR files to /sapmnt/<SAPSID>/exe in overwrite mode using command cp -R<source_file><destination>
step 6) switch user to root and execute the svript saproot.sh
su - root
cd /sapmnt/<SAPSID>/exe
./saproot.sh <SAPSID>
exit
step 7) start the system and check the current version.
Hope this helps you....experts correct me if any thing wrong.
@Dimitris...let me know if any queries...
Regards,
Veeresh K R
Hello,
Check note 19466
1. Check the value of DIR_CT_RUN in the CI.
2. I recommend you unpack the the kernel patch files SAPEXE.SAR and
SAPEXEDB.SAR to a temporary directory.
3. Stop all the SAP system with all the instances and
all OS-level services of all instances.
4. Backup the kernel that is in the path of the DIR_CT_RUN parameter.
5.Copy the new kernel from the temporary directory to the directory
indicated by the parameter DIR_CT_RUN.
"Because DIR_CT_RUN of the central instance is linked to the
corresponding directory on the global host which is accessible from all
hosts in the cluster, the updates will be distributed by SAPCPE when the
instances start as explained"
6. Restart the SAP system.
regards,
John Feely
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.