一、安装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、使用命令:
本文详细介绍了Oracle Automatic Storage Management (ASM) 的安装过程,包括必要的ASMlib库安装、ASM初始化步骤及如何创建ASM磁盘和磁盘组。特别针对SUSE 11系统提供了解决方案。
1137

被折叠的 条评论
为什么被折叠?



