cancel
Showing results for 
Search instead for 
Did you mean: 

Kernel Upgrade : Few Doubts

Former Member
0 Kudos

during kernel upgrade.

I renamed original kernel exe to exe.old > mv exe exe.XX

downloaded two SAR & uncarded files to a directory and renamed it to exe. > mv exe.YY exe

after found there were multiple files were missing in new kernel.

is that some thing happen ?

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello Sumanta,

I don,t know the correct way but I usually upgrade the kernel ..

1) Download the Binries

2) Extract the Binries

3) Stop sap and related services e.g:-SAPxxx_00 and SAPOSCOL

4) Take the backup of old kernel

5) Replace the old Kernel with new Kernel

6) Start the services again

7) And SAP again

😎 First time it may take time....if you are using windows and face some problem after upgrade...

then follow the link....http://sharib-sapbasis.blogspot.in/2010/12/sapcpeexe-red-after-kernel-upgrade-in.html

Rableen

Former Member
0 Kudos

Hi Sumanta,

Kernel upgrade unless involving the release upgrade of the kernel is basically patch upgrade. So the compressed kernel files you download are patch upgrades for specific kernel binaries and not the entire kernel binary set.What Rableen is saying is correct however point #5 is of importance. You copy the extracted binaries as it is i.e replace the existing ones with new ones but at the same leaving the binaries not present in the kernel patch unaffected .. in other words you retain them.

SAP Help documentation is very clear on this and you should follow that. Using mv for existing kernel is spoiler in the beginning and defintely not the way to move forward.

Regards.

Rucht.

Former Member
0 Kudos

Hi

As Nicholas said dont rename the exe folder,after extracting new kernel files just copy those files into your exe folder,because two files what you have download doesn't give all files which are necessary to start the SAP.

So you better extract files into new folder,copy those files into your exe folder using below command.

>cp -rp <newfiles> /sapmnt/<SID>/exe

some times it may give warning saying that some files cann't be replaced because files are in use.

Then just note down that file names and rename that file in exe folder like below.

>cd /sapmnt/<SID>/exe

>mv <filename> <filename>.old

Again you copy new files to exe.

>cp -rp <newfiles> /sapmnt/<SID>/exe

Former Member
0 Kudos

Hi Mahipal,

According to note 1636252, if you upgrade the kernel to 7.20, you have to clean the exe folder:

"5. Delete all of the files from the kernel directory, including the subdirectories. This ensures that there are no remaining files from the earlier release, which have a different name in Release 7.20 or are in a different place in a subdirectory."

Regards,

Laszlo

nicholas_chang
Active Contributor
0 Kudos

Hi,

The correct way for kernel upgrade is not mv the folder but backup using cp.

After that, copy new kernal/binaries from the extracted folder and overwrite existing files in the kernel directory. This is because some files, external files/binaries needed are keep in the kernel directory.

Thanks,

Nicholas Chang

Former Member
0 Kudos

Hi,

place the latest sapcar file in the directory which you are uncarring db dependent and independent files

and then copy all the files.

by placing sapcar file it will some times uncar all the files .

Regards

Zia

former_member215961
Contributor
0 Kudos

You are right but after decompress the NEW sar Kernel Package you must rename sapcar binary to avoid the sapcar try to overwrite itself.

Hope this helps

Cheers

Former Member
0 Kudos

Hi,

SAPEXE and SAPEXEDB archives sometimes don't contain all the files needed for the kernel itself.

I suggest you to use SAP Kernel 7.20 (It's compatible with system 7.00 7.01 kernel based too), and SAP is going to support only this release.

The following OSS Notes contain instructions on how to upgrade the Kernel:

1629598 - SAP Kernel 720 will replace older kernel versions

1636252 - Installing a 7.20 kernel in SAP Web AS 7.00/7.01/7.10/7.11

Regards

Leo Capasso

Former Member
0 Kudos

Apart from these 2 files there can be other files like dbatools in case your db is oracle, some migration related files like R3ldctl, R3load, R3Szchkand R3ta , dbsllib file, etc etc...

That is why in addition to 2 files mentioned by you one should download at least dbatools and dbsl lib, otherwise you can copy the contents of new SAPEXE and SAPEXEDB to the exsiting exe directory ( after backing it up).

Regards,

Vishal