首页 > 数据库 > mysql教程 > 修改ASM磁盘的启动权限

修改ASM磁盘的启动权限

WBOY
发布: 2016-06-07 17:09:57
原创
1300 人浏览过

这样,就不会出现上次rac不能自动启动的问题了。顺便说一下,最后mpath*的权限没有生效,看样子还有点小问题

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. Perform

the following steps to change the default permission of the devices on all Oracle RAC nodes:

通过在目录/etc/udev/rules.d/下添加文件修改磁盘的权限

[root@ 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》

修改ASM磁盘的启动权限

相关标签:
来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板