oracle RAC 通过udev绑定磁盘

Oracle RAC在Linux上需要OCR和Voting设备具有特定的所有权和权限。UDEV系统用于控制内核如何创建表示资源如块设备的特殊文件。在Oracle 10g RAC中,由于CRS要求使用raw设备,因此需要为raw设备设置特定的所有权和权限。解决方案是通过创建UDEV规则文件自动设置这些属性。本文档介绍了如何根据不同的RAC版本创建UDEV权限规则,并重启UDEV服务以应用更改。
摘要由CSDN通过智能技术生成

关于oracle RAC 通过udev绑定磁盘,以下内容不做翻译:


Real Application Clusters (RAC) requires special ownership (owner, group and permissions) for the OCR (Oracle Cluster Registry) and Voting devices on Linux.

In the 2.6 kernel, the UDEV system is the default method through which the kernel controls the creation of the special files that represent resources such as block devices.  
In Oracle 10g RAC, where raw devices are a mandatory requirement for use by CRS, raw devices require specific ownership and permissions.  Prior to UDEV, device nodes
could be created and their access permissions persistently set using the mknod(1) utility; the UDEV facility dynamically recreates the /dev content each reboot, preventing this approach.  
The solution is to add UDEV rules to set these attributes automatically.   The configuration file syntax for UDEV in SLES10, RHEL5 and OEL5 have vary slightly compared depending on the software version.

For SuSE Linux Enterprise Server 10 (SLES10), UDEV rules for raw device permission setting should be placed into rule files under the/etc/udev/rules.d/ directory.  
The files are processed in ls(1) order, with default system rules contained in the 50-udev-default.rules file.

UDEV Filename Rules

  • Filenames begin with two decimal digits, to sequen
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值