November 11, 2012

KERNEL UPGRADE STEP BY STEP



KERNEL UPGRADE STEP BY STEP :-


Check the existing kernel level by logging into SAP level

SM51 ->Release notes

OR

Go to command level and execute disp+work (Login as <SID>ADM to perform this task)

Check the Kernel levels available in SAP service market place

Downloads-Download -> Support package and patches -> Entry by Application Group ->Additional components -> SAP Kernel-> SAP Kernel 64 bit->SAP Kernel 7.00 64 bit-SAPKERNEL 64 bit->Windows server on X64 bit->Database Independent

Select SAPEXE_ (latest patch number) _*.SAR and click on add to download basket from the bottom.

Repeat above step to down load Database Dependent kernel by selecting the database you have/want.

Select SAPEXEDB_<latest_patch_number>_*.SAR and click on Add to download basket.

Now launch download manager from your system and down load the SAPEXE* and
SAPEXEDB* to your local drive. (e.g. G:\Kernelupgrade)


Now extract the .SAR files from command prompt
cd G:\kernelupgrades
G:\Kernel upgrade>sapcar -xvf SAPEXE_1773-10001664.SAR
G:\kernelupgrades\>sapcar -xvf SAPEXEDB_1773-10001667.SAR

Now check the number of files in G:\kernelupgrade (e.g. 115 files)
Go to C:\usr\sap\S11\SYS\exe\run
Check the number of files (e.g. 124 files)

Stopsap on target system
login as <SID>adm
#stopsap (UNIX)
In Windows/NT: go to desktop > double click on SAP Management Console
Select the server
Click on stop
Wait for SAP to be stopped

Stop all sap service and database service from
Windows/NT: Programs->Administrative Tools ->services->
Stop TNSlistner server for oracle
stop oracleserviceS11 for oracle
stop SAPS11_00 for SAP
stop SAPOSCOL for SAP
stop if any other oracle service is running.
Select the service ->right click –Stop

Now take backup of your old kernel directory (use OS level copy command)
Copy run folder to G:\kernelbackup
Go to Kernel-upgrade folder
Copy all the contents from this folder and paste it into c:\usr\sap\<SID>\SYS\exe\run
Check the kernel patch by typing disp+work at command level

Start all sap and database services from Programs->Administrative Tools->services->
Start TNSlistner server for oracle
Start oracleserviceS11 for oracle
Start SAPS11_00 for SAP
Start SAPOSCOL for SAP
Select the service ->right click -Start

Start sap on Server now

Windows/NT: SAP Management Console (MMC) ->select Server->click on start button from top menu. Check for green light on servers

UNIX: startsap
Now login to sap from saplogon menu and see you are able to login successfully.

Double check the kernel patch level by executing SM51 -> Release Notes

Kernel upgrade is completed.



No comments:

Post a Comment