RH4 构建ORACLE ASM
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-04-22
ORACLE ASM没有提供LINUX2.6.9-5.EL驱动.详情见http://www.oracle.com/technology/software/tech/linux/asmlib/rhel4.html,
安装ASM之前,需升级LINUX内核. 安装以下RPM包,升级到LINUX2.6.9-11.EL,ORACLE提供了相应有ASM驱动.
kernel-2.6.9-11.EL.i686.rpm
kernel-devel-2.6.9-11.EL.i686.rpm
kernel-hugemem-2.6.9-11.EL.i686.rpm
kernel-hugemem-devel-2.6.9-11.EL.i686.rpm
kernel-smp-2.6.9-11.EL.i686.rpm
kernel-smp-devel-2.6.9-11.EL.i686.rpm
安装完成后重启LINUX 运行-> uname -r 出现2.6.9-11.ELsmp,OK.
下载ORACLE ASM 库以及驱动包:
oracleasm-support-2.1.3-1.el4.i386.rpm
oracleasm-2.6.9-5.0.5.ELsmp-2.0.0-1.i686.rpm
oracleasm-2.6.9-5.0.5.ELhugemem-2.0.0-1.i686.rpm
oracleasm-2.6.9-5.0.5.EL-2.0.0-1.i686.rpm
oracleasmlib-2.0.4-1.el4.i386.rpm
并以次安装即可.
执行 /etc/init.d/oracleasm configure 配置ASM参数:
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 <ENTER> without typing an answer will keep that current value. Ctrl-C will abort. Default user to own the driver interface []: oracle 这里输入ORACLE用户名 Default group to own the driver interface []: dba 这里输入DBA用户组. Start Oracle ASM library driver on boot (y/n) [n]: y Scan for Oracle ASM disks on boot (y/n) [y]: y Writing Oracle ASM library driver configuration: done Initializing the Oracle ASMLib driver: [ OK ] Scanning the system for Oracle ASMLib disks: [ OK ] 看起来比较顺利.运行/etc/init.d/oracleasm createdisk创建ASM可管理的磁盘: [root@localhost 11]# /etc/init.d/oracleasm createdisk asm01 /dev/sdb5 Marking disk "asm01" as an ASM disk: [ OK ] [root@localhost 11]# /etc/init.d/oracleasm createdisk asm01 /dev/sdc1 Marking disk "asm01" as an ASM disk: [FAILED] [root@localhost 11]# /etc/init.d/oracleasm createdisk asm02 /dev/sdc1 Marking disk "asm02" as an ASM disk: [ OK ] [root@localhost 11]# /etc/init.d/oracleasm listdisks ASM01 ASM02 [root@localhost 11]# /etc/init.d/oracleasm scandisks Scanning the system for Oracle ASMLib disks: [ OK ] /etc/init.d/oracleasm ''enable''和 ''disable'' 选项来启用或禁用自动启动. 这里用''enable''. 好了.su - oracle切换到ORACLE用户.执行DBCA. 弹出对话框: 按提示执行即可.以下按默认下一步即可.如果在创建磁盘组的时候,没有磁盘列表,这里更改一下搜索路径这 ORCL:*即可. 到此ASM实例创建完成.下一步你可以建立ASM管理的数据库了. |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
上一篇: linux下Oracle 10 g的安装(二)下一篇: nagios 监控错误日志实例
关于RH4 构建ORACLE ASM的所有评论