My Oracle Support Banner

[RAC] AddNode.sh Produce Error Output 'Failed to Create OCR Disk group' (Doc ID 2826137.1)

Last updated on JANUARY 11, 2022

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

Post AddNode.sh produce below error output to add new nodes into existing cluster

After add node.sh and executing root.sh failing to create OCR DiskGroup. Which is not expected.

Normal case when deconfig and config steps executed in 2nd node , it will not create OCR Disk group or so .

[root@node2 ~]# /u01/app/grid/11.2.0/root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/grid/11.2.0

Enter the full pathname of the local bin directory: [/usr/local/bi
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/grid/11.2.0/crs/insta
User ignored Prerequisites during installation
CRS-2672: Attempting to start 'ora.cssd' on 'racnode2'
CRS-2672: Attempting to start 'ora.diskmon' on 'racnode2'
CRS-2676: Start of 'ora.diskmon' on 'racnode2' succeeded
CRS-2676: Start of 'ora.cssd' on 'racnode2' succeeded
CRS-2679: Attempting to clean 'ora.cluster_interconnect.haip' on 'racnode2'
CRS-2672: Attempting to start 'ora.ctssd' on 'racnode2'
CRS-2681: Clean of 'ora.cluster_interconnect.haip' on 'racnode2' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'racnode2'
CRS-2676: Start of 'ora.ctssd' on 'racnode2' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'racnode2'
CRS-2676: Start of 'ora.evmd' on 'racnode2' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'racnode2' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'racnode2'
CRS-2676: Start of 'ora.asm' on 'racnode2' succeeded

Disk Group OCR1 creation failed with the following message:  >>>>>>>>>>>>>>>>>>>
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification 'ORCL:OCR15' matches no disks
ORA-15031: disk specification 'ORCL:OCR14' matches no disks
ORA-15031: disk specification 'ORCL:OCR13' matches no disks
ORA-15031: disk specification 'ORCL:OCR12' matches no disks
ORA-15031: disk specification 'ORCL:OCR11' matches no disks

Configuration of ASM ... failed
see asmca logs at /u01/app/oracle/cfgtoollogs/asmca for details
Did not succssfully configure and start ASM at /u01/app/grid/11.2.0/crs/install/crsconfig_lib.pm line 6763.
/u01/app/grid/11.2.0/perl/bin/perl -I/u01/app/grid/11.2.0/perl/lib -I/u01/app/grid/11.2.0/crs/install /u01/app/grid/11.2.0/crs/install/rootcrs.pl execution failed

 

In this case it is trying to create OCR disk group and is failing with below message.

[main] [ 2021-11-08 11:10:30.133 MYT ] [UsmcaLogger.logException:173] SEVERE:method oracle.sysman.assistants.usmca.backend.USMDiskGroupManager:createDiskGroups
[main] [ 2021-11-08 11:10:30.134 MYT ] [UsmcaLogger.logException:174] ORA-15018: diskgroup cannot be created
ORA-15031: disk specification 'ORCL:OCR15' matches no disks
ORA-15031: disk specification 'ORCL:OCR14' matches no disks
ORA-15031: disk specification 'ORCL:OCR12' matches no disks
ORA-15031: disk specification 'ORCL:OCR13' matches no disks
ORA-15031: disk specification 'ORCL:OCR11' matches no disks

..................
[main] [ 2021-11-08 11:10:30.134 MYT ] [UsmcaLogger.logException:175] oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-15018: diskgroup cannot be created
ORA-15031: disk specification 'ORCL:OCR15' matches no disks
ORA-15031: disk specification 'ORCL:OCR14' matches no disks
ORA-15031: disk specification 'ORCL:OCR12' matches no disks
ORA-15031: disk specification 'ORCL:OCR13' matches no disks
ORA-15031: disk specification 'ORCL:OCR11' matches no disks

oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1658)
oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeSql(SQLEngine.java:1925)
oracle.sysman.assistants.usmca.backend.USMDiskGroupManager.createDiskGroups(USMDiskGroupManager.java:239)
oracle.sysman.assistants.usmca.backend.USMDiskGroupManager.createDiskGroups(USMDiskGroupManager.java:124)
oracle.sysman.assistants.usmca.backend.USMDiskGroupManager.createDiskGroupsLocal(USMDiskGroupManager.java:2212)
oracle.sysman.assistants.usmca.backend.USMInstance.configureLocalASM(USMInstance.java:3069)
oracle.sysman.assistants.usmca.service.UsmcaService.configureLocalASM(UsmcaService.java:1049)
oracle.sysman.assistants.usmca.model.UsmcaModel.performConfigureLocalASM(UsmcaModel.java:944)
oracle.sysman.assistants.usmca.model.UsmcaModel.performOperation(UsmcaModel.java:797)
oracle.sysman.assistants.usmca.Usmca.execute(Usmca.java:174)
oracle.sysman.assistants.usmca.Usmca.main(Usmca.java:369)

# strace -t -f -o /tmp/strace_rootsh.txt /u01/app/grid/11.2.0/root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/grid/11.2.0

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/grid/11.2.0/crs/install/crsconfig_params
User ignored Prerequisites during installation
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'racnode2'
CRS-2676: Start of 'ora.cssdmonitor' on 'racnode2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'racnode2'
CRS-2672: Attempting to start 'ora.diskmon' on 'racnode2'
CRS-2676: Start of 'ora.diskmon' on 'racnode2' succeeded
CRS-2676: Start of 'ora.cssd' on 'racnode2' succeeded

Mounting Disk Group OCR1 failed with the following message:
ORA-15032: not all alterations performed
ORA-15017: diskgroup "OCR1" cannot be mounted
ORA-15003: diskgroup "OCR1" already mounted in another lock name space

Configuration of ASM ... failed
see asmca logs at /u01/app/oracle/cfgtoollogs/asmca for details
Did not succssfully configure and start ASM at /u01/app/grid/11.2.0/crs/install/crsconfig_lib.pm line 6763.
/u01/app/grid/11.2.0/perl/bin/perl -I/u01/app/grid/11.2.0/perl/lib -I/u01/app/grid/11.2.0/crs/install /u01/app/grid/11.2.0/crs/install/rootcrs.pl execution failed

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.