Saturday 7 May 2011

SAP Kernel upgrade in unix

1. Login as root

2. Make new backup directory
cd /
mkdir SIDkernel_<date>

3. Create latest kernel backup
cp -pr /sapmnt/SID/exe/* /SIDkernel_<date>

4. Compare the original kernel and the backup
du -sk /sapmnt/SID/exe
du -sk /SIDkernel_<date>

5. Make new directory
cd /
mkdir newkernel_<release>

6. Copy the new downloaded kernel files into /newkernel_<release>

7. Unpack the new downloaded kernel in folder /newkernel_<release>
SAPCAR -xvf SAPEXE_*.SAR
SAPCAR -xvf SAPEXEDB_*.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_<release>/* /sapmnt/SID/exe

14. Copy back the original file saproot.sh into this folder.
cp -p /SIDkernel_<date>/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

2 comments:

  1. My friend is looking for the installation steps in UNIX. I will refer this article to him. I am hoping that he will find this article helpful. Thanks for sharing the installation process.
    sap upgrade

    ReplyDelete