cancel
Showing results for 
Search instead for 
Did you mean: 

Kernel upgrade:OS AS400 and application instances in windows server

former_member208255
Participant
0 Kudos

Hi Experts,

I am very new to OS AS400, can anybody please help me how to upgrade the kernel.

system details:

Central instance is in os AS400 and

application servers in Windows server, sapmnt folder is shared in window system.

My Doubt is if we have copied the kernel files in windows and in the kernel path of AS400 through shared folder in windows, will the kernel gets updated in both central and application server or do I need to do any steps like permissions in AS400 system.

Thanks in advance,

Bhaskar N

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Dear

you can upgrade kernal through DIR_CT_RUN which sapmnt/sid/sys/exe/run

DIR_EXECUTABLE : /usr/sap/AEQ/DVEBMGS00/exe

you can search this path and update the kernal files here

Regards

Sriram2009
Active Contributor
0 Kudos

Hi Bhaskar

1.  For kernel upgrade on IBM i you have to follow the SAP Notes

912575 - iSeries: Using LODSAPKRN to load


2.


My Doubt is if we have copied the kernel files in windows and in the kernel path of AS400 through shared folder in windows, will the kernel gets updated in both central and application server or do I need to do any steps like permissions in AS400 system.

     In CI (On OS/400) share you have to maintain two folder one for IBM i kernel & secound one windows. kindly refer the screen shot

Regards

Sriram

former_member208255
Participant
0 Kudos

Hi Sriram,

Thanks for the response.

Basically our requirement is to do kernel upgrade in both Central (AS400) and Application server (Windows). As we dont have any idea on AS400 can we do the kernel upgrade just by copying the kernel .sar files into kernel path of AS400 through the shared directory from windows.

Thanks in advance,

Bhaskar N

Sriram2009
Active Contributor
0 Kudos

Hi Basker

Those information & steps are there in SAP Note you are not followed the Note ?

1.  For kernel upgrade on IBM i you have to follow the SAP Notes

912575 - iSeries: Using LODSAPKRN to load


BR

SS

Sriram2009
Active Contributor
0 Kudos

Hi

Kindly follow the steps

1) Copy sapexe.sar and sapexedb.sar into one folder i.e kern under rootbin.

2) create one file using notepad called parts ( w/o extension)

parts file having following content.

SAPEXE.SAR,

SAPEXEDB.SAR,

3) copy parts file into kern folder.

4) Create new kernel library like SAPSIDUKRN using following command.

- CRTLIB LIB(SAPSIDUKRN)

5) Apply latest kernel to newly created kernel library using following command.

- LODSAPKRN DEV(STMF) MNTPNT('/KERN') KRNLIB(SAPSIDUKRN) USERDEF(YES) LIST('/KERN/PARTS')

6) Now Apply the new kernel to SAP System using following command.

a) stop sap system.

b) stop saposcol if running.

c) end sub-system R3_<instance_number> using ENDSBS SBS(R3_Instance#)

d) delete the all statistics file under /usr/sap/sid/<DVEBMGSnn>/data/stat*

e) Remove the old kernel attached to SID using following command.

- RMVSAP SID(<SID>) DLTKRNLIB(*NO)

f) Change the library list using following command.

- EDTLIBL press enter

replace old kernel entry i.e SAPSIDUC with new one SAPSIDUKRN

h) activating the new kernel using following command.

- APYSAP TYPE(*KERNEL) SID(<SID>) DSTLIB(SAPSIDUKRN)

I) delete all SQL packages using following command.

- DLTR3PKG SID(<SID>)

7) Due to missing IGS part the SAP System is not strat. apply igs patch

- downlaod and copy igsexe.sar in to one folder called igs under rootbin.

- apply igs fix using following sap note. sap note 937000.

Regards

Sriram

william_castro
Discoverer
0 Kudos

Hi,

When i tried to do the steps 4 and 5, after to create the library, i have this issue:

3 > LODSAPKRN DEV(*STMF) MNTPNT('/test') KRNLIB(SAPSBYUCKl) USERDEF(*YES) LIST

     ('/test/parts') 

PrintKitPartDef: Current Part Definition:                               

Line - 'relative path' - 'archive name'                                 

---------------------------------------                                 

is_O4af_701_SAR: Could not find SAPCAR for extraction - assuming default

  kernel release.     

Appreciate any help.

Sriram                                               

Sriram2009
Active Contributor
0 Kudos

Hi William

Those steps are very old , Kernel upgrade in IBMi has been change, you can refer the SAP Note  1713986 - Installation of kernel 721 (EXT) follow the steps number 3 & 5.3

Regards

SS

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Bhaskar,

Read the below note that digs into some aspects that you need to cover:

680617 - INST: Appl. Server in Heterogeneous SAP System Environment

You have to add DIR_CT_RUN=$(DIR_INSTALL)\exe\uc\<platform>(UNICODE) in AS profile and adapt profiles to/on CI's OS.

Reagan
Advisor
Advisor
0 Kudos

As you have a heterogeneous setup the /sapmnt/SID/exe should be separate for the CI on AS400 and for the AS's on Windows.

Check what the DIR_CT_RUN value points to.

Regards

RB