添加磁盘组存储ocrbk报错PROT-30、PROC-50

时间:2022-11-05 18:56:33
问题描述:添加磁盘组存储ocrbk报错PROT-30、PROC-50,如下所示:
数据库:oracle 11.2.0.4 64位
系统:centos 7.9 64位
环境:rac(双节点) + dg
异常现象:
[root@hisdb1 bin]# pwd
/u01/app/11.2.0/grid/bin
[root@hisdb1 bin]# ./ocrconfig -add +orcbk
PROT-30: The Oracle Cluster Registry location to be added is not usable
PROC-50: The Oracle Cluster Registry location to be added is inaccessible on nodes hisdb1, hisdb2.
[root@hisdb1 bin]# more /etc/oracle/ocr.loc
ocrconfig_loc=+OCR
local_only=FALSE
解决过程:
查磁盘组状态
SQL> set line 999
SQL> select name,
2 state,
3 free_mb,
4 required_mirror_free_mb,
5 usable_file_mb,
6 group_number
7 from v$asm_diskgroup;

NAME STATE FREE_MB REQUIRED_MIRROR_FREE_MB USABLE_FILE_MB GROUP_NUMBER
------------------------------ ----------- ---------- ----------------------- -------------- ------------
DATA MOUNTED 16490 0 16490 1
FRA MOUNTED 8957 0 8957 2
OCR MOUNTED 9875 0 9875 3
OCRBK MOUNTED 10112 0 10112 4
磁盘组ocrbk状态正常.经一段时间的查,发现磁盘组名写错,正确应该是“ocrbk”,却被错误的写成“orcbk”,修改后成功添加.
[root@hisdb1 bin]# ./ocrconfig -add +ocrbk
[root@hisdb1 bin]# more /etc/oracle/ocr.loc
#Device/file getting replaced by device +ocrbk
ocrconfig_loc=+OCR
ocrmirrorconfig_loc=+ocrbk
local_only=false

参考网址:
https://blog.csdn.net/ghostliming/article/details/50062209