设为首页 加入收藏

TOP

如何恢复损坏的表决磁盘(votedisk)和OCR(三)
2014-11-24 01:33:35 来源: 作者: 【 】 浏览:32
Tags:如何 恢复 损坏 表决 磁盘 votedisk OCR
'rac-two' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'rac-two' CRS-2676: Start of 'ora.gpnpd' on 'rac-two' succeeded CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac-two' CRS-2672: Attempting to start 'ora.gipcd' on 'rac-two' CRS-2676: Start of 'ora.cssdmonitor' on 'rac-two' succeeded CRS-2676: Start of 'ora.gipcd' on 'rac-two' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'rac-two' CRS-2672: Attempting to start 'ora.diskmon' on 'rac-two' CRS-2676: Start of 'ora.diskmon' on 'rac-two' succeeded CRS-2676: Start of 'ora.cssd' on 'rac-two' succeeded CRS-2672: Attempting to start 'ora.drivers.acfs' on 'rac-two' CRS-2679: Attempting to clean 'ora.cluster_interconnect.haip' on 'rac-two' CRS-2672: Attempting to start 'ora.ctssd' on 'rac-two' CRS-2681: Clean of 'ora.cluster_interconnect.haip' on 'rac-two' succeeded CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'rac-two' CRS-2676: Start of 'ora.drivers.acfs' on 'rac-two' succeeded CRS-2676: Start of 'ora.ctssd' on 'rac-two' succeeded CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'rac-two' succeeded CRS-2672: Attempting to start 'ora.asm' on 'rac-two' CRS-2676: Start of 'ora.asm' on 'rac-two' succeeded

创建磁盘组:

[root@rac-two bin]# su - grid
[grid@rac-two ~]$ sqlplus / as sysasm

SQL*Plus: Release 11.2.0.4.0 Production on Fri Mar 28 00:01:05 2014

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL> create diskgroup gidg normal redundancy
  2  disk '/dev/asm-diske','/dev/asm-diskd','/dev/asm-diskc' attribute 'au_size'='1M','compatible.asm'='11.2','compatible.rdbms'='11.2','compatible.advm'='11.2';

Diskgroup created.

SQL> select name,state from v$asm_diskgroup;

NAME                           STATE
------------------------------ -----------
DATADG                         DISMOUNTED
TESTDG                         DISMOUNTED
GIDG                           MOUNTED

SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
[grid@rac-two ~]$ exit


首先要恢复的是ocr

[root@rac-two bin]# ./ocrconfig -restore /u01/app/11.2.0/grid/cdata/rac-two-cluster/backup00.ocr
[root@rac-two 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                       :  152256349
         Device/File Name         :      +GIDG
                                    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


恢复votedisk:

[root@rac-two bin]# ./crsctl query css votedisk
Located 0 voting disk(s).
[root@rac-two bin]# ./crsctl replace votedisk +GIDG
CRS-4602: Failed 27 to add voting file 58c5df27b4884f70bfb38fc4c93b8f72.
CRS-4602: Failed 27 to add voting file 51caa3f834964f5abf6efcfb90476d85.
CRS-4602: Failed 27 to add voting file 92b70ca3ea5d4f80bf9df66a8e975ba9.
Failed to replace voting disk group with +GIDG.
CRS-4000: Command Replace failed, or completed with errors.

提示失败,需要重启crs资源。

[root@rac-two bin]# ./crsctl stop crs
CRS-2791: Starting shutdown of Oracle High Availability Services-managed r
首页 上一页 1 2 3 4 5 6 下一页 尾页 3/6/6
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇AIX使用LV创建ASM磁盘组 下一篇如何重命名asm中的磁盘组

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: