Redhat 6 上使用ASM(通过修改内核实现)
2015-07-21 08:22
411 查看
随着oracle linux的出现,oracle要大力推广自己的操作系统,所以对Redhat等其他的linux的支持力度有所下降。 在Redhat 6 上装ASM就是一个例子。
下面是Oracle对在Red Hat Linux 6上使用ASMLib的说明:
使用ASMLib需要3个包:kmod-oracleasm oracleasmlib oracleasm-support,后两个包都可以直接在网站上下载到,关键是第一个ASMLib内核驱动包需要到RHN上更新,且应该匹配操作系统的内核版本。
以上文字来源于:http://www.oracle.com/technetwork/server-storage/linux/asmlib/rhel6-1940776.html
但是在Redhat的光盘里是找不到kmod-oracleasm。
相对于Redhat,再看ASM对oracle linux的支持如何:
如果使用的是Oracle Linux的uek内核,oracleasm已经被编译到了内核中,如果使用的是和Red Hat兼容的内核,那么需要手动安装kmod-oracleasm包。
以上文字来源于:http://www.oracle.com/technetwork/server-storage/linux/asmlib/ol6-1709075.html
所以安装ASM对linux的内核要求比较高,但是Redhat6的内核不符合要求,那怎么办,方法可以通过修改内核来实现安装ASM,或者在线更新kmod-oracleasm(需要正版linux注册),后者明显比较困难,那么本文通过手动修改内核来实现。
测试环境:Redhat6.5
安装包下载地址:http://download.csdn.net/detail/captain_kunkka/8918021
安装顺序:
kernel
安装后重启(更改内核)
oracleasm-support
kmod
oracleasmlib
亲测这个过程可用,测试日志就不贴出来了,有什么问题可以共同交流
下面是Oracle对在Red Hat Linux 6上使用ASMLib的说明:
Oracle ASMLib Downloads for Red Hat Enterprise Linux Server 6 Note: 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.
使用ASMLib需要3个包:kmod-oracleasm oracleasmlib oracleasm-support,后两个包都可以直接在网站上下载到,关键是第一个ASMLib内核驱动包需要到RHN上更新,且应该匹配操作系统的内核版本。
以上文字来源于:http://www.oracle.com/technetwork/server-storage/linux/asmlib/rhel6-1940776.html
但是在Redhat的光盘里是找不到kmod-oracleasm。
相对于Redhat,再看ASM对oracle linux的支持如何:
Oracle ASMLib Downloads for Oracle Linux 6 Note: All ASMLib installations require the oracleasmlib and oracleasm-support packages appropriate for their machine. The oracleasm-support package can be downloaded from the Unbreakable Linux Network(ULN) if you have an active support subscription, or from http://public-yum.oracle.com if you do not. The oracleasm kernel driver is built into the Unbreakable Enterprise Kernel for Oracle Linux 6 and does not need to be installed manually. The oracleasm kernel driver for the 64-bit (x86_64) Red Hat Compatible Kernel for Oracle Linux 6 can be installed manually from ULN or http://public-yum.oracle.com using the yum tool: # yum install kmod-oracleasm This kernel driver is not version-specific and does not need to be upgraded when the kernel is upgraded.
如果使用的是Oracle Linux的uek内核,oracleasm已经被编译到了内核中,如果使用的是和Red Hat兼容的内核,那么需要手动安装kmod-oracleasm包。
以上文字来源于:http://www.oracle.com/technetwork/server-storage/linux/asmlib/ol6-1709075.html
所以安装ASM对linux的内核要求比较高,但是Redhat6的内核不符合要求,那怎么办,方法可以通过修改内核来实现安装ASM,或者在线更新kmod-oracleasm(需要正版linux注册),后者明显比较困难,那么本文通过手动修改内核来实现。
测试环境:Redhat6.5
安装包下载地址:http://download.csdn.net/detail/captain_kunkka/8918021
安装顺序:
kernel
安装后重启(更改内核)
oracleasm-support
kmod
oracleasmlib
亲测这个过程可用,测试日志就不贴出来了,有什么问题可以共同交流
相关文章推荐
- 探索ORACLE之ASM概念(完整版)
- oracle中fdisk导致的ASM磁盘数据丢失的解决方法
- GCC内联汇编(1)Get started
- GCC内嵌汇编
- 利用OllyDbg进行源码级调试(Win32汇编语言)
- 访问 CR4寄存器
- 如何在Android中使用汇编语言
- ASM 详解
- ORACLE 管理 存储与ASM
- RMAN 常用操作命令一
- RMAN 常用操作命令二(备份保留策略)
- Oracle CRS/ASM/RAC版本兼容对应表
- UDEV SCSI Rules Configuration for ASM in Oracle Linux 5 and 6
- ORA-29701: unable to connect to Cluster Synchronization Service
- __asm__ __volatile__内嵌汇编用法简述
- RAC专题
- ora-01578 数据库坏块处理
- asmcmd管理asm
- RAC环境创建表空间,ASM磁盘组缺少”+“号引发的故障
- Manage Audit File Directory Growth with cron (Doc ID 1298957.1)