12c OCR corrupted results in CRS stack down.

1. check crsd.trc
2017-03-21 16:14:44.667838 :  CRSOCR:2580299264:  OCR context init failure.  Error: PROC-26: Error while accessing the physical storage Storage layer error [Insufficient quorum to open OCR devices] [0]
2017-03-21 16:14:44.668018 :    CRSD:2580299264:  Created alert : (:CRSD00111:) :  Could not init OCR, error: PROC-26: Error while accessing the physical storage Storage layer error [Insufficient quorum to open OCR devices] [0]
2017-03-21 16:14:44.668032 :    CRSD:2580299264: [PANIC] CRSD exiting: Could not init OCR, code: 26
2017-03-21 16:14:44.668078 :    CRSD:2580299264:  Done.

2. ocrcheck reported same problem.
[root@testdb01 ~]# ocrcheck
PROT-602: Failed to retrieve data from the cluster registry
PROC-26: Error while accessing the physical storage Storage layer error [Insufficient quorum to open OCR devices] [0]

3. check if there's any ocr backups.
[root@testdb01 ~]# cd /u01/app/12.1.0.2/grid/cdata/cluster-test07/
[root@testdb01 cluster-test07]# ll
total 25156
-rw-r--r-- 1 oracle oinstall 1687552 Feb 22 15:49 backup_20170222_154955.ocr
-rw-r--r-- 1 oracle oinstall 1712128 Feb 22 15:49 backup_20170222_154956.ocr
-rw-r--r-- 1 oracle oinstall 1863680 Mar  8 02:06 week.ocr
-rw-r--r-- 1 oracle oinstall 1863680 Mar 15 02:07 week_.ocr
-rw-r--r-- 1 oracle oinstall 1863680 Mar 19 02:07 day.ocr
-rw-r--r-- 1 oracle oinstall 1863680 Mar 20 02:07 day_.ocr
-rw-r--r-- 1 oracle oinstall 1863680 Mar 20 06:07 backup02.ocr
-rw-r--r-- 1 oracle oinstall 1863680 Mar 20 10:07 backup01.ocr
-rw-r--r-- 1 oracle oinstall 1863680 Mar 20 14:07 backup00.ocr
-rw-r--r-- 1 root   root     1859584 Mar 20 18:37 23219979.ocr
-rw-r--r-- 1 root   root     1863680 Mar 20 22:37 41104710.ocr
-rw-r--r-- 1 root   root     1863680 Mar 21 02:37 25823987.ocr
-rw-r--r-- 1 root   root     1863680 Mar 21 06:37 42138219.ocr
-rw-r--r-- 1 root   root     1863680 Mar 21 10:37 17919197.ocr
[root@testdb01 cluster-test07]# ls -lht
total 25M
-rw-r--r-- 1 root   root     1.8M Mar 21 10:37 17919197.ocr
-rw-r--r-- 1 root   root     1.8M Mar 21 06:37 42138219.ocr
-rw-r--r-- 1 root   root     1.8M Mar 21 02:37 25823987.ocr
-rw-r--r-- 1 root   root     1.8M Mar 20 22:37 41104710.ocr
-rw-r--r-- 1 root   root     1.8M Mar 20 18:37 23219979.ocr
-rw-r--r-- 1 oracle oinstall 1.8M Mar 20 14:07 backup00.ocr
-rw-r--r-- 1 oracle oinstall 1.8M Mar 20 10:07 backup01.ocr
-rw-r--r-- 1 oracle oinstall 1.8M Mar 20 06:07 backup02.ocr
-rw-r--r-- 1 oracle oinstall 1.8M Mar 20 02:07 day_.ocr
-rw-r--r-- 1 oracle oinstall 1.8M Mar 19 02:07 day.ocr
-rw-r--r-- 1 oracle oinstall 1.8M Mar 15 02:07 week_.ocr
-rw-r--r-- 1 oracle oinstall 1.8M Mar  8 02:06 week.ocr
-rw-r--r-- 1 oracle oinstall 1.7M Feb 22 15:49 backup_20170222_154956.ocr
-rw-r--r-- 1 oracle oinstall 1.7M Feb 22 15:49 backup_20170222_154955.ocr

4. restore OCR
[root@testdb01 cluster-test07]# ocrconfig -restore backup00.ocr
[root@testdb01 cluster-test07]# crsctl start res ora.crsd -init
CRS-2672: Attempting to start 'ora.crsd' on 'testdb01'
CRS-2676: Start of 'ora.crsd' on 'testdb01' succeeded
[root@testdb01 cluster-test07]# ocrcheck
Status of Oracle Cluster Registry is as follows :
         Version                  :          4
         Total space (kbytes)     :     409568
         Used space (kbytes)      :       1652
         Available space (kbytes) :     407916
         ID                       : 1368296587
         Device/File Name         :   +DBFS_DG
                                    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@testdb01 cluster-test07]# crsctl check cluster -all
**************************************************************
testdb01:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
test07db02:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
[root@testdb01 cluster-test07]# crsctl status res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details       
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.DATA_test07.dg
               ONLINE  ONLINE       testdb01                 STABLE
               ONLINE  ONLINE       test07db02                 STABLE
ora.DBFS_DG.dg
               ONLINE  ONLINE       testdb01                 STABLE
               ONLINE  ONLINE       test07db02                 STABLE
ora.LISTENER.lsnr
               OFFLINE OFFLINE      testdb01                 STABLE
               ONLINE  ONLINE       test07db02                 STABLE
ora.RECO_test07.dg
               ONLINE  ONLINE       testdb01                 STABLE
               ONLINE  ONLINE       test07db02                 STABLE
ora.asm
               ONLINE  ONLINE       testdb01                 Started,STABLE
               ONLINE  ONLINE       test07db02                 Started,STABLE
ora.net1.network
               ONLINE  ONLINE       testdb01                 STABLE
               ONLINE  ONLINE       test07db02                 STABLE
ora.ons
               ONLINE  ONLINE       testdb01                 STABLE
               ONLINE  ONLINE       test07db02                 STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       testdb01                 STABLE
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       test07db02                 STABLE
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       test07db02                 STABLE
ora.MGMTLSNR
      1        ONLINE  ONLINE       test07db02                 192.168.17.3 192.168
                                                             .17.4,STABLE
ora.cvu
      1        ONLINE  ONLINE       test07db02                 STABLE
ora.testdb01.vip
      1        ONLINE  ONLINE       testdb01                 STABLE
ora.test07db02.vip
      1        ONLINE  ONLINE       test07db02                 STABLE
ora.mgmtdb
      1        OFFLINE OFFLINE                               Instance Shutdown,ST
                                                             ABLE
ora.oc4j
      1        ONLINE  ONLINE       test07db02                 STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       testdb01                 STABLE
ora.scan2.vip
      1        ONLINE  ONLINE       test07db02                 STABLE
ora.scan3.vip
      1        ONLINE  ONLINE       test07db02                 STABLE
--------------------------------------------------------------------------------

