加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

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

发布时间:2020-12-12 15:53:40 所属栏目:百科 来源:网络整理
导读: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 Cluste
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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读