How to Copy and Multiplex Oracle OCR into Different Disk Group

[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

No comments:

Post a Comment