10/15/2012

SAP Kernel Upgrade


(a) Login to the ABAP system
     (b) Execute transaction SE38
     (c) Specify Program GRAPHICS_IGS_ADMIN
     (d) Click Execute (The RFC destination for the IGS should automatically populate)
     (e) Click Execute
     (f) The version will be displayed (e.g. 7000.0.10.1)

1.stop the sap
2.kill saposcol,

3. clean unused libraries from memory
   sudo /usr/sbin/slibclean

   * (HP-UX)  cleanipcs
4.Make a backup copy of the current kernel as follows:
     (a) cd /usr/sap/<SID>
     (b) mkdir oldkernel
     (c) cd /sapmnt/SBX/exe
     (d) cp -rp * /usr/sap/SBX/oldkernel
     (f) mkdir /usr/sap/<SID>/oldkernel/igs
     (g) cd /usr/sap/<SID>/DVEBMGS*/igs (cd /usr/sap/<SID>/JC*/igs for non-ABAP systems)
     (h) cp -rp * /usr/sap/<SID>/oldkernel/igs


5. Change the file ownerships as follows to minimize extraction errors as follows:
     (a) cd /sapmnt/SBX/exe
     (b) sudo chown sbxadm:sapsys *
     (c) sudo chown -R sbxadm:sapsys cfw
     (d) sudo chown -R sbxadm:sapsys jkit
     (e) sudo chown -R sbxadm:sapsys servicehttp
6.cd /sapmnt/SBX/exe
   cp -pfr /usr/sap/trans/newkernel/* /sapmnt/SBX/exe

 Extract the new kernel files as follows:
    Note: Steps (e) through (g) are only appropriate for SAP Basis release 7.00 or higher
     (a) cd /sapmnt/<SID>/exe
     (b) mv SAPCAR SAPCAR.old    
                (SAPCAR is delivered in the new files and needs to be renamed)
     (c) ./SAPCAR.old -xvf /usr/sap/trans/new_kernel/SAPEXE_201-20000978.SAR
                (If a file cannot be overwritten, rename the filename to filename.mmddyyyy and repeat)
     (d) ./SAPCAR.old -xvf /usr/sap/trans/new_kernel/SAPEXEDB_201-20000977.SAR
                (If a file cannot be overwritten, rename the filename to filename.mmddyyyy and repeat)
      (e) ./SAPCAR.old -xvf /usr/sap/trans/new_kernel/dw_218-20000978.sar
      (e) SAPCAR -xvf /usr/sap/trans/newkernel/igs<restoffilename>
                (If a file cannot be overwritten, rename the filename to filename.mmddyyyy and repeat)
     (f) cd /usr/sap/<SID>/DVEBMGS* (/usr/sap/<SID>/JC* for non-ABAP systems)
     (g) SAPCAR -xvf /usr/sap/trans/newkernel/igshelper<restoffilename>
                (If a file cannot be overwritten, rename the filename to filename.mmddyyyy and repeat)

7. Set the permissions of the kernel files and saposcol as follows:
     (a) cd /sapmnt/SBX/exe
     (b) sudo cp saproot.sh /usr/sap
     (c) sudo /usr/sap/saproot.sh SBX
     (d) sudo chown root saposcol
     (e) sudo chmod o+s saposcol

8. Start the SAP system as per the customer policies and procedures d
ocument

No comments:

Post a Comment

Popular Posts