cancel
Showing results for 
Search instead for 
Did you mean: 

Kernel patch

Former Member
0 Kudos

Hi

I want to do kernel upgrade for Solaris+DB2

Please give me the steps to be followed for manual method

for JSPM method kernel upgrade ..igsexe. SAR is must ? along with SAPEXE.SAR & SAPEXEDB.SAR

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

franz_hiltscher
Participant
0 Kudos

Hi,

You can perform a JSPM Kernel update without IGS.

SAP Note 19466 should answer all your questions.

Kind Regards

Franz

Former Member
0 Kudos

Hi,

Can you please provide me the steps for manual kernel upgrade on Solaris+DB2

appreciate your help

More Thanks

franz_hiltscher
Participant
0 Kudos
1. First of all, go to the SAP Service Marketplace (service.sap.com), and download your 
desired kernel version:
Downloads --> SAP Support Packages --> Entry by Application Group --> SAP NetWeaver -->
 SAP Netweaver --> SAP Netweaver <version> --> Entry by Component --> 
<select component> --> <select your system version> --> #Database independent (this is the
 part I. In the same step, select your database to download the part II of the package).
 
2. After you have the two parts downloaded, log into the OS level and uncar the 2 parts in 
separate directories. Copy the part I in a new folder, and copy the part II into the same folder
 
3. Stoped SAP, the database, SAPOSCOL, sapccm* and saprouter.
 
4. Backup the old kernel. Usually it is located in: </usr/sap/SID/SYS/exe/<uc or nuc>/<system>. 
it might also be located in /usr/sap/SID/SYS/exe/run. The default kernel location is: /sapmnt/SID/exe . 
When the SAP instance is starting up by startsap command, the kernel from /sapmnt/SID/exe is 
overwriting the kernel in /usr/sap/SID/SYS/exe/run . So always is better to upgrade kernel in 
/sapmnt/SID/exe directory.
 
5. Delete the old backed up kernel, and copy the new kernel there.
 
6. if on Unix as user root : saproot.sh SID

Regards

Franz

Former Member
0 Kudos

Thank you

Downloaded kernel

Please give me the commands for mentioned steps to do the kernel upgrade

I will be more thankful

franz_hiltscher
Participant
0 Kudos

Hey you are joking now

If it is your first time kernel update. Exercise this steps a few times on a Sandbox System! Dont make it your first time on a productive system.

I recommend to contact a expirienced SAP Basis Administrator.

Login as root

create backup directory (example!)
cd /<your_backup_dir>
mkdir <SID>kernel_<date>

Create latest kernel backup
cp -pr /sapmnt/SID/exe/* /<your_backup_dir>/<SID>kernel_<date>


Make new shadow kernel directory
cd /<your_working_dir>
mkdir newkernel_<version>

Copy the new downloaded kernel files into /<your_working_dir>/newkernel_<version>

Unpack the new downloaded kernel in folder /<your_working_dir>/newkernel_<version>
SAPCAR -xvf SAPEXE_xxx.SAR
SAPCAR -xvf SAPEXEDB_xxx.SAR

Login as sidadm

Stop the SAP System
stopsap

Stop saposcol
saposcol -k

Login as root

Go to the current kernel directory
cd /sapmnt/<SID>/exe

Copy all extracted support packages into this folder
cp -pr /<your_working_dir>/newkernel_<version>/* /sapmnt/<SID>/exe

Copy back the original file saproot.sh into this folder.
cp -p /<your_backup_dir>/<SID>kernel_<date>/saproot.sh /sapmnt/<SID>/exe

Go to the current kernel directory
cd /sapmnt/<SID>/exe
Then run:
./saproot.sh <SID>

Login as <sid>adm

Start the saposcol service
saposcol

Start the SAP system
startsap

Edited by: Franz Hiltscher on Jun 15, 2010 3:05 PM

Edited by: Franz Hiltscher on Jun 15, 2010 3:08 PM

Edited by: Franz Hiltscher on Jun 15, 2010 3:09 PM

Edited by: Franz Hiltscher on Jun 15, 2010 3:09 PM

Former Member
0 Kudos

Thanks a ton!!

few queries:

Do we not to stop DB2

If so,how to stop DB2 and start again after the kernel upgrade

former_member204746
Active Contributor
0 Kudos

you are worrying me... you do not know how to stop DB2 and you maintaining this system?

man....

good news is that you do not need to stop DB2 to update your kernel.

how were you able to get that job? With a false CV? And you work for a reputable company...

Former Member
0 Kudos

This message was moderated.

Answers (0)