但Oracle官网上找死都找不到oracleasm这个包,原来Oracle为了推广自己的Oracle Linux OS,故在红帽6以后不再提供这个包了。咋办了,红帽就只有自己开发个呗,故有了kmod-oracleasm包,下载这个包的时候一定要下载与系统内核版本匹配的,否则也装不上,如下提示包所需的内核版本应小于2.6.32-574。
[root@rac1 6]# uname -a
Linux rac1 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@rac1 6]# rpm -ivh kmod-oracleasm-2.0.8-5.el6_7.x86_64.rpm
warning: kmod-oracleasm-2.0.8-5.el6_7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 1d1e034b: NOKEY
error: Failed dependencies:
kernel >= 2.6.32-573.el6 is needed by kmod-oracleasm-2.0.8-5.el6_7.x86_64
kernel(get_user_pages_fast) = 0xa2046a95 is needed by kmod-oracleasm-2.0.8-5.el6_7.x86_64
kernel(kmem_cache_alloc_trace) = 0x2044fa9e is needed by kmod-oracleasm-2.0.8-5.el6_7.x86_64
[root@rac1 6]# uname -a
Linux rac1 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@rac1 6]# rpm -ivh kmod-oracleasm-2.0.8-13.el6_8.x86_64\(more\).rpm
warning: kmod-oracleasm-2.0.8-13.el6_8.x86_64(more).rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
error: Failed dependencies:
kernel >= 2.6.32-642.el6 is needed by kmod-oracleasm-2.0.8-13.el6_8.x86_64
kernel(get_user_pages_fast) = 0xa2046a95 is needed by kmod-oracleasm-2.0.8-13.el6_8.x86_64
kernel(kmem_cache_alloc_trace) = 0x2044fa9e is needed by kmod-oracleasm-2.0.8-13.el6_8.x86_64
[root@rac1 6]# rpm -ivh kmod-oracleasm-2.0.8-15.el6_9.x86_64.rpm
warning: kmod-oracleasm-2.0.8-15.el6_9.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
kernel >= 2.6.32-696.el6 is needed by kmod-oracleasm-2.0.8-15.el6_9.x86_64
kernel(get_user_pages_fast) = 0xa2046a95 is needed by kmod-oracleasm-2.0.8-15.el6_9.x86_64
kernel(kmem_cache_alloc_trace) = 0x2044fa9e is needed by kmod-oracleasm-2.0.8-15.el6_9.x86_64
[root@rac1 6]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.3 (Santiago)
[root@rac1 6]#
安装ASM需要三个包,即安装以下三个包,所有节点都要安装:
前面两个包可以在oracle的官网上下载,http://www.oracle.com/technetwork/server-storage/linux/asmlib/rhel6-1940776.html,但安装oracleasmlib这个包时,会提示缺少版本高于1.0.4的oracleasm包,如下:
但Oracle官网上找死都找不到oracleasm这个包,原来Oracle为了推广自己的Oracle Linux OS,故在红帽6以后不再提供这个包了。咋办了,红帽就只有自己开发个呗,故有了kmod-oracleasm包,下载这个包的时候一定要下载与系统内核版本匹配的,否则也装不上,如下提示包所需的内核版本应小于2.6.32-574。
检查内核,是2.6.32-642版本的,所以要下载个更高版本的包。
下个与内核版本匹配的,先装kmod-oracleasm,后装oracleasmlib,完美通过。。。。
kmod-oracleasm-2.0.8-13.el6_8.x86_64.rpm下载地址 http://down.51cto.com/data/2331683 |
检查内核,是2.6.32-642版本的,所以要下载个更高版本的包。
[root@linux1 ~]# uname -a Linux linux1 2.6.32-642.el6.x86_64 #1 SMP Wed Apr 13 00:51:26 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux |
下个与内核版本匹配的,先装kmod-oracleasm,后装oracleasmlib,完美通过。。。。
[root@linux2 ~]# rpm -ivh /soft/yum2/Packages/kmod-oracleasm-2.0.8-13.el6_8.x86_64.rpm warning: /soft/yum2/Packages/kmod-oracleasm-2.0.8-13.el6_8.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY Preparing... ########################################### [100%] 1:kmod-oracleasm ########################################### [100%] [root@linux2 ~]# rpm -ivh /soft/yum2/Packages/oracleasm-support-2.1.8-1.el6.x86_64.rpm warning: /soft/yum2/Packages/oracleasm-support-2.1.8-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY Preparing... ########################################### [100%] 1:oracleasm-support ########################################### [100%] [root@linux2 ~]# rpm -ivh /soft/yum2/Packages/oracleasmlib-2.0.4-1.el6.x86_64.rpm warning: /soft/yum2/Packages/oracleasmlib-2.0.4-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY Preparing... ########################################### [100%] 1:oracleasmlib ########################################### [100%] |