How to Re-configure Asm DiskGroup

One ASM DISK GROUP contains all of the available disks of the server. Need to re-configure the current DISK GROUP to break it down into three different ASM disk groups.

注意事项:

1). A DISK GROUP with single disk is possible only if the redundancy of diskgroup is EXTERNAL.
2). We can n't change the redundancy of a diskgroup once it is created
3). By using external redundancy we are depending on external mechanisms (like RAID) for fault tolerance.



操作步骤:
1) Check the redundancy of diskgroup and Identify the group number.
2) Identify the physical disk names.
3) Drop the identified disks from existing diskgroup.
4) Create new diskgroups.

具体操作如下:

1) Check the redundancy of diskgroup and Identify the group number.

ASM:SQL>SELECT GROUP_NUMBER,TYPE FROM V$ASM_DISKGROUP WHERE NAME='DATA';

GROUP_NUMBER TYPE
------------ -------
1 EXTERN

(Here EXTERN indicates the Diskgroup DATA is created with redundancy external).


2) Identify the DISK Name and Path.

ASM:SQL > SELECT NAME,PATH FROM V$ASM_DISK WHERE GROUP_NUMBER=1

NAME PATH
----------- ----------
DATA_0001 /dev/raw/raw1
DATA_0002 /dev/raw/raw2
DATA_0003 /dev/raw/raw3


3) Drop the identified disks from existing diskgroup.

ASM:SQL> ALTER DISKGROUP DATA DROP DISK DATA_0002
ASM:SQL> ALTER DISKGROUP DATA DROP DISK DATA_0003

4) Create new two diskgroups.

create diskgroup DATA_A external redundancy disk '/dev/raw/raw1'
create diskgroup DATA_B external redundancy disk '/dev/raw/raw2'

Note: The steps provided here assume that there is a disk group DATA with external redundancy contains three disks. This need to be break down to three seperate diskgroups. We depend on external redundancy when the defined disks have some external means for fault tolerence(eg RAID),ie Oracle will not do any mirroring for these diskgroups

From Oracle

-------------------------------------------------------------------------------------------------------

Blog http://blog.youkuaiyun.com/tianlesoftware

Email: dvd.dba@gmail.com

DBA1 群:62697716(); DBA2 群:62697977() DBA3 群:62697850()

DBA 超级群:63306533(); DBA4 群: 83829929 DBA5群: 142216823

聊天 群:40132017 聊天2群:69087192

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值