Sunday, March 26, 2017

To validate the ASM Instances and diskgroups on a RAC Cluster in absence of CRS

To confirm & validate the ASM instances and diskgroups are in good shape (ASM instances start and diskgroups are mounted) when CRS does not start, we'll perform the below steps and will bypass CRS.

1) Shutdown CRS on all the nodes:

# crsctl stop crs

2) Then start the clusterware in exclusive mode on node #1:

# crsctl start crs -excl -nocrs

Note: On release 11.2.0.1, you need to use the next command:

# crsctl start crs -excl

3) Connect to the +ASM1 instance and then make sure all the diskgroups are mounted:

SQL> select name, state from v$asm_diskgroup;

NAME                           STATE
------------------------------ -----------
DATA                           DISMOUNTED
VOS                             MOUNTED
NORM1                        DISMOUNTED

4) If not, then mount them :

SQL> alter diskgroup DATA mount;

Diskgroup altered.

SQL> alter diskgroup NORM1 mount;

Diskgroup altered.

SQL> select name, state from v$asm_diskgroup;

NAME                           STATE
------------------------------ -----------
DATA                            MOUNTED
VOS                              MOUNTED
NORM1                          MOUNTED

5) Then shutdown the clusterware on node #1:

# crsctl stop crs -f

Will repeat same steps on other nodes as well.

6) Now, start  the the clusterware in exclusive mode on node #2:

# crsctl start crs -excl -nocrs


Note: On release 11.2.0.1, you need to use the next command:

# crsctl start crs -excl

7) Connect to the +ASM1 instance and then make sure all the diskgroups are mounted:

SQL> select name, state from v$asm_diskgroup;

NAME                           STATE
------------------------------ -----------
DATA                           DISMOUNTED
VOS                            MOUNTED
NORM1                        DISMOUNTED

8) If not, then mount them:

SQL> alter diskgroup DATA MOUNT;

Diskgroup altered.

SQL> alter diskgroup NORM1 mount;

Diskgroup altered.

SQL> select name, state from v$asm_diskgroup;

NAME                           STATE
------------------------------ -----------
DATA                           MOUNTED
VOS                            MOUNTED
NORM1                        MOUNTED

9) Then shutdown the clusterware on node #2:

# crsctl stop crs -f



10) Repeat the same steps on the additional nodes.

No comments:

Post a Comment