当前位置:操作系统 > Unix/Linux >>

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

安装RAC遇到ClusterwarePRCT-1302:the OCR has an inva...解决
 
首先介绍oifcfg - Oracle接口配置工具的用法。
 
用法: oifcfg iflist [-p [-n]]
oifcfg setif {-node <nodename> | -global} {<if_name>/<subnet>:<if_type>}...
oifcfg getif [-node <nodename> | -global] [ -if <if_name>[/<subnet>] [-type <if_type>] ]
oifcfg delif [-node <nodename> | -global] [<if_name>[/<subnet>]]
oifcfg [-help]
 
<nodename> -为通信网络所知的主机名
<if_name> -系统中配置的接口的名称
<subnet> -接口的子网地址
<if_type> -接口类型{ 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根据自己的情况改变
 
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,