ASM中OCR所在磁盘组损坏后该怎么恢复

网友投稿 291 2023-12-18

ASM中OCR所在磁盘组损坏后该怎么恢复

ASM中OCR所在磁盘组损坏后该怎么恢复,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。

How torestore 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 offiles locatedin the disk group that potentially need to be restored/recreated: the OracleCluster Registryfile (OCR) the Voting file(s) the shared SPFILE for the ASM instances The 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 grouphas been lost the CRS stack willnot 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 usea differentdiskgroup namein which case the name of the OCR diskgroup would have to be modified in /etc/oracle/ocr.loc acrossall nodes prior to executing the followingsteps. 首先确定OCR存有备份,在跳过CRS的前提下启动clusterware,先后恢复OCR/voting disk OCR自动备份集可位于集群中任一节点,应逐个查找 [oracle@justin ~]$ ocrconfig -showbackupjustin     2013/05/16 04:43:30     /orasw/app/11.2.0.3/grid/cdata/backup00.ocrjustin     2013/05/16 00:43:29     /orasw/app/11.2.0.3/grid/cdata/backup01.ocrjustin     2013/05/15 20:43:29     /orasw/app/11.2.0.3/grid/cdata/backup02.ocrjustin     2013/05/14 08:43:26     /orasw/app/11.2.0.3/grid/cdata/day.ocrjustin     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 tostart ora.cluster_interconnect.haip on auw2k3 CRS-2672: Attempting to start ora.ctssd on racnode1 CRS-2676Start of ora.drivers.acfs on racnode1 succeeded CRS-2676Start of ora.ctssd on racnode1 succeeded CRS-2676Start of ora.cluster_interconnect.haip on racnode1 succeeded CRS-2672: Attempting to start ora.asm on racnode1 CRS-2676Start of ora.asm on racnode1succeeded 登陆ASM创建丢失的磁盘组,然后导入最新OCR备份SQLcreate 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 groupwith+CRS. CRS-4266: Voting file(s) successfully replaced 关闭并重启CRS # $CRS_HOME/bin/crsctl stop crs -f... CRS-2793Shutdown of Oracle High Availability Services-managed resources on auw2k3has completed CRS-4133Oracle High Availability Services has been stopped. # $CRS_HOME/bin/crsctl start crs CRS-4123Oracle High Availability Services has been started.

ASM中OCR所在磁盘组损坏后该怎么恢复

看完上述内容,你们掌握ASM中OCR所在磁盘组损坏后该怎么恢复的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注行业资讯频道,感谢各位的阅读!

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:ATS调用含nickname存储过程出错的解决方法
下一篇:AS400处理数据高效率的几个原因分别是什么
相关文章

 发表评论

暂时没有评论,来抢沙发吧~