ASM best practice to add disk



Here are ASM best practice to add disk which should be always use to manipulate the ASM disks
0) First check the newly added disk is visible in ASM  disksselect header_status,path from v$asm_disk where path= ”;
It should show candidate .1) Create a new temporary diskgroup:
CREATE DISKGROUP TEST_DISK EXTERNAL REDUNDANCY DISK ”;

2) Check if the diskgroup is created and mounted:
SELECT STATE, NAME FROM V$ASM_DISKGROUP;

6) If RAC , then manually mount it on the other ASM instance(s):

ALTER DISKGROUP TEST_DISK MOUNT; SELECT STATE, NAME FROM V$ASM_DISKGROUP;

7) If the previous steps had success and the TEST diskgroup can be successfully mounted (on each ASM instance), then drop the TEST_DISK diskgroup as follow:
alter diskgroup test_disk dismount; –(from all the ASM instances, except from one).
DROP DISKGROUP TEST; –(from the ASM instance, which the diskgroup is still mounted).

8) Now again check the status of the disk
select header_status,path from v$asm_disk where path= ”;
It should show Former

9) Then the candidate disk is ready to be added to the desired diskgroup:
ALTER DISKGROUP ADD DISK ”;

10) Check the rebalance in ASM using

select * from v$asm_operation;

Related Articles

Top 46 Oracle ASM Interview Questions

How ASM Failure Groups and CSS provides high availability

15 Awesome Oracle ASM Queries every DBA must know

ASM: Lesson 1: Introduction

ASM : Lesson -2 How to prepare the ASM disks

ASM : Lesson 3 ASM Diskgroups

HOW AUTOMATIC STORAGE MANAGEMENT WORKS




Leave a Reply