Total Pageviews

copyright - 2011

About Me

My photo
I'm an experienced SAP NetWeaver Administrator with 4 Full Life-Cycle Project Experience. My expertise are right from installation, configuration and post-golive support. I've produced number of deliverables at various stages of the projects. I wanted to start off this blog to help my fellow SAP Basis people to get around with those small nagging issues which i've faced during my projects. I hope you would all enjoy and learn something through this blog.

Saturday, July 30, 2011

Update SAP Kernel in Linux / Oracle

Prelimiary Steps:
     
      1) Stop SAP
     
      2) Kill all processes of SAP
     
      3) Stop DB

Extract Kernel:

1)      Location of Kernel SAR Files: /<Any Location>/Kernel_<xx>

2)     Make directory to extract the Kernel files.
      mkdir Kernel<xx>

3)      ./SAPCAR –xvf DBATL<>_<>.SAR -R ./Kernel<xx>

4)      ./SAPCAR -xvf SAPEXEDB_<>.SAR -R ./Kernel<xx>

5)      ./SAPCAR -xvf SAPEXE_<>.SAR -R ./Kernel<xx>

Replace Kernel:

1)     cp –af /<Any Location>/Kernel_<xx>/Kernel<xx>/* /sapmnt/<SID>/exe/

2)      cd /sapmnt/<SID>/exe

3)      ./saproot.sh <SID> [Note: Execute this as user root]

Start DB and then Start SAP.

If SAP won't come up try the solution provided below in the APPENDIX.

APPENDIX:

Make sure after the Kernel update all of the below locations are of same Patch Level.

LOCATION 1: /sapmnt/<SID>/exe

LOCATION 2: /usr/sap/<SID>/<Instance>/exe

You would have replaced the kernel at LOCATION 1, but the kernel at LOCATION 2 will still remain at old level which will prevent the access to database. So replace the kernel at LOCATION 2, and then try start SAP it should work.

No comments:

Post a Comment