Oracle ASM

[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
                



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值