Thursday, July 25, 2013

ORACLE - OCR & Voting Disk

Check OCR location and status:

ocrcheck Status of Oracle Cluster Registry is as follows :
         Version                  :          3
         Total space (kbytes)     :     516620
         Used space (kbytes)      :      156652
         Available space (kbytes) :     506468
         ID                       :   88678969
         Device/File Name         : +JD01
                                    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

Another way to check ocr disk:
# cat /etc/oracle/ocr.loc

ocrconfig_loc=+JD01
local_only=false

# ocrconfig -showbackup
# ocrconfig -manualbackup
# ocrconfig -add +NEWOCRVOTE1 (new Diskgroup)
# ocrconfig -delete +OLDOCRVOTE2 (Old Diskgroup)


Check Vote disk status and location:

crsctl query css votedisk ##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
1. ONLINE   6f97g53306844f79bt2f3cf2c5576d5d (/dev/mapper/VOTE01p1) 
2. ONLINE   a69f08d9b6c54f95bt7eab415ba06510 (/dev/mapper/VOTE02p1) 
3. ONLINE   9c48gd75bcc64fe6bt0e3fe44c6d0852 (/dev/mapper/VOTE03p1) 
Located 3 voting disk(s).

# crsctl replace votedisk +NEWOCRVOTE1  (move voting disk)

No comments:

Post a Comment