Upgrade OEL 6.4 with kernel 2.6 to UEK kernel 3.8.13 OEL 6.5

 
Upgrade from OEL 6.4 kernel version  2.6.39-400.109.6.el6uek.x86_64  
          to OEL 6.5 kernel version  3.8.13-35.1.2.el6uek.x86_64

Stop and disable CRS stack 
# crsctl  stop crs 
# crsctl disable crs

Get and prepare  new YUM repository 
# cd /etc/yum.repos.d
# rm public-yum-ol6.repo
#  wget http://public-yum.oracle.com/public-yum-ol6.repo

# vi public-yum-ol6.repo
-->  find section [ol6_UEKR3_latest] and set Enabled=1
[ol6_UEKR3_latest]
name=Latest Unbreakable Enterprise Kernel for Oracle Linux $releasever ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/UEKR3/latest/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1    <-- Change this from 0 to 1  

Invoke yum to install new kernel and packages 
# yum update
Dependencies Resolved

====================================================================================================================================
 Package                                     Arch          Version                                    Repository               Size
====================================================================================================================================
Installing:
 firefox                                     x86_64        24.6.0-1.0.1.el6_5                         ol6_latest               47 M
     replacing  firefox.x86_64 17.0.8-1.0.1.el6_4
 kernel                                      x86_64        2.6.32-431.20.3.el6                        ol6_latest               28 M
 kernel-devel                                x86_64        2.6.32-431.20.3.el6                        ol6_latest              8.8 M
 kernel-uek                                  x86_64        3.8.13-35.1.2.el6uek                       ol6_UEKR3_latest         41 M
 kernel-uek-devel                            x86_64        3.8.13-35.1.2.el6uek                       ol6_UEKR3_latest        9.0 M
 kernel-uek-firmware                         noarch        3.8.13-35.1.2.el6uek                       ol6_UEKR3_latest        1.8 M
..
Transaction Summary
====================================================================================================================================
Install      20 Package(s)
Upgrade     457 Package(s)

Total download size: 662 M
Is this ok [y/N]: 
..

yum-plugin-security.noarch 0:1.1.30-17.0.1.el6_5                  yum-rhn-plugin.noarch 0:0.9.1-49.0.1.el6                        
yum-utils.noarch 0:1.1.30-17.0.1.el6_5                           

Replaced:
  firefox.x86_64 0:17.0.8-1.0.1.el6_4                                                                                               

Complete!

Now reboot the system - recompile VirtualBox guest Additions and restart CRS

# reboot

Rebuild Virtualbox Guest Additions 
# /etc/init.d/vboxadd setup
# reboot 

--> Relink Oracle CRS and RDBMs binaries [ using the relink command ] 

Re-enable and restart CRS
# crsctl enable crs
# crsctl start crs


3 thoughts on “Upgrade OEL 6.4 with kernel 2.6 to UEK kernel 3.8.13 OEL 6.5”

  1. Hi Abdul,
    yes your are right. I have added a short comment on this
    You should relink the Oracle kernel even in my case it worked without relinking.

  2. If you upgrade or patch the operating system on which the Oracle software is installed, you will have to manually relink the Oracle software.
  3. If you want to enable or disable certain Oracle database features, you will have to relink the Oracle software.

Leave a Reply

Your email address will not be published. Required fields are marked *