Skip to Main Content
  • Questions
  • How to Restore ASM Based OCR After Complete Loss of the CRS Diskgroup on Linux/Unix Systems for the 18.c version

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Daniel.

Asked: May 20, 2020 - 7:42 am UTC

Last updated: May 22, 2020 - 1:04 am UTC

Version: 18c

Viewed 1000+ times

You Asked

I have seen tho note:
"How to Restore ASM Based OCR After Complete Loss of the CRS Diskgroup on Linux/Unix Systems (Doc ID 1062983.1)"

This note:
"APPLIES TO:
Oracle Database - Enterprise Edition - Version 11.2.0.1.0 and later"

In the step 5 the note said: "Create the CRS diskgroup via sqlplus" but i have a backup of ASM configurationdone whit:
asmcmd spbackup
asmcmd pwcopy
asmcmd md_backup

Should i recreate the disk group or recover this backup?

I think that the process for recover the ASM instance is:
Restoring pw:
pwcopy --asm /.../pw_asm.backup  +rac18_ocr/orapwASM


Restoring server parameter file:
spcopy -u /.../spfileCopyASM.ora dest

I can get dest from:
$ORACLE_HOME/gpnp/itauc4603a/profiles/peer/profile.xml
SPFile="+RAC18_OCR/rac-exp/ASMPARAMETERFILE/registry.253.1002277713"

Restore disk configuration:
md_restore –-full –G data –-silent /.../md_backup


Is this process correct for recover ASM instance?

if we modify this part, is the complete process correct for the 18C version?

Thans for your attention.

and Connor said...

You want to use the more up to date MOS note 2569847.1. It covers 12.2 and beyond, but in a nutshell

ocrconfig -showbackup

If ASM can be started and the OCR disk group mounted, then

ocrconfig -restore +OCR_BKP:/<cluster name>/OCRBACKUP/backup00.ocr.260.991346585

If not, then

amdu -diskstring '<asm diskstring>' -extract <file name to extract>

Then you can follow the original instructions in 1062983.1



Is this answer out of date? If it is, please let us know via a Comment

More to Explore

Administration

Need more information on Administration? Check out the Administrators guide for the Oracle Database