1. install shared disks
2. identify the shared disks to use
# fdisk -l
3. partition the device (assume using /dev/sda disk)
# fdisk /dev/sda
4. binding the partitions
4.1 identify the devices that are already bound
# /usr/bin/raw –qa
4.2 edit /etc/sysconfig/rawdevices in following format
/dev/raw/raw1 /dev/sda1
4.3 adjusting ownership and permission. For OCR root:dba and 640 respectively, and for Voting Disk oracle:dba and 660 respetively.
4.4 execute rawdevices command
# /sbin/service rawdevices restart
For red hat 5.0 using following binding mechanism. Edit 60-raw.rules and 99-raw-perms.rules, then un /sbin/start_udev
/etc/udev/rules.d/60-raw.rules
ACTION=="add", KERNEL=="emcpowerb1", RUN+="/bin/raw /dev/raw/raw5 %N"
ACTION=="add", KERNEL=="emcpowerc1", RUN+="/bin/raw /dev/raw/raw6 %N"
ACTION=="add", KERNEL=="emcpowero1", RUN+="/bin/raw /dev/raw/raw7 %N"
ACTION=="add", KERNEL=="emcpowerq1", RUN+="/bin/raw /dev/raw/raw8 %N"
ACTION=="add", KERNEL=="emcpowerr1", RUN+="/bin/raw /dev/raw/raw9 %N"
/etc/udev/rules.d/99-raw-perms.rules
KERNEL=="raw[5]" MODE="0640", GROUP="oinstall", OWNER="root"
KERNEL=="raw[6]" MODE="0666", GROUP="oinstall", OWNER="oracle"
KERNEL=="raw[7]" MODE="0666", GROUP="oinstall", OWNER="oracle"
KERNEL=="raw[8]" MODE="0666", GROUP="oinstall", OWNER="oracle"
KERNEL=="raw[9]" MODE="0640", GROUP="oinstall", OWNER="root"
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment