ASM中OCR所在磁盘组损坏后该怎么恢复
发表于:2026-11-02 作者:千家信息网编辑
千家信息网最后更新 2026年11月02日,ASM中OCR所在磁盘组损坏后该怎么恢复,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。How to restore ASM based
千家信息网最后更新 2026年11月02日ASM中OCR所在磁盘组损坏后该怎么恢复
ASM中OCR所在磁盘组损坏后该怎么恢复,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。
How to restore ASM based OCR after complete loss of the CRS diskgroup on Linux/Unix systems [ID 1062983.1]当OCR存于ASM且损坏时,不能直接恢复;因为ocrconfig -restore需要ASM处于运行状态才能执行成功,而OCR丢失又导致ASM无法启动,由此产生了悖论;对于11202,可采用如下方法应对:背景When using an ASM disk group for CRS there are typically 3 different types of files located in the disk group that potentially need to be restored/recreated:the Oracle Cluster Registry file (OCR)the Voting file(s)the shared SPFILE for the ASM instancesThe following example assumes that the OCR was located in a single disk group used exclusively for CRS. The disk group has just one disk using external redundancy.Since the CRS disk group has been lost the CRS stack will not be available on any node.如果将OCR恢复到新的磁盘组,还应修改/etc/oracle/ocr.loc文件This document assumes that the name of the OCR diskgroup remains unchanged, however there may be a need to use a different diskgroup name, in which case the name of the OCR diskgroup would have to be modified in /etc/oracle/ocr.loc across all nodes prior to executing the following steps.首先确定OCR存有备份,在跳过CRS的前提下启动clusterware,先后恢复OCR/voting diskOCR自动备份集可位于集群中任一节点,应逐个查找[oracle@justin ~]$ ocrconfig -showbackup
justin 2013/05/16 04:43:30 /orasw/app/11.2.0.3/grid/cdata/backup00.ocr
justin 2013/05/16 00:43:29 /orasw/app/11.2.0.3/grid/cdata/backup01.ocr
justin 2013/05/15 20:43:29 /orasw/app/11.2.0.3/grid/cdata/backup02.ocr
justin 2013/05/14 08:43:26 /orasw/app/11.2.0.3/grid/cdata/day.ocr
justin 2013/05/02 22:14:05 /orasw/app/11.2.0.3/grid/cdata/week.ocr
关闭所有GI服务# $CRS_HOME/bin/crsctl stop crs -f跳过CRS以排他方式启动GI# $CRS_HOME/bin/crsctl start crs -excl -nocrs CRS-4123: Oracle High Availability Services has been started....CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'auw2k3'CRS-2672: Attempting to start 'ora.ctssd' on 'racnode1'CRS-2676: Start of 'ora.drivers.acfs' on 'racnode1' succeededCRS-2676: Start of 'ora.ctssd' on 'racnode1' succeededCRS-2676: Start of 'ora.cluster_interconnect.haip' on 'racnode1' succeededCRS-2672: Attempting to start 'ora.asm' on 'racnode1'CRS-2676: Start of 'ora.asm' on 'racnode1' succeeded登陆ASM创建丢失的磁盘组,然后导入最新OCR备份SQL> create diskgroup CRS external redundancy disk 'ORCL:ASMD40' attribute 'COMPATIBLE.ASM' = '11.2';Diskgroup created.# cd $CRS_HOME/cdata/rac_cluster1/# $CRS_HOME/bin/ocrconfig -restore backup00.ocr重建voting disk# $CRS_HOME/bin/crsctl replace votedisk +CRSSuccessful addition of voting disk 00caa5b9c0f54f3abf5bd2a2609f09a9.Successfully replaced voting disk group with +CRS.CRS-4266: Voting file(s) successfully replaced关闭并重启CRS# $CRS_HOME/bin/crsctl stop crs -f...CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'auw2k3' has completedCRS-4133: Oracle High Availability Services has been stopped.# $CRS_HOME/bin/crsctl start crsCRS-4123: Oracle High Availability Services has been started.
看完上述内容,你们掌握ASM中OCR所在磁盘组损坏后该怎么恢复的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注行业资讯频道,感谢各位的阅读!
磁盘
备份
方法
所在
内容
更多
问题
成功
束手无策
为此
先后
前提
原因
对此
悖论
技能
文件
方式
状态
由此
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
咖啡
伟宏互联网科技
互联网是第几次科技革命的成果
互联网扶贫科技
易互联网科技有限公司
万易互联网科技
凡科互联网科技
朗涯互联网科技
南京欣网互联网科技
易通互联网络科技有限公司
广州善班互联网科技
互联网金融和金融科技
新华互联网科技2019
欧洲十大科技互联网公司
苏州铭阳互联网科技有限公司
洛阳昕诺飞互联网科技有限公司
想开互联网科技公司怎么样
工业互联网科技成果转化
同城互联网络科技
重庆科技产业互联网有哪些
互联网的科技
科技创新互联网企业
顺玮阁互联网科技
人人互联网科技是培训
互联网系的金融科技公司
武汉健翔互联网络科技有限公司
元气玛特互联网科技公司是外包吗
小米互联网科技园入驻
陕西彩京云互联网科技有限公司
互联网科技自媒体灵感