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

Recovery of OCR, using physical backup

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

Share

Shulou(Shulou.com)06/01 Report--

*******************************

Recovery using OCR physical backup:

Use physical backups of OCR files to restore OCR files to disk groups:

First, find out which host the backup is on, assuming node1.

/u01/app/11.2.0/grid/bin/ocrconfig -showbackup manual

Stop crs on all nodes

/u01/app/11.2.0/grid/bin/crsctl stop crs

Start asm on node1:

/u01/app/11.2.0/grid/bin/crsctl start crs -excl -nocrs

Check if crs resource is running, it should not be running

CRS-2613: Could not find resource 'ora.crsd', only crsctl status res ora.crsd -init

/u01/app/11.2.0/grid/bin/crsctl status res ora.crsd

CRS-4535: Cannot communicate with Cluster Ready Services

CRS-4000: Command Status failed, or completed with errors.

3. Restore ocr files to disk group:

[root@node1 ~]# /u01/app/11.2.0/grid/bin/ocrconfig -restore /u01/backup_20141118_020104.ocr

If logical backup recovery is used:

/u01/app/11.2.0/grid/bin/ocrconfig -import /u01/ocr.dmp

4. Check the ocr file:

[root@node1 ~]# /u01/app/11.2.0/grid/bin/ocrcheck

Stop crs on node1:

/u01/app/11.2.0/grid/bin/crsctl stop crs -f

Start crs on node1 and node2:

/u01/app/11.2.0/grid/bin/crsctl start crs

7. Perform cluvfy check crs on node1:

cluvfy comp ocr -n all -verbose

*******************************

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