Linux下Oracle ASM的安装
转载
Linux下安装Oracle RAC时,要弄asm,这东东很麻烦。要跟内核跑,Oracle Linux好点,光盘中自带就有了。不像其它要跑到Oracle官网去下载asmlib 。而且这个东东,步骤不少,版本不同方法还有差异。为了查询方便,我在这集中整理了各种版本系统的搞法。
Oracle Linux 5以下的安装方法.
Oracle 6.4及以上版本的安装方法
yum直接安装asm的方法.
首先附上ASMLIB 官网下载地址
一。手工搞定安装
1. 检查是否已安装及系统内核
--查看内核
[root@xclrac1 /]# uname -rm
2.6.39-400.17.1.el6uek.x86_64 x86_6
--查看asm包
[root@xclrac1 /]# rpm -qa|grep asm
libatasmart-0.17-4.el6_2.x86_64
[root@xclrac1 /]#
[root@xclrac1 db2]# cat /proc/version
Linux version 2.6.39-400.17.1.el6uek.x86_64 (mockbuild@ca-build44.us.oracle.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Feb 22 18:16:18 PST 2013
[root@xclrac1 ~]# cat /etc/issue
Oracle Linux Server release 6.4
Kernel \r on an \m
2. 去官网找到相应系统对应的asm下载安装.
以前Oracle Linux 5 如下:
--安装ASM, support->asm-> lib放最后
rpm -Uvh oracleasm-support-2.1.7-1.el5.x86_64.rpm
rpm -Uvh oracleasm-2.6.18-194.el5-2.0.5-1.el5.x86_64.rpm
rpm -Uvh oracleasmlib-2.0.4-1.el5.x86_64.rpm
现在Oracle 6.4就不需这么麻烦:
2.1 去系统光盘找到asmlib support的安装包(rpm -Uvh oracleasm-support-2.1.8-1.el6.x86_64.rpm)装上
2.2 去Oracle官网,下载Oracle Linux 6 对应的asmlib.rpm包并装上
2.3 重新查看
[root@xclrac1 db2]# rpm -qa|grep asm
oracleasmlib-2.0.4-1.el6.x86_64
libatasmart-0.17-4.el6_2.x86_64
3. 安装成功后,通过 oracleasm命令检查并管理asmlib
[root@xclrac1 /]# oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@xclrac1 ~]# oracleasm update-driver
二。yum快速搞定安装
http://www.oracle.com/technetwork/server-storage/linux/uln-095759.html
Getting Oracle ASMLib via the Unbreakable Linux Network
Installing ASMLib via ULN
Now that the system is registered with ULN, it can install the software. Log in as root and run:
# yum install oracleasm-support oracleasmlib oracleasm-`uname -r`
On Oracle Linux 5 and older, run the following command instead:
# up2date -i oracleasm-support oracleasmlib oracleasm-`uname -r`
This will install the support tools, the library, and the kernel driver for the currently running kernel.
Note: If you are running the Unbreakable kernel, the ASMLib kernel driver is included in that kernel package, and the oracleasm-`uname -r` package should not be specified.
安装成功后。就可以.配置和管理asm 磁盘了。
这个可以参考另一篇文章<<
Oracle VM创建共享磁盘并挂ASM>>. 虽然是Oracle VM的共享磁盘做法。但其中的asm部份,和挂实际共享存储没区别。
MAIL:xcl_168@aliyun.com
Blog:http://blog.csdn.net/xcl168
下一篇:linux lsof
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
搞定Linux下Oracle ASM的安装
Linux下安装Oracle RAC时,要弄asm,这东东很麻烦。要跟内核跑,Oracle Linux好点,光盘中自带就有了。不像其它要跑到Oracle官网去下载asmlib 。
rac asm asmlib oracleasm oracle -
Linux下oracle的安装
Linux下oracle的安装安装步骤:1、 检查硬件要求内存 #grep MemTotal /proc/meminfo 512MB交换分区 &
安装 oracle Linux 职场 休闲 -
ORACLE安装之ASM安装
ORACLE系列之ASM安装、配置、创建ASM磁盘-------->神器
Oracle 数据库 操作系统 ASM -
centos一打开浏览器就卡主
操作系统的基本功能之一就是文件管理,而文件的管理是由文件系统来完成的。Linux 支持多种文件系统,本文我们就来讲解 Linux 下的文件系统、文件系统类型、文件系统结构和文件系统相关Shell 命令。操作系统就是处理各种数据的,这些数据在硬盘上就是二进制,人类肯定不能直接看懂这些二进制数据,要有一个翻译器,将这些二进制的数据还原为人类能看懂的文件形式,这个工作就是由文件系统来完成的,文件系统的目
centos一打开浏览器就卡主 linux 打开浏览器 linux 文件系统 linux 格式化硬盘 linux 进入文件夹