sitemap

RSS地图

收藏本站

设为首页

Oracle研究中心

当前位置:Oracle研究中心 > 产品DBA > Oracle ASM >

【学习笔记】Oracle ASM 数据库ASM下载与配置手册

时间:2016-07-10 18:00   来源:Oracle研究中心   作者:惜分飞   点击:

天萃荷净 运维DBA反映生产环境需要配置Oracle ASM环境,分享一篇redhat 5.5 32位系统的ASM下载与配置步骤

1、确定Linux版本
uname -a
Note:我的系统是redhat 5.5

2、下载asm的lib包

http://www.oracle.com/technetwork/topics/linux/index-101839.html

根据Linux版本,选择合适版本下载(redhat 5.5 32位系统)
oracleasm-support-2.1.4-1.el5.i386.rpm
oracleasm-2.6.18-194.26.1.el5-2.0.5-1.el5.i686.rpm
oracleasmlib-2.0.4-1.el5.i386.rpm

3、安装ams包(root)
rpm -Uvh oracleasm-support-2.1.4-1.el5.i386.rpm
rpm -Uvh oracleasm-2.6.18-194.26.1.el5-2.0.5-1.el5.i686.rpm
rpm -Uvh oracleasmlib-2.0.4-1.el5.i386.rpm

4、配置ASM的库文件(root)

/etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets (‘[]‘). Hitting without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: oracle
Default group to own the driver interface []: dba
Start Oracle ASM library driver on boot (y/n) [n]: y
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: [ OK ]
Creating /dev/oracleasm mount point: [ OK ]
Loading module “oracleasm”: [ OK ]
Mounting ASMlib driver filesystem: [ OK ]
Scanning system for ASM disks: [ OK ]
Note:需要实现创建oracle用户和dba组(一般安装oracle的系统上都会创建)

5、创建ASM磁盘(root)

/etc/init.d/oracleasm createdisk XFF1 /dev/sdb1
/etc/init.d/oracleasm createdisk XFF2 /dev/sdc1

6、配置CSS(root)
$ORACLE_HOME/bin/localconfig add


--------------------------------------ORACLE-DBA----------------------------------------

最权威、专业的Oracle案例资源汇总之【学习笔记】Oracle ASM 数据库ASM下载与配置手册

本文由大师惜分飞原创分享,网址:http://www.oracleplus.net/arch/794.html

Oracle研究中心

关键词:

Oracle ASM

Oracle数据库ASM下载地址

Oralce ASM配置方法详细步骤