Tuesday, January 31, 2017

How to set udev rules in ole6

How to set udev rules in ole6
Create the file:  vi /etc/udev/rules.d/50-udev.rules
KERNEL=="sdb1", OWNER="grid", GROUP="asmadmin", MODE="0644"
KERNEL=="sdc1", OWNER="grid", GROUP="asmadmin", MODE="0644"
KERNEL=="sdd1", OWNER="grid", GROUP="asmadmin", MODE="0644"
KERNEL=="sde1", OWNER="grid", GROUP="asmadmin", MODE="0644"
KERNEL=="sdf1", OWNER="grid", GROUP="asmadmin", MODE="0644"
KERNEL=="sdg1", OWNER="grid", GROUP="asmadmin", MODE="0644"
KERNEL=="sdh1", OWNER="grid", GROUP="asmadmin", MODE="0644"
KERNEL=="sdi1", OWNER="grid", GROUP="asmadmin", MODE="0644"

At the bottom of the file, add the new rules in the following format:
KERNEL==”blockdevicename”, OWNER=”deviceowner”, GROUP=”devicegroup”, MODE=”4digitpermissions”
1.      Block device name - the name of the block device.  For instance, if the device is listed as /dev/sda1, the block device name is sda1.
2.      Device owner - should be set to the name of the OS user that will own the block device.  For instance, if the device is going to be used for placement of the OCR, root should be the owner. For the voting disk or ASM disks, oracle should be the owner.
3.      Device group - should be set to the name of the group which owns the block device.  This will usually be oinstall or dba.
4.      4digitpermissions - should be set to the permissions mask of the block device.  For the OCR and ASM devices this will be 0640.  For the voting disk, it will usually be 0644.






After complete this restart Udev service
# /sbin/start_udev

Then,



No comments:

Post a Comment

Featured post

Migrate OCR & vote from external to normal or High redundancy in ASM

How to Move OCR & Vote from external to Normal or high. 1)  Create New diskgroup(CRS) with suitable redundancy for OCR and Voting files....

Popular Posts