Welcome 微信登录

首页 / 数据库 / MySQL / Oracle asmlib的configure错误小结

Oracle asmlib 是Oracle 公司在linux 平台上提供的一种取代raw devices 的系统程序包。它的安装和配置很简单,可以去参考我写的 http://www.linuxidc.com/Linux/2012-06/62770.htm 一文。 本文描述了在oracel asmlib 使用过程中出现的一个小问题。 在asmlib 软件包安装完成后,使用oracleasm configure 完成配置操作。 正常情况下,执行过程应该是如下所示: [root@db2 ~]# 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 <ENTER> 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) [y]: Fix permissions of Oracle ASM disks on boot (y/n) [y]: Writing Oracle ASM library driver configuration:            [   OK   ] Scanning system for ASM disks:                              [   OK   ] 这个脚本执行完成了四大任务。 1  、创建了配置文件/etc/sysconfig/oracleasm 2  、创建了挂载点/dev/oracleasm 3  、加载oracleasm  内核模块 4  、挂载ASM  函数驱动文件系统 但是,现在执行结果却是这样,如下: [root@oracle16 ~]# oracleasm configure ORACLEASM_ENABLED=false ORACLEASM_UID= ORACLEASM_GID= ORACLEASM_SCANBOOT=true ORACLEASM_SCANORDER="" ORACLEASM_SCANEXCLUDE="" 没有出现任何配置过程的参数项。从结果看,像是oracleasm 已经配置过了,只是设置成不使用状态了。 我们先分析一下这个应用程序oracleasm 。 [root@oracle16 ~]# which oracleasm /usr/sbin/oracleasm   [root@oracle16 ~]# oracleasm configure -h Usage: oracleasm-configure [-l <manager>] [-i|-I] [-e|-d] [-u <user>] [-g <group>] [-s y|n]  [[-o <order>] ...] [[-x <exclude>] ...]
  • 1
  • 2
  • 下一页
创建符合生产环境要求的Oracle数据库用户Oracle asmlib 安装配置及磁盘创建相关资讯      Oracle数据库基础教程 
  • 在Oracle数据库中插入含有&符号的  (03/06/2013 09:20:14)
  • Oracle 执行计划更改导致数据加工  (02/13/2013 14:45:04)
  • 判断Oracle Sequence是否存在  (02/13/2013 14:32:26)
  • Oracle数据库中无法对数据表进行  (02/26/2013 14:24:58)
  • Oracle 在同一台主机上建立用户管  (02/13/2013 14:40:58)
  • Oracle em 无法启动,报not found错  (02/13/2013 14:29:48)
本文评论 查看全部评论 (0)
表情: 姓名: 字数