Showing posts with label Kernel Update in Unix Steps. Show all posts
Showing posts with label Kernel Update in Unix Steps. Show all posts

Update SAP Kernel in UNIX based

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