安装RAC遇到ClusterwarePRCT-1302:the OCR has an inva...解决
首先介绍oifcfg -
Oracle接口配置工具的用法。
用法: oifcfg iflist [-p [-n]]
oifcfg setif {-node | -global} {/:}...
oifcfg getif [-node | -global] [ -if [/] [-type ] ]
oifcfg delif [-node | -global] [[/]]
oifcfg [-help]
只要在各节点用ROOT执行:
[root@vmac1 ~]# oifcfg getif
* 192.168.1.0 global public
* 172.168.1.0 global cluster_interconnect
eth1 172.168.1.0 global cluster_interconnect
eth0 192.168.1.0 global public
PRIF-29: Warning: wildcard in network parameters can cause mismatch among GPnP profile, OCR, and system
[root@vmac1 ~]# oifcfg delif -global */172.168.1.0
[root@vmac1 ~]# oifcfg setif -global eth1/172.168.1.0:cluster_interconnect
[root@vmac1 ~]# oifcfg delif -global */192.168.1.0
[root@vmac1 ~]# oifcfg setif -global eth0/192.168.1.0:public
即可解决此问题,具体IP根据自己的情况改变