CONFIGURE FOR ASM Linux
Article Number: 155 | Rating: Unrated | Last Updated: Sat, Jun 2, 2018 9:40 PM
CONFIGURE FOR ASM
Step1: from racnode1 as ROOT user
# fdisk /dev/sda Configure RAW disks to use as ASM disks: Open /etc/sysconfig/rawdevices and add following lines: /dev/raw/raw1 /dev/sdb1
/dev/raw/raw2 /dev/sdc1 /dev/raw/raw3 /dev/sdd1 /dev/raw/raw4 /dev/sde1 Restart the rwdevices service to make your changes effective. # service rawdevices restart
Assigning devices: /dev/raw/raw1 --> /dev/sdb1 /dev/raw/raw1: bound to major 8, minor 17 /dev/raw/raw2 --> /dev/sdc1 /dev/raw/raw2: bound to major 8, minor 33 /dev/raw/raw3 --> /dev/sdd1 /dev/raw/raw3: bound to major 8, minor 49 /dev/raw/raw4 --> /dev/sde1 /dev/raw/raw4: bound to major 8, minor 65 done # This will bound the disks with raw devices. Execute the following commands to set access and ownership on the raw disks for user oracle. # chown oracle:oinstall /dev/raw/raw1
# chown oracle:oinstall /dev/raw/raw2 # chown oracle:oinstall /dev/raw/raw3 # chown oracle:oinstall /dev/raw/raw4 # chmod 660 /dev/raw/raw1 # chmod 660 /dev/raw/raw2 # chmod 660 /dev/raw/raw3 # chmod 660 /dev/raw/raw4 |