[RAW disks used for ASM]
RHEL4U6:
Modify "/etc/sysconfig/rawdevices", add raw disk binding information, which looks like:
/dev/raw/raw1 /dev/sdb1
Start raw devices
[root@china1 ~]# /etc/init.d/rawdevices start
SLES9SP4:
Modify /etc/raw, add raw disk binging information, which looks like:
raw1 sdb1
china2:~ # /etc/init.d/raw start
Make sure change permission of /dev/raw/raw* to the same one as oracle user;
china2:~ # ls -l /dev/raw/raw1
crw-rw---- 1 oracle dba 162, 1 Oct 10 2007 /dev/raw/raw1
This can make ASM identifying the raw disks when creating the DiskGroup;
[VxVM disks used for ASM]
create vxvm diskgroup and volume;
Make sure start volumes;
Make sure change the permission of volumes to the same as oracle user;
Change diskpath when configuring ASM using dbca;
[ASMLIB used for ASM]
Install oracleasmlib rpm package;
Make sure oracleasm module is loaded and enabled!
china2:~ # chkconfig --list|grep oracleasm
oracleasm 0:off 1:off 2:on 3:on 4:off 5:on 6:off
Configure ASMLIB using oracleasm command;
[root@china1 ~]# /etc/init.d/oracleasm configure
Create ASM DISKS using oracleasm command;
[root@china1 ~]# /etc/init.d/oracleasm createdisk
RHEL4U6:
Modify "/etc/sysconfig/rawdevices", add raw disk binding information, which looks like:
/dev/raw/raw1 /dev/sdb1
Start raw devices
[root@china1 ~]# /etc/init.d/rawdevices start
SLES9SP4:
Modify /etc/raw, add raw disk binging information, which looks like:
raw1 sdb1
china2:~ # /etc/init.d/raw start
Make sure change permission of /dev/raw/raw* to the same one as oracle user;
china2:~ # ls -l /dev/raw/raw1
crw-rw---- 1 oracle dba 162, 1 Oct 10 2007 /dev/raw/raw1
This can make ASM identifying the raw disks when creating the DiskGroup;
[VxVM disks used for ASM]
create vxvm diskgroup and volume;
Make sure start volumes;
Make sure change the permission of volumes to the same as oracle user;
Change diskpath when configuring ASM using dbca;
[ASMLIB used for ASM]
Install oracleasmlib rpm package;
Make sure oracleasm module is loaded and enabled!
china2:~ # chkconfig --list|grep oracleasm
oracleasm 0:off 1:off 2:on 3:on 4:off 5:on 6:off
Configure ASMLIB using oracleasm command;
[root@china1 ~]# /etc/init.d/oracleasm configure
Create ASM DISKS using oracleasm command;
[root@china1 ~]# /etc/init.d/oracleasm createdisk