Monday , September 25 2017
Home / Oracle DBA / How To Adding Disk To The Existing Disk Groups in asm

How To Adding Disk To The Existing Disk Groups in asm

How to check Disk Group: 

[root@dbcentre2 ~]# xhost +
access control disabled, clients can connect from any host
[root@dbcentre2 ~]# su - grid
[grid@dbcentre2 ~]$ which asmca
/u01/app/grid/product/11.2.0/grid_home/bin/asmca
[grid@dbcentre2 ~]$ asmca
[grid@dbcentre2 ~]$ . oraenv
ORACLE_SID = [grid] ? +ASM
The Oracle base has been changed from /u01/app/grid/ to /u01/app/grid
[grid@dbcentre2 ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.2.0 Production on Sat Aug 5 18:24:39 2017
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
With the Automatic Storage Management option</pre>
SQL> show parameter instance_type

NAME                         TYPE          VALUE
---------------------- -----------     ------------------------------
instance_type             string                asm
<pre>


SQL> select NAME,STATE ,TYPE , COMPATIBILITY from v$asm_diskgroup;

NAME                                STATE                   TYPE                   COMPATIBIL
-------------------------      -----------                 ------                   ----------
ASM_SPF_DATA                     MOUNTED                    EXTERN                     11.2.0.0.0
ASM_DG_DATA                       MOUNTED                   EXTERN                     11.2.0.0.0

>> To Check Disk Relation Information :


SQL> select DISK_NUMBER ,MOUNT_STATUS ,HEADER_STATUS,REDUNDANCY,NAME from v$asm_disk;

>> How  to Adding Disk to the Existing Groups by using ” asmca”

[root@dbcentre2 ~]# xhost +
access control disabled, clients can connect from any host
[root@dbcentre2 ~]# su – grid
[grid@dbcentre2 ~]$ which asmca
/u01/app/grid/product/11.2.0/grid_home/bin/asmca
[grid@dbcentre2 ~]$ asmca

>> Press ENTER.

>> Here  we have Two Existing  Disk Groups .

>> Ensure select  ASM_DG_DATA . 

>> Press  mouse Right button .

>> Click  add disks.

>> Ensure  Select  ORCL:VOL2 disk 

>> Click on OK.

>> Here Successfully disk added to the Disk Group  ASM_DG_DATA .

>> Click on  OK.

>> click on YES.

>> Now  Check  Added Disk  to the Existing Group or Not:

Creating a manually disk group:

>> Manually Creating a Disk Group ASM_DG_FRA .

>>  Manually Adding a Disk from Existing Disk Group and  To  check the Disk are Adding or Not:

>> Manually Dropping A disk from Existing  Disk Group:

 

 

Comments

comments

Check Also

Dataguard

How to Configure Oracle Dataguard in Oracle 11g

Dataguard is known as replicating the data from one server to another server,here i am …

Leave a Reply

Your email address will not be published. Required fields are marked *