Welcome 微信登录

首页 / 数据库 / MySQL / 修改ASM磁盘的启动权限

The udev facility dynamically creates device files in Red Hat 5. Manual changes to the permission, user
and group IDs to a device file under /dev are lost after a reboot. To prevent this, create the
/etc/udev/rules.d/99-Oracle-permissions.rules file to change the permission, user and group IDs. Performthe following steps to change the default permission of the devices on all Oracle RAC nodes:通过在目录/etc/udev/rules.d/下添加文件修改磁盘的权限[root@www.linuxidc.com rules.d]# vi 99-grid-permissions.rules# Set permissions of block bindings to Oracle Clusterware devices
PROGRAM="/bin/chown grid:asmadmin /dev/mapper/mpath1p1"
PROGRAM="/bin/chown grid:asmadmin /dev/mapper/mpath2p1"
PROGRAM="/bin/chown grid:asmadmin /dev/mapper/mpath3p1"
PROGRAM="/bin/chown grid:asmadmin /dev/mapper/mpath4p1"
PROGRAM="/bin/chown grid:asmadmin /dev/mapper/mpath*"
~这样,就不会出现上次rac不能自动启动的问题了。顺便说一下,最后mpath*的权限没有生效,看样子还有点小问题参考文献《Deploying Oracle RAC 10g and Oracle RAC 11g with ASM on Red Hat Enterprise Linux Using IBM System Storage DS8000.pdf》Oracle 将一台机器上的数据库注册到另一台机器的监听上Oracle 10g r2 rac + ASM 修改为归档状态相关资讯      Oracle基础教程 
  • Oracle块编程返回结果集详解  (11/10/2013 10:45:58)
  • Oracle基础教程之设置系统全局区  (08/22/2013 14:24:00)
  • Oracle基础教程知识点总结  (06/18/2013 07:43:32)
  • Oracle基础教程之tkprof程序详解  (10/22/2013 11:49:50)
  • Oracle基础教程之sqlplus汉字乱码  (07/18/2013 16:30:00)
  • Oracle 管理之 Linux 网络基础  (02/16/2013 18:37:35)
本文评论 查看全部评论 (0)
表情: 姓名: 字数