修改ASM磁盘的启动权限
2012-01-16 11:09
351 查看
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@dtydb6 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》
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@dtydb6 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 asm之添加和修改asm磁盘组
- 修改hosts文件里面的主机名,oralce asm无法启动
- 磁盘修改RHEL6使用udev修改asm磁盘名
- RAC增加ASM磁盘后某个实例无法启动
- android 修改ramdisk.img和init.rc && android启动后设置/data权限为770
- android 修改ramdisk.img和init.rc && android启动后设置/data权限为770
- 找不到vote,cssd无法启动,也无法修改asm_diskstring
- 11.2 RAC 修改了目录权限(u01)后crs不能启动的解决方法
- oracle 11.2.0.1 rac 修改asm磁盘组的冗余模式(redundancy mode)为normal【待看】
- 修改ASM磁盘组冗余模式(二):备份恢复方式
- [转]android 修改ramdisk.img和init.rc && android启动后设置/data权限为770
- RHEL6使用udev修改asm磁盘名
- ORACLE 12C RAC修改ocr/votedisk/asm spfile所在磁盘组名称
- grid软件安装目录权限被修改引起登陆ASM出现ORA-12547 TNSlost contact
- 在11gR2 RAC中修改ASM DISK Path磁盘路径
- android 修改ramdisk.img和init.rc && android启动后设置/data权限为770
- c#实现开机自动启动,以及解决修改注册表权限不足
- ORACLE 11g将数据库移动到不同的ASM磁盘组/修改ASM磁盘组的冗余属性
- 修改ASM磁盘组冗余模式(三):闪回区磁盘组的替换
- jenkins修改启动用户,解决执行脚本权限问题