My Oracle Support Banner

12c:'ocrconfig showbackuploc' does not include subdir <CLUSTER_NAME> (Doc ID 2261004.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 to 12.2.0.1 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Symptoms

On an upgraded Grid Infrastructure environment(12.1.0.12) from 11.2.0.4 or newly installed cluster in 12.1.0.2, the output of “ocrconfig –showbackuploc” command truncates the last sub directory.  For example, the OCR backups are stored in /u01/app/12.1.0.2/grid/cdata/dba-cl3:

But, we see this truncated output with a missing last subdirectory (dba-cl3, in this case):

ocrconfig -showbackuploc
The Oracle Cluster Registry backup location is [/u01/app/12.1.0.2/grid/cdata/]

While,on one 12.1 cluster, when we set the OCR backup location manually, we see the FULL path:

ocrconfig -backuploc /u01/app/12.1.0.2/grid/cdata/DBA-CL1
ocrconfig -showbackuploc
The Oracle Cluster Registry backup location is [/u01/app/12.1.0.2/grid/cdata/DBA-CL1]

The output from “ocrconfig –showbackuploc” is not consistent.

But at the same time,ocrconfig –local -showbackuploc’ shows the FULL (correct) path of the OLR backup location everywhere, for example:

ocrconfig -local -showbackuploc
The Oracle Local Registry backup location is [/u01/app/12.1.0.2/grid/cdata/btdu21]

 

Changes

Basically, on all the grid infrastructure (new or upgraded) shows OCR backup location truncated, except for the one on which we run “orconfig –backuploc”; this one shows a full path.

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
Changes
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.