Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Author: Joshua Ehiguese

Date: July 25th - 2014


Title: Steps to create OCR Mirror

Document Change Control.


Revisio
Date
Author
n

Description of change

1.0

Document Creation.

2014-07-25

Joshua Ehiguese

Step 1
Run ocrcheck and indentify the location of the ocr and if any mirrors. As shown below there is only one file with no
mirrors.

/oracle/grid/product/12.1.0.1_grid/bin/ocrcheck
[grid@rac1 ~]$ sudo /oracle/grid/product/12.1.0.1_grid/bin/ocrcheck
Status of Oracle Cluster Registry is as follows :
Version
:
4
Total space (kbytes) : 409568
Used space (kbytes) :
1596
Available space (kbytes) : 407972
ID
: 895860417
Device/File Name
:
+DATA
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check succeeded
[grid@rac1 ~]$ [grid@rac1 ~]$ cat /etc/oracle/ocr.loc
ocrconfig_loc=+DATA
local_only=FALSE
[grid@rac1 ~]$

Step 2
Add OCR mirror on the required diskgroup as shown below using +FRA diskgroup.
Below show the available diskgroups
[grid@rac1 ~]$ asmcmd -p
ASMCMD [+] > ls
DATA/
FRA/
ASMCMD [+] >
Create OCR mirror and check the new mirror

[grid@rac1 ~]$ sudo /oracle/grid/product/12.1.0.1_grid/bin/ocrconfig -add +FRA


[grid@rac1 ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version
:
4
Total space (kbytes) : 409568
Used space (kbytes) :
1596
Available space (kbytes) : 407972
ID
: 895860417
Device/File Name
:
+DATA
Device/File integrity check succeeded
Device/File Name
:
+FRA
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check bypassed due to non-privileged user

[grid@rac1 ~]$ [grid@rac1 ~]$ cat /etc/oracle/ocr.loc


#Device/file getting replaced by device +FRA
ocrconfig_loc=+DATA
ocrmirrorconfig_loc=+FRA
local_only=false[grid@rac1 ~]$
Top of Document

You might also like