安装RAC遇到ClusterwarePRCT-1302:the OCR has an inva...解决

2014-11-24 14:11:58 · 作者: · 浏览: 0
安装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]
-为通信网络所知的主机名
- 系统中配置的接口的名称
-接口的子网地址
-接口类型{ cluster_interconnect | public | storage }
只要在各节点用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根据自己的情况改变