@H_301_6@
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
@H_301_6@
2、配置OCR mirror
@H_301_6@
将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
@H_301_6@
4、修改磁盘兼容性参数 sql> conn /as sysasm Connected. sql> alter diskgroup rcy set attribute 'compatible.asm'='11.2'; Diskgroup altered.
查看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