添加磁盘存储OCR数据

1.查看OCR
[root@rac1 bin]# ./ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          3
         Total space (kbytes)     :     262120
         Used space (kbytes)      :       3472
         Available space (kbytes) :     258648
         ID                       :  304339537
         Device/File Name         :       +OCR
                                    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
2.查看磁盘组状态
SQL> select v1.name, v2.failgroup, v2.failgroup_type, v2.total_mb, v2.free_mb from
  2    v$asm_diskgroup v1, v$asm_disk v2
  3      where v1.group_number = v2.group_number
  4        and v1.name = upper('ocr_data');

NAME       FAILGROUP                      FAILGRO   TOTAL_MB    FREE_MB
---------- ------------------------------ ------- ---------- ----------
OCR_DATA   FG2                            REGULAR       5120       5035
OCR_DATA   FG1                            REGULAR       5120       5035
OCR_DATA   FG3                            QUORUM        5120       5086
3.添加磁盘组
[root@rac1 bin]# ./ocrconfig -add +OCR_DATA
[root@rac1 bin]# ./ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          3
         Total space (kbytes)     :     262120
         Used space (kbytes)      :       3468
         Available space (kbytes) :     258652
         ID                       :  304339537
         Device/File Name         :       +OCR
                                    Device/File integrity check succeeded
         Device/File Name         :  +OCR_DATA
                                    Device/File integrity check succeeded

你可能感兴趣的:(添加磁盘存储OCR数据)