Monday, June 10, 2013

Add another ASM diskgroup for OCR and voting disks.


During the installation of 11gr2 Grid Infrastructure. Oracle will ask for a ASM diskgroup to store OCR and voting disk


$ ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          3
         Total space (kbytes)     :     262120
         Used space (kbytes)      :       2760
         Available space (kbytes) :     259360
         ID                       : 2003410762
         Device/File Name         : +OCR_VOTING1
                                    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 bypassed due to non-privileged user


$ crsctl query css votedisk
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   8a1dd0786a194fefbf40b91e857093d4 (ORCL:OCRVOTED01) [OCR_VOTING1]
 2. ONLINE   1f00a1ae71424fb7bfa53b99c07c4e17 (ORCL:OCRVOTED02) [OCR_VOTING1]
 3. ONLINE   94336ab660584f87bf66e4abbca6f537 (ORCL:OCRVOTED03) [OCR_VOTING1]

It is recommended by Oracle to add another loation for OCR and voting disks

1, Create a new asm diskgroup named as OCR_VOTING2

2, Add an OCR location to the new asm diskgroup
/u01/app/grid/11.2.0.3/bin/ocrconfig -add +OCR_VOTING2

3, Verify

$ ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          3
         Total space (kbytes)     :     262120
         Used space (kbytes)      :       2776
         Available space (kbytes) :     259344
         ID                       : 2003410762
         Device/File Name         : +OCR_VOTING1
                                    Device/File integrity check succeeded
         Device/File Name         : +OCR_VOTING2
                                    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

No comments:

Post a Comment