How to Copy and Multiplex Oracle OCR into Different Disk Group

advertisements

_____________________________________________________________________________________________________________________

The Eucharistic Miracles of the World
[root@]# ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          4
         Total space (kbytes)     :     409568
         Used space (kbytes)      :       1712
         Available space (kbytes) :     407856

         ID                       : 1914186779
         Device/File Name         :   +OCRVOTE
                                    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

[root@]# oracleasm listdisks
DATA
DATA_T2
OCRVOTE

Copy the ocr to different disk group using following command.

[root@]# ocrconfig -add +DATA_T2
advertisements
 
Verify the copy/multiplex worked fine or not using ocrcheck command again.

[root@]# ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          4
         Total space (kbytes)     :     409568
         Used space (kbytes)      :       1712
         Available space (kbytes) :     407856
         ID                       : 1914186779
         Device/File Name         :   +OCRVOTE
                                    Device/File integrity check succeeded
         Device/File Name         :   +DATA_T2
                                    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 succeeded

[root@]#  cat /etc/oracle/ocr.loc
#Device/file  getting replaced by device +DATA_T2/UAT01-CLUSTER/OCRFILE/registry.255.943158677
ocrconfig_loc=+OCRVOTE/UAT01-CLUSTER/OCRFILE/registry.255.920778331

ocrmirrorconfig_loc=+DATA_T2/UAT01-CLUSTER/OCRFILE/registry.255.943158677

_____________________________________________________________________________________________________________________

Website Stats

0 comments:

Post a Comment

Labels

Oracle (629) Script (86) General (77) Unix (47) Blog (23) Technology (19) gadget (6) games (6) Business (3) OCI (3) SQL* Loader (3) Datapump (2)
 

acehints.com Copyright 2011-23 All Rights Reserved | Site Map | Contact | Disclaimer