Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to recover after the disk group of OCR in ASM is damaged

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

It is believed that many inexperienced people are at a loss about how to recover after the disk group of OCR in ASM is damaged. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

How to restore ASM based OCR after complete loss of the CRS diskgroup on Linux/Unix systems [ID 1062983.1] when the OCR is stored in ASM and is damaged, it cannot be recovered directly; because ocrconfig-restore requires the ASM to be running to execute successfully, and the loss of OCR causes the ASM to fail to start, thus giving rise to the paradox For 11202, the following methods can be used: background 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. If you restore OCR to a new disk group, you should also modify the / etc/oracle/ocr.loc files 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. First, make sure that OCR has a backup, start clusterware on the premise of skipping CRS, and then restore the automatic backup set of OCR/voting diskOCR, which can be located at any node in the cluster. Look for [oracle@justin ~] $ocrconfig-showbackupjustin 04:43:30 on 2013-05-16 / orasw/app/11.2.0.3/grid/cdata/backup00.ocrjustin 00:43:29 on 2013-05-16 / orasw/app/11.2.0.3/grid/cdata/backup01.ocrjustin 20:43:29 on 2013-05-15 / orasw/app/11.2.0.3/grid/cdata/backup02.ocrjustin 2013 one by one / 05CRS 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 shuts down all GI services # $CRS_HOME/bin/crsctl stop crs-f skips CRS to launch GI# $CRS_HOME/bin/crsctl start crs-excl-nocrs CRS-4123: Oracle High Availability Services has been started exclusive .. 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 logged in to create a missing disk group Then import the latest OCR backup 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 rebuild 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 close and restart 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. After reading the above, have you mastered the method of how to recover after the disk group of OCR in ASM is damaged? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report