Oracle_ASM


一、安装ASMlib

安装以下3个RPM包: # suse11版本的有一个包下不到,但是其系统安装盘中有,所以在yast2中搜索安装就行。

You must install the following packages, where version is the version of the Automatic Storage Management library driver, arch is the system architecture, and kernel is the version of the kernel that you are using:
oracleasm-support-version.arch.rpm
oracleasm-kernel-version.arch.rpm    # SUSE11的安装包里自带有这个包,是在这里看到的 http://www.2cto.com/database/201312/267527.html
oracleasmlib-version.arch.rpm

Oracle ASMlib: http://www.oracle.com/technetwork/server-storage/linux/asmlib/index-101839.html

 

如这里是下载:ASMLib for Red Hat Enterprise Linux Server 5
http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.html


二、初始化ASM

1、初始化oracleasm: linux-163:~ # oracleasm configure -i

2、初始化asmlib: linux-163:~ # oracleasm init

三、创建ASM磁盘

1、首先要有可用的磁盘分区

查看系统可用分区:cat /proc/partitions

2、创建ASM磁盘: 

四、创建ASM磁盘组

# 使用以下方法创建ASM磁盘组的前提是必须要安装好grid。在安装grid的时候一般是选择安装并配置grid,这样在安装过程中就会让创建ASM磁盘组,因此需提前将ASM磁盘创建好。

1、可以使用grid用户登录,然后执行asmca,即可打开一个图形界面,可以创建ASM磁盘组。

2、使用命令:

 



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值