Tuesday, 24 December 2013

Steps to upgrade Kernel Version

OS AIX unix, Oracle database
1. Login as root
2. Make new backup directory cd / mkdir SIDkernel_10102012
3. Create latest kernel backup cp -pr /sapmnt/SID/exe/* /tmp/SIDkernel_10102012
4. Make new shadow kernel directory cd/tmp/ mkdir newkernel_201
5. Copy the new downloaded kernel files into /newkernel_201
6. Unpack the new downloaded kernel in folder /newkernel_201 SAPCAR -xvf SAPEXE_201-20005242.SAR SAPCAR -xvf SAPEXEDB_201-20005242.SAR
7. Login as <sid>adm
switch user su – <sid>adm
8. Stop the SAP System stopsap
9. Stop saposcol saposcol -k
10. Login as root
11. Go to the current kernel directory cd /sapmnt/<sid>/exe
12. Copy all extracted support packages into this folder cp -pr /tmp/newkernel/* /sapmnt/<sid>/exe
13. Copy back the original file saproot.sh into this folder. cp -p /tmp/SIDkernel_10102012/saproot.sh /sapmnt/<sid>/exe
14. Go to the current kernel directory cd /sapmnt/<sid>/exe Then run: ./saproot.sh <sid>
15. Login as sidadm su – <sidadm>
16. Start the saposcol service saposcol
17. Start the SAP system startsap
Kernel upgrade completed.

Troubleshooting

Incase if you get the below error while starting SAP
Starting Startup Agent sapstartsrv Could not open the ICU common library. The following files must be in the path described by the environment variable “LIBPATH”: libicuuc34.a, libicudata34.a, libicui18n34.a [nlsui0_mt.c 1544] pid =
Try the below steps: go to root ps -ef | grep sapstartsrv kill -9 <sapstartsrv pid> Load the instance and START profile through sapcpe below commands. su – <sidadm> sapcpe pf=/usr/sap/<sid>/SYS/profile/<SID>_DVEBMGS0_<hostname> sapcpe pf=/usr/sap/<sid>/SYS/profile/START_SCS05_<hostname>
startsap


THANK YOU

No comments:

Post a Comment