Sei sulla pagina 1di 3

UPGRADE KERNEL IN UNIX BASED SYSTEM: 1. Login as root 2. Make new backup directory cd / mkdir SIDkernel_10102007 3.

Create latest kernel backup cp -pr /sapmnt/SID/exe/* /SIDkernel_10102007 4. Compare the original kernel and the backup du -sk /sapmnt/SID/exe/ 840413 /sapmnt/SID/exe du -sk /SIDkernel_10102007 841992 /SIDkernel_10102007 5. Make new shadow kernel directory cd / mkdir newkernel_175 6. Copy the new downloaded kernel files into /newkernel_175 7. Unpack the new downloaded kernel in folder /newkernel_175 SAPCAR -xvf SAPEXE_175-20000221.SAR SAPCAR -xvf SAPEXEDB_175-20000223.SAR 8. Login as sidadm 9. Stop the SAP System stopsap 10. Stop saposcol saposcol -k 11. Login as root 12. Go to the current kernel directory cd /sapmnt/SID/exe 13. Copy all extracted support packages into this folder cp -pr /newkernel_175/* /sapmnt/SID/exe 14. Copy back the original file saproot.sh into this folder. cp -p /SIDkernel_10102007/saproot.sh /sapmnt/SID/exe 15. Go to the current kernel directory cd /sapmnt/SID/exe Then run: ./saproot.sh SID 16. Login as sidadm 17. Start the saposcol service saposcol 18. Start the SAP system startsap

This procedure will help you to update your SAP Kernel in a SAP ECC system. -------------------------------------------------------------------------------1. First of all, go to the SAP Service Marketplace (service.sap.com), and downlo ad your desired kernel version: Downloads --> SAP Support Packages --> Entry by Application Group --> SAP NetWea ver --> SAP Netweaver --> SAP Netewaver <version> --> Entry by Component --> <se lect component> --> <select your system version> --> #Database independent (this is the part I. In the same step, select your database to download the part II o f the package). 2. After you have the two parts downloaded, log into the OS level and uncar the 2 parts in separate directories. Copy the part I in a new folder, and copy the p art II into the same folder (there are cases that files may need to be replaced. replace them, don't worry). 3. Stop the database, SAP, SAPOSCOL, sapccm* and saprouter (if they exist)). 4. disable Windows service SAP_[SID]_##. 5. Backup the old kernel. Usually it is located in: </usr/sap/SID/SYS/exe/<uc or nuc>/<system>. 6. Delete the old backed up kernel, and copy the new kernel there. also must not forget: chmod 4755 saposcol; chown root:sapsys saposcol 7. enable Windows service SAP_[SID]_##. 8. Start the services related, database and SAP. Now just confirm the new kernel version in SAP with this command: disp+work more

Upgrading SAP Kernel, Hotpatches and Database Startup Kernel upgrade is an easy process. Go to the SAP OSS Site :http://service.sap.com/SWCenter-Main SAP R/3 SAP R/3 4.6C Binary Patches SAP KERNEL 4.6D Download the kernel programs in a temporary folder. Create a folder and copy the executables /exe/run/ then uncar the downloaded fil es and replace the executables. It is recommended to shutdown the R/3 database and all services including saposc ol. Then restart your system. A couple of important points to remember are :-. a) Always make a copy of the files you're going to replace. For e.g. Create a di

rectory (oldkern) and copy all the old files before replacing them (this helps when sometimes the new Kernel has problems , and you can revert it) b) You have to shutdown SAP and the Database using the OLD kernel file. Again it is good practice to shutdown everything first. Refer to this OSS note which is pretty useful :102461 - Installation of 4.0B/40B_COM kernel with 4.0A/40B How do I find out the current patch level in SAP R/3 4.7 You can use either of these two methods: 1: Follow the path System --> Status --> Component Information (The Magnifying glass button in the SAP System Data section) 2: Use the Transaction code ---- spam spam(Support package manager) --> package level Steps to Start Your Database After Kernel Upgrade Do these steps to start your database: 1. Open command prompt 2. Give command: SQLPLUS "/as sysdba" If its giving message connected to idle instance then proceed: 3. Give command: startup open If its giving error that database is already open, shut it down first. Then firs t check what database process is up and running. 4. Try stopping the database: shutdown immediate. 5. Follow step 3 again after shut down the database. 6. Exit from SQLPLUS 7. Run command on command prompt: R3trans -d Check the results whether its still giving error or if it completed with 000 ret urn code, then try starting SAP. Follow the above steps.

Potrebbero piacerti anche