oracle 12c ocr损坏,oracle 11gr2 针对ocr/vote asm diskgroup损坏的处理方法

The

following procedure describe the steps to recreate the diskgroup where

OCR and Voting disks are stored and restore the OCR data from a backup.

1. List the backups of the OCR

# $GI/bin/ocrconfig -showbackup

2. Validate the integrity of the backup

# $GI/bin/ocrdump -backupfile backup_file_name

3. Stop clusterware in all the nodes

# $GI/bin/crsctl stop crs [-f]

4. Before 11.2.0.2: In one node, start crs in exclusive mode

# $GI/bin/crsctl start crs –excl

and then apply step 5

Since 11.2.0.2: In one node, start crs in exclusive mode without crsd

# $CRS_HOME/bin/crsctl start crs -excl -nocrs

and then continue at step 6 (skip step 5).

IMPORTANT:

A new option '-nocrs' has been introduced with  11.2.0.2, which prevents the start of the ora.crsd resource.

It

is vital that this option is specified, otherwise the failure to start

the ora.crsd resource will tear down ora.cluster_interconnect.haip,

which in turn will cause ASM to crash.

5. Stop crsd

# $GI/bin/crsctl stop resource ora.crsd -init

6. Create Diskgroup

sql>create diskgroup

'

'compatible.asm'='11.2.0.2.0','compatible.rdbms'='11.2.0.2.0','au_size'='4M','cell.smart_scan_capable'='TRUE';

7. Restore OCR from one of the backups

# $GI/bin/ocrconfig -restore file_name

8. Validate OCR integrity

# $GI/bin/ocrcheck

9. Validate the list of voting disks. If the diskgroup was rebuilt,it will report empty

#$GI/bin/crsctl start resource ora.crsd -init

# $GI/bin/crsctl query css votedisk

10. Add the voting disk:

# $GI/bin/crsctl replace votedisk

11. Restart the CRS in normal mode

# $GI/bin/crsctl stop crs

# $GI/bin/crsctl start crs

12. Validate Voting disks and OCR

# $GRI/bin/crsctl query css votedisk

# $GI/bin/ocrcheck

13. Start cluster:

#$GRI/bin/crsctl start cluster

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值