Oracle Study之--Oracle RAC添加OCR DISK MIRROR

前端之家收集整理的这篇文章主要介绍了Oracle Study之--Oracle RAC添加OCR DISK MIRROR前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
Oracle Study之--Oracle RAC添加OCR DISK MIRROR
系统环境:
操作系统: Redhat EL5
Oracle: Oracle Grid Infrastructure

在Oracle RAC环境下,对OCR disk添加mirror时出现Failure:

1、查看OCR disk信息
[root@node2 ~]# ocrcheck

Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 2500
Available space (kbytes) : 259620
ID : 899901202
Device/File Name : +ocr_vote
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
Logical corruption check succeeded

2、配置OCR mirror
将OCR disk 镜像到 +rcy 磁盘组
[root@node2 ~]# ocrconfig -add +rcy

PROT-30: The Oracle Cluster Registry location to be added is not accessible
------添加失败,出现以上错误

3、查看asm diskgroup兼容性参数

sql> select name,COMPATIBILITY from v$asm_diskgroup;
NAME COMPATIBILITY
------------------------------
OCR_VOTE 11.2.0.0.0
DATA 11.2.0.0.0
RCY 10.1.0.0.0 // RCY磁盘组兼容性参数版本较低
ACFS 11.2.0.0.0

4、修改磁盘兼容性参数
sql> conn /as sysasm
Connected.
sql> alter diskgroup rcy set attribute 'compatible.asm'='11.2';
Diskgroup altered.

5、配置ocr mirror
[grid@node1 ~]$ su -
Password:
[root@node1 ~]# ocrconfig -add +RCY

查看ocr disk配置信息:
[root@node1 ~]# ocrcheck

Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 2500
Available space (kbytes) : 259620
ID : 899901202
Device/File Name : +ocr_vote
Device/File integrity check succeeded
Device/File Name : +RCY Device/File integrity check succeeded Device/File not configured Device/File not configured Device/File not configured Cluster registry integrity check succeeded Logical corruption check succeeded
原文链接:https://www.f2er.com/oracle/212306.html

猜你在找的Oracle相关文章