虚拟化容器,大数据,DBA,中间件,监控。

RedHat(RHEL)6 support ASMLIB (RHEL6支持asmlib)

26 10月
作者:admin|分类:系统运维

RedHat(RHEL)6 support ASMLIB (RHEL6支持asmlib)

With the annoucement of Oracle’s database support on RHEL6 and OEL6, they have decided to stop making ASMLIB for RHEL compatible kernels. ASMLIB is now only available if you are using Oracle Unbreakable Linux Kernel. RHEL6 has also deprecated the use of setting LUN permissions using multipath.conf therefore we have to fall back to UDEV rules.

Recent events enabled Red Hat and Oracle to work together, and Oracle is now officially supporting ASMlib on Red Hat Enterprise Linux 6.4 and newer.

ORACLE sound:

All ASMLib installations require that the ‘kmod-oracleasm’,'oracleasmlib’ and ‘oracleasm-support’ packages be installed on the system. The ‘oracleasmlib’ and ‘oracleasm-support’ packages are available for download at the locations listed below.

The kernel driver package ‘kmod-oracleasm’ is available directly from Red Hat, and can be installed from the “RHEL Server Supplementary (v. 6 64-bit x86_64)” channel on Red Hat Network (RHN). Use the ASMLib kernel driver that corresponds to the version of the Red Hat Enterprise Linux kernel you’re running.

To identify which version of the ASMLib kernel driver you need, view the description field of the ‘kmod-oracleasm’ package in the “RHEL Server Supplementary (v. 6 64-bit x86_64)” channel on RHN.

read more Oracle ASMLib Release Notes

Redhat Sound:

Oracle ASMLib availability and support. Kernel module kmod-oracleasm package is now available for Red Hat Enterprise Linux 6.

Oracle ASM (Automated Storage Management) is a data volume manager for Oracle databases. ASMLib is an optional utility that can be used on Linux systems to manage Oracle ASM devices. ASMLib consists of the following components:
- kmod-oracleasm (open-source (GPL) kernel module package)
- oracleasm-support (open-source (GPL) utitilies package)
- oracleasmlib (proprietary library package)

The ASMLib kernel module package is provided for the convenience of our customers but is not supported,

Please note that Red Hat is continuing to develop fully open-source alternatives to ASMLib. Red Hat has provided a reference architecture for Oracle RAC clusters using upstream-accepted technologies such as dm-multipath and udev.

read more https://access.redhat.com/site/solutions/315643

Here’s what the installation steps look like in RHEL 6.4

Download Address List

oracleasm-support-2.1.8-1.el6.x86_64.rpm

oracleasmlib-2.0.4-1.el6.x86_64.rpm
kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm

Install ASMLIB RPM

# cat /etc/issue
Red Hat Enterprise Linux Server release 6.4 (Santiago)
Kernel \r on an \m
# uname -a
Linux itrus 2.6.32-358.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

# rpm -ivh oracleasm-support-2.1.8-1.el6.x86_64.rpm
warning: oracleasm-support-2.1.8-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing... ########################################### [100%]
package oracleasm-support-2.1.8-1.el6.x86_64 is intended for a x86_64 architecture

# rpm -ivh oracleasmlib-2.0.4-1.el6.x86_64.rpm
warning: oracleasmlib-2.0.4-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
error: Failed dependencies:
oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.4-1.el6.x86_64

# ls

kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm oracleasmlib-2.0.4-1.el6.x86_64.rpm oracleasm-support-2.1.8-1.el6.x86_64.rpm

# rpm -ivh kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm
warning: kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing... ########################################### [100%]
1:kmod-oracleasm ########################################### [100%]

# rpm -qa|grep kmod-oracleasm
kmod-oracleasm-2.0.6.rh1-2.el6.x86_64

# rpm -ivh oracleasmlib-2.0.4-1.el6.x86_64.rpm
warning: oracleasmlib-2.0.4-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing... ########################################### [100%]
1:oracleasmlib ########################################### [100%]

Take a example on RHEL 6.3 AND 6.5

# uname -a
Linux manta.oracle 2.6.32-279.el6.i686 #1 SMP Wed Jun 13 18:23:32 EDT 2012 i686 i686 i386 GNU/Linux
# cat /etc/issue
Red Hat Enterprise Linux Server release 6.3 (Santiago)
Kernel \r on an \m

# rpm -ivh oracleasmlib-2.0.4-1.el6.x86_64.rpm
warning: oracleasmlib-2.0.4-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
error: Failed dependencies:
  oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.4-1.el6.x86_64

# rpm -ivh kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm
warning: kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
error: Failed dependencies:
  kernel >= 2.6.32-358.el6 is needed by kmod-oracleasm-2.0.6.rh1-2.el6.x86_64
  kernel(bd_claim) = 0x87846fce is needed by kmod-oracleasm-2.0.6.rh1-2.el6.x86_64

**************************************************
# cat /etc/issue
Red Hat Enterprise Linux Server release 6.5 (Santiago)
Kernel \r on an \m
# uname -a
Linux itrus 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

# rpm -ivh oracleasmlib-2.0.4-1.el6.x86_64.rpm 
warning: oracleasmlib-2.0.4-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
error: Failed dependencies:
  oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.4-1.el6.x86_64

# rpm -ivh kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm 
warning: kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
error: Failed dependencies:
  kernel < 2.6.32-359.el6 is needed by kmod-oracleasm-2.0.6.rh1-2.el6.x86_64

Configure oracleasm.

[root@rh64a ~]# service oracleasm configure
[root@rh64a ~]# oracleasm configure
浏览4705 评论0
返回
目录
返回
首页
NTP服务及时间同步(CentOS6.x) Public Yum Server (Oracle YuM)