12c OCR corrupted results in CRS stack down.的更多相关文章

  1. Downgrade ASM DATABASE_COMPATIBILITY (from 11.2.0.4.0 to 11.2.0.0.0) on 12C CRS stack.

    使用Onecommand完成快速Oracle 12c RAC部署后 发现ASM database compatibilty无法设置,默认为11.2.0.4.0. 由于我们还有些数据库低于这个版本,所以 ...

  2. 【RAC】运行root.sh的时候报错root.sh Oracle CRS stack is already configured and will be running under init(1M)

    环境:oracle10g 系统:CentOS6.4 开始的时候,在节点1上运行root.sh发现出现90s 的时候hang住了,结束掉,结局完事后,再次运行root.sh报错 WARNING: dir ...

  3. OCR 维护 crsd.log

    ###########sample 1 OCR corruption messages are reported in crsd.log, automatic OCR backup is failin ...

  4. 由于OCR文件损坏造成Oracle RAC不能启动的现象和处理方法

    v$cluster_interconnects 集群节点间通信使用的IP地址 错误信息 使用了公网进行连接 SQL> select * from v$cluster_interconnects; ...

  5. oracle已知会导致错误结果的bug列表(Bug Issues Known to cause Wrong Results)

    LAST UPDATE:     1 Dec 15, 2016 APPLIES TO:     1 2 3 4 Oracle Database - Enterprise Edition - Versi ...

  6. OCR/Vote disk 维护操作: (添加/删除/替换/移动) (文档 ID 1674859.1)

    适用于: Oracle Database - Enterprise Edition - 版本 10.2.0.1 到 11.2.0.1.0 [发行版 10.2 到 11.2]本文档所含信息适用于所有平台 ...

  7. 重新初始化RAC的OCR盘和Votedisk盘,修复RAC系统

    假设我们的RAC环境中OCR磁盘和votedisk磁盘全部被破坏,并且都没有备份,那么我们该如何恢复我们的RAC环境.最近简单的办法就是重新初始化我们的ocr盘和votedisk盘,把集群中的所有相关 ...

  8. OCR磁盘的导出和导入、备份和恢复以及移动(ocrconfig命令的应用)

    数据库版本:10.2.0.1 一,使用导出.导入进行备份和恢复 Oracle推荐在对集群做调整时,比如增加.删除节点之前,应该对OCR做一个备份,可以使用export 备份到指定文件.如果做了repl ...

  9. Oracle RAC OCR 的管理与维护

    OCR相当于Windows的注册表.对于Windows而言,所有的软件信息,用户,配置,安全等等统统都放到注册表里边.而集群呢,同样如此,所有和集群相关的资源,配置,节点,RAC数据库统统都放在这个仓 ...

随机推荐

  1. JVM性能优化

    java应用程序是应用在JVM上的,你们对JVM又有多少了解呢?JVM将内存分为三部分:NEW(年轻代).Tenured(年老代).Perm(永久代). (1)年轻代:用来存放java分配的新对象. ...

  2. qt creator源码全方面分析(3-2)

    目录 qtcreator.pri 判断重复包含 定义版本信息 VERSION 定义IDE名称 启用C++14 CONFIG 自定义函数 Replace Functions Test Functions ...

  3. vue中的自定义分页插件组件

    介绍一下,已经有很多的vue分页的组件了,大家都是大同小易,那么我就结合自身的使用,写出了一片文章 首先在新建一个分页模块 在模块中引入相应的代码,(内有详细的注释) template中 <di ...

  4. 关于org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.atguigu.crud.dao.DepartmentMapper.insertSelective的错误

    今天我在使用mybatis逆向工程的时候,由于一个疏忽字打错了..结果花了一早上才把错误找全..广大小伙伴们一定要小心啊(能复制粘贴就别手打) 关于org.apache.ibatis.binding. ...

  5. 论nw.js的坑~~~感觉我所有的前端能遇到的坑都踩了一遍

    先总结:nw.js 真特么的...难用...文档,我得先百度才能看的稍微明白点文档......!!!!!!我感觉我所有的前端能遇到的坑都踩了一遍,此文针对前后端分离项目,别的先不说 一.不需要在项目里 ...

  6. 神奇的 SQL 之扑朔迷离 → ON 和 WHERE,好多细节!

    开心一刻 楼主:心都让你吓出来了! 狮王:淡定,打个小喷嚏而已 前情回顾 神奇的 SQL 之 联表细节 → MySQL JOIN 的执行过程(一)中,我们讲到了 3 种联表算法:SNL.BNL 和 I ...

  7. 使用flask-dropzone 上传图片文件

    引用  http://greyli.com/flask-dropzone/ 现在需要上传图片文件的页面使用jijin2渲染,由于是使用flask-dropzone的,所以我们使用dropzone的cs ...

  8. 03-influxdb原理

    influxdb基本操作 1. influxdb与传统数据库区别 influxdb 传统数据库 database 数据库 measurement 表 points 表里的一行数据 2. 基本原理 2. ...

  9. C语言程序设计(六) 循环控制结构

    第六章 循环控制结构 循环结构:需要重复执行的操作 被重复执行的语句序列称为循环体 计数控制的循环 条件控制的循环 当型循环结构 直到型循环结构 for while do-while while(循环 ...

  10. plantUML最佳实践

    plantUML 使用plantUML中的活动图用来画流程图很好用; 但类图等就不很好用; 个人体会如下: • 时序图 推荐 • 用例图 一般 • 类 图 不推荐, 用Visual Paradigm或 ...