ASM中OCR所在磁盘组损坏后该怎么恢复
发表于:2025-11-10 作者:千家信息网编辑
千家信息网最后更新 2025年11月10日,ASM中OCR所在磁盘组损坏后该怎么恢复,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。How to restore ASM based
千家信息网最后更新 2025年11月10日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安全错误
数据库的锁怎样保障安全
网络技术的考题
ad域数据库
网络安全攻防演练7剑四式
黑龙江app软件开发
跃图服务器机柜
系统管理不能登录到服务器
软件开发是个青春饭吗
301到服务器ip权重
oauth 服务器开发
软件开发企业股权结构零散
超融合服务器和esxi集群
数据库 物理设计
现在做数据库好吗
江岸软件开发推荐
国内最好的云服务器
日本2018网络安全战略
kodi扫描电影数据库
电脑服务器算管理费还是销售
小区人脸大数据库
互联网平安科技集团有限公司
阿里云ecs服务器带公网ip吗
服务器虚拟机软件
高德红外软件开发怎么样
域名解析与服务器有什么关系
数据库 提供程序
android+数据库安全
国内最好的云服务器
梧州学院软件开发中心助研员
dhcp服务器接通失败
寒武纪系统软件开发面试