分类: LINUX
2012-07-28 18:53:51
在2010年9月旧金山举行的Oracle OpenWorld大会上,Oracle为Linux推出了坚不可摧的企业级内核(Unbreakable Enterprise Kernel,简称:UEK), UEK是一个高速的、新式的、可靠的Linux内核,是专门为Oracle的软件和硬件优化过的内核,它是Oracle Linux(以前称为“Oracle Enterprise Linux”)的一部分。
如今,硬件的发展日新月异,所以Linux也应该迅速发展以匹配最新的硬件,这非常重要。UEK与Oracle Linux的组合,使客户得到优化的快速访问、错误修正和其它新增强的功能。这一新产品是Oracle对Linux内核努力开发的成果,是目前主流的Linux内核的佼佼者,它使得Oracle Linux成为企业级客户的最佳选择。
Oracle公司的Linux操作系统、数据库、中间件和硬件团队的共同努力下,使UEK具有了以下超群的特点:
Oracle Exadata Database Machine和刚推出的 Oracle Exalogic Elastic Cloud正是基于这个坚不可摧的企业级内核,它们都体现出了极致的性能。
UEK是基于稳定的、主流的Linux kernel 2.6.32 发展而来,并将跟随这个内核的发展,用户可以同时受益于Oracle的创新和不断发展的Linux社区。目前它是为Oracle软件所唯一推荐使用的Linux内核。
Oracle Linux仍然可以使用 Red Hat Compatible Kernel(简称RHCK)。如果客户倾向于选择严格的Red Hat的兼容性,而不是选择一个优化过的Oracle系统及其出众的性能的话,他可以选择使用RHCK。
现有Oracle Linux 5和Red Hat Linux 5的客户可以轻松升级到UEK,而无需重新安装操作系统。在RHEL 5上运行的第三方应用软件可以不做任何改变而运行在包含UEK的Oracle Linux,重要的是它为最终用户带来了显著的性能和可靠性的提高。
根据Oracle Unbreakable Linux 支持计划,无论是运行Oracle UEK还是RHCK的客户,都能获得Oracle Linux的充分支持。
n Public Yum Server
1. 在Red Hat Enterprise Linux Server release 6.0 内核升级到
[root@dbserver04 ~]# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 6.0 (Santiago)
Release: 6.0
Codename: Santiago
[root@dbserver04 ~]# uname -m
x86_64
升级之前的内核如下:
[root@dbserver04 ~]# uname -a
Linux dbserver04.hapame.com 2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
升级配置如下:
[root@dbserver04 ~]# cd /etc/yum.repos.d/
[root@dbserver04 yum.repos.d]# wget
[root@dbserver04 rpm-gpg]# wget RPM-GPG-KEY-oracle-ol6
[root@dbserver04 yum.repos.d]# cat public-yum-ol6.repo
[ol6_ga_base]
name=Oracle Linux 6 GA - $basearch - base
baseurl=repo/OracleLinux/OL6/0/base/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1
[root@dbserver04 ~]# yum list
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Installed Packages
ConsoleKit.x86_64 0.4.1-3.el6 @anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0
ConsoleKit-libs.x86_64 0.4.1-3.el6 @anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0
ConsoleKit-x11.x86_64 0.4.1-3.el6 @anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0
DeviceKit-power.x86_64 014-1.el6 @anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0
GConf2.x86_64 2.28.0-6.el6 @anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0
GConf2-devel.x86_64 2.28.0-6.el6 @anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0
GConf2-gtk.x86_64 2.28.0-6.el6 @anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0
ImageMagick.x86_64 6.5.4.7-5.el6 @anaconda-RedHatEnterpriseLinux-201009221801.x86_64/6.0
………………
[root@dbserver04 ~]# yum -y install kernel-*
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Package kernel-headers is obsoleted by kernel-uek-headers, trying to install kernel-uek-headers-2.6.32-100.28.5.el6.x86_64 instead
Package kernel-2.6.32-71.el6.x86_64 already installed and latest version
Package kernel-doc is obsoleted by kernel-uek-doc, trying to install kernel-uek-doc-2.6.32-100.28.5.el6.noarch instead
Package kernel-firmware-2.6.32-71.el6.noarch already installed and latest version
Package kernel-devel-2.6.32-71.el6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package kernel-debug.x86_64 0:2.6.32-71.el6 set to be installed
---> Package kernel-debug-devel.x86_64 0:2.6.32-71.el6 set to be installed
---> Package kernel-uek.x86_64 0:2.6.32-100.28.5.el6 set to be updated
---> Package kernel-uek-debug.x86_64 0:2.6.32-100.28.5.el6 set to be updated
---> Package kernel-uek-debug-devel.x86_64 0:2.6.32-100.28.5.el6 set to be updated
---> Package kernel-uek-devel.x86_64 0:2.6.32-100.28.5.el6 set to be updated
---> Package kernel-uek-doc.noarch 0:2.6.32-100.28.5.el6 set to be updated
---> Package kernel-uek-firmware.noarch 0:2.6.32-100.28.5.el6 set to be updated
---> Package kernel-uek-headers.x86_64 0:2.6.32-100.28.5.el6 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================
Package Arch Version Repository Size
================================================================================================================
Installing:
kernel-debug x86_64 2.6.32-71.el6 ol6_ga_base 23 M
kernel-debug-devel x86_64 2.6.32-71.el6 ol6_ga_base 6.5 M
kernel-uek x86_64 2.6.32-100.28.5.el6 ol6_ga_base 20 M
kernel-uek-debug x86_64 2.6.32-100.28.5.el6 ol6_ga_base 20 M
kernel-uek-debug-devel x86_64 2.6.32-100.28.5.el6 ol6_ga_base 6.1 M
kernel-uek-devel x86_64 2.6.32-100.28.5.el6 ol6_ga_base 6.1 M
kernel-uek-doc noarch 2.6.32-100.28.5.el6 ol6_ga_base 8.0 M
kernel-uek-firmware noarch 2.6.32-100.28.5.el6 ol6_ga_base 877 k
kernel-uek-headers x86_64 2.6.32-100.28.5.el6 ol6_ga_base 658 k
replacing kernel-headers.x86_64 2.6.32-71.el6
Transaction Summary
================================================================================================================
Install 9 Package(s)
Upgrade 0 Package(s)
Total download size: 91 M
Downloading Packages:
(1/9): kernel-debug-2.6.32-71.el6.x86_ (0%) 0% [ ] 0.0 B/s | 5.4 kB --:-- ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_ (0%) 0% [ ] 0.0 B/s | 5.4 kB --:-- ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_ (0%) 0% [ ] 0.0 B/s | 5.4 kB --:-- ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_ (0%) 0% [ ] 278 B/s | 6.8 kB 1439:03 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_ (0%) 0% [ ] 1.1 kB/s | 11 kB 368:28 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_ (0%) 0% [ ] 2.9 kB/s | 20 kB 136:31 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 4.9 kB/s | 34 kB 80:11 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 4.7 kB/s | 35 kB 82:46 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 3.8 kB/s | 35 kB 103:31 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 3.0 kB/s | 35 kB 129:27 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 3.3 kB/s | 38 kB 117:14 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 2.8 kB/s | 39 kB 140:47 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 2.8 kB/s | 41 kB 139:21 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 3.9 kB/s | 47 kB 100:15 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 4.3 kB/s | 52 kB 89:56 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 5.3 kB/s | 58 kB 73:48 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 6.7 kB/s | 72 kB 58:20 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 6.4 kB/s | 73 kB 61:11 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 5.1 kB/s | 73 kB 76:31 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 4.9 kB/s | 75 kB 79:10 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 3.9 kB/s | 75 kB 99:00 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 3.8 kB/s | 76 kB 101:10 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 3.1 kB/s | 76 kB 126:31 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 3.1 kB/s | 77 kB 126:35 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 2.5 kB/s | 77 kB 158:17 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 2.5 kB/s | 79 kB 154:41 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 2.0 kB/s | 79 kB 193:27 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 1.6 kB/s | 79 kB 241:55 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 1.3 kB/s | 79 kB 302:31 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [ ] 1.4 kB/s | 80 kB 279:10 ETA
(1/9): kernel-debug-2.6.32-71.el6.x86_64.rpm (0%) 0% [
……………………..
[root@dbserver04 ~]# reboot
升级后的内核如下:
[root@dbserver04 ~]# uname -a
Linux dbserver04.hapame.com 2.6.32-100.28.5.el6.x86_64 #1 SMP Wed Feb 2 18:40:23 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@dbserver03 ~]# yum info kernel-uek
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
ol6_ga_base | 1.1 kB 00:00
Installed Packages
Name : kernel-uek
Arch : x86_64
Version : 2.6.32
Release : 100.28.5.el6
Size : 84 M
Repo : installed
From repo : ol6_ga_base
Summary : The Linux kernel
URL :
License : GPLv2
Description: The kernel package contains the Linux kernel (vmlinuz), the core of any
: Linux operating system. The kernel handles the basic functions
: of the operating system: memory allocation, process allocation, device
: input and output, etc.
2.rhle5.X或Centos5.X内核升级Unbreakable Enterprise Kernel(2.6.32-100.26.2.el5 )
升级前的内核如下:
[root@localhost ~]# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Release: 5.6
Codename: Tikanga
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-238.el5 #1 SMP Sun Dec 19 14:22:44 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# wget
[root@localhost ~]# cat /etc/yum.repos.d/public-yum-el5.repo
[el5_ga_base]
name=Enterprise Linux $releasever GA - $basearch - base
baseurl=repo/EnterpriseLinux/EL5/0/base/$basearch/
gpgkey=RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u1_base]
name=Enterprise Linux $releasever U1 - $basearch - base
baseurl=repo/EnterpriseLinux/EL5/1/base/$basearch/
gpgkey=RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u2_base]
name=Enterprise Linux $releasever U2 - $basearch - base
baseurl=repo/EnterpriseLinux/EL5/2/base/$basearch/
gpgkey=RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u3_base]
name=Enterprise Linux $releasever U3 - $basearch - base
baseurl=repo/EnterpriseLinux/EL5/3/base/$basearch/
gpgkey=RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u4_base]
name=Enterprise Linux $releasever U4 - $basearch - base
baseurl=repo/EnterpriseLinux/EL5/4/base/$basearch/
gpgkey=RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[el5_u5_base]
name=Enterprise Linux $releasever U5 - $basearch - base
baseurl=repo/EnterpriseLinux/EL5/5/base/$basearch/
gpgkey=RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[ol5_u5_base]
name=Oracle Linux $releasever - U5 - x86_64 - base
baseurl=repo/OracleLinux/OL5/5/base/x86_64/
gpgkey=RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=0
[ol5_u6_base]
name=Oracle Linux $releasever - U6 - $basearch - base
baseurl=repo/OracleLinux/OL5/6/base/$basearch/
gpgkey=RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1
[el5_addons]
name=Enterprise Linux $releasever - $basearch - addons
baseurl=repo/EnterpriseLinux/EL5/addons/$basearch/
gpgkey=RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1
[el5_oracle_addons]
name=Enterprise Linux $releasever - $basearch - oracle_addons
baseurl=repo/EnterpriseLinux/EL5/oracle_addons/$basearch/
gpgkey=RPM-GPG-KEY-oracle-el5
gpgcheck=1
enabled=1
[root@localhost ~]# yum list
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
el5_addons | 951 B 00:00
el5_addons/primary 86% [==========================- ] 0.0 B/s | 16 kB --:-- ETA
el5_addons/primary | 19 kB 00:00
el5_addons: [# ] 1/70
el5_addons: [## ] 2/70
el5_addons: [###
[root@localhost ~]# yum -y install kernel-*
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Package kernel-headers is obsoleted by kernel-uek-headers, trying to install kernel-uek-headers-2.6.32-100.26.2.el5.x86_64 instead
Package kernel-2.6.18-238.el5.x86_64 already installed and latest version
Package kernel-devel-2.6.18-238.el5.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package kernel-debug.x86_64 0:2.6.18-238.el5 set to be installed
---> Package kernel-debug-devel.x86_64 0:2.6.18-238.el5 set to be updated
---> Package kernel-doc.noarch 0:2.6.18-238.el5 set to be updated
---> Package kernel-uek.x86_64 0:2.6.32-100.26.2.el5 set to be updated
--> Processing Dependency: device-mapper-multipath >= 0.4.9-23.0.1.el5 for package: kernel-uek
--> Processing Dependency: ql2xxx-firmware for package: kernel-uek
--> Processing Dependency: oraclelinux-release for package: kernel-uek
---> Package kernel-uek-debug.x86_64 0:2.6.32-100.26.2.el5 set to be updated
---> Package kernel-uek-debug-devel.x86_64 0:2.6.32-100.26.2.el5 set to be updated
---> Package kernel-uek-devel.x86_64 0:2.6.32-100.26.2.el5 set to be updated
---> Package kernel-uek-doc.noarch 0:2.6.32-100.26.2.el5 set to be updated
---> Package kernel-uek-firmware.noarch 0:2.6.32-100.26.2.el5 set to be updated
---> Package kernel-uek-headers.x86_64 0:2.6.32-100.26.2.el5 set to be updated
---> Package kernel-xen.x86_64 0:2.6.18-238.el5 set to be installed
---> Package kernel-xen-devel.x86_64 0:2.6.18-238.el5 set to be installed
--> Running transaction check
---> Package device-mapper-multipath.x86_64 0:0.4.9-23.0.8.el5 set to be updated
--> Processing Dependency: device-mapper-multipath-libs = 0.4.9-23.0.8.el5 for package: device-mapper-multipath
--> Processing Dependency: kpartx = 0.4.9-23.0.8.el5 for package: device-mapper-multipath
--> Processing Dependency: libmultipath.so()(64bit) for package: device-mapper-multipath
---> Package oraclelinux-release.x86_64 0:5-6.0.1 set to be updated
---> Package ql2xxx-firmware.noarch 0:1.01.01-0.2.el5 set to be updated
--> Running transaction check
---> Package device-mapper-multipath-libs.x86_64 0:0.4.9-23.0.8.el5 set to be updated
---> Package kpartx.x86_64 0:0.4.9-23.0.8.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================
Package Arch Version Repository Size
================================================================================================================
Installing:
kernel-debug x86_64 2.6.18-238.el5 ol5_u6_base 20 M
kernel-debug-devel x86_64 2.6.18-238.el5 ol5_u6_base 5.6 M
kernel-doc noarch 2.6.18-238.el5 ol5_u6_base 3.1 M
kernel-uek x86_64 2.6.32-100.26.2.el5 ol5_u6_base 25 M
kernel-uek-debug x86_64 2.6.32-100.26.2.el5 ol5_u6_base 25 M
kernel-uek-debug-devel x86_64 2.6.32-100.26.2.el5 ol5_u6_base 6.6 M
kernel-uek-devel x86_64 2.6.32-100.26.2.el5 ol5_u6_base 6.6 M
kernel-uek-doc noarch 2.6.32-100.26.2.el5 ol5_u6_base 8.4 M
kernel-uek-firmware noarch 2.6.32-100.26.2.el5 ol5_u6_base 1.0 M
kernel-uek-headers x86_64 2.6.32-100.26.2.el5 ol5_u6_base 709 k
replacing kernel-headers.x86_64 2.6.18-238.el5
kernel-xen x86_64 2.6.18-238.el5 ol5_u6_base 20 M
kernel-xen-devel x86_64 2.6.18-238.el5 ol5_u6_base 5.5 M
Installing for dependencies:
device-mapper-multipath-libs x86_64 0.4.9-23.0.8.el5 ol5_u6_base 153 k
oraclelinux-release x86_64 5-6.0.1 ol5_u6_base 2.4 k
ql2xxx-firmware noarch 1.01.01-0.2.el5 ol5_u6_base 442 k
Updating for dependencies:
device-mapper-multipath x86_64 0.4.9-23.0.8.el5 ol5_u6_base 84 k
kpartx x86_64 0.4.9-23.0.8.el5 ol5_u6_base 449 k
Transaction Summary
================================================================================================================
Install 15 Package(s)
Upgrade 2 Package(s)
Total download size: 128 M
Downloading Packages:
(1/17): oraclelinux-release-5-6.0.1.x86_64.rpm | 2.4 kB 00:00
(2/17): device-mapper-multipath-0.4.9- (0%) 37% [==========- ] 0.0 B/s | 32 kB --:-- ETA
(2/17): device-mapper-multipath-0.4.9-23.0.8.el5.x86_64.rpm | 84 kB 00:00
(3/17): device-mapper-multipath-libs-0 (0%) 20% [====== ] 0.0 B/s | 32 kB --:-- ETA
(3/17): device-mapper-multipath-libs-0 (0%) 94% [=========================== ] 118 kB/s | 144 kB 00:00 ETA
(3/17): device-mapper-multipath-libs-0.4.9-23.0.8.el5.x86_64.rpm | 153 kB 00:00
(4/17): ql2xxx-firmware-1.01.01-0.2.el (0%) 7% [==
…………………………………
[root@localhost ~]# reboot
升级后的内核如下:
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.32-100.26.2.el5 #1 SMP Tue Jan 18 20:11:49 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# yum info kernel-uek
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Installed Packages
Name : kernel-uek
Arch : x86_64
Version : 2.6.32
Release : 100.26.2.el5
Size : 78 M
Repo : installed
Summary : The Linux kernel
URL :
License : GPLv2
Description: The kernel package contains the Linux kernel (vmlinuz), the core of any
: Linux operating system. The kernel handles the basic functions
: of the operating system: memory allocation, process allocation, device
: input and output, etc.