redhat6.9安装11.2.0.4执行root.sh提示vip资源添加失败CRS-4402,PRCN-2050
节点1执行root.sh OK,节点2执行提示vip资源添加失败!
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to upstart
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node wsgw1,
number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
PRCN-2050 : The requested VIP (nodename: wsgw2, VIP name: wsgw2-vip, network number: 1) has the same
VIP name but different network number or preferred node than the registered VIP (nodename: wsgw1,
VIP name: wsgw1-vip, network number: 1).
add vip -n wsgw2 -k 1 -A wsgw2-vip/255.255.255.0/eth0 on node=wsgw2 ... failed
Failed to add Nodeapps at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 9391.
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install
/u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed
查询oraagent日志,发现提示vip资源无法获取到???
[root@wsgw2 ~]# cd /u01/app/11.2.0/grid/log/wsgw2/agent/crsd/oraagent_grid/
[root@wsgw2 ~]# tail -200f oraagent_grid
2020-05-05 01:58:47.661: [ USRTHRD][2894972672]{2:10753:5} Warning, could not get the node VIP address
2020-05-05 01:58:47.661: [ USRTHRD][2894972672]{2:10753:5} AsmCommonAgent: Getting local vip failed.
2020-05-05 01:59:02.421: [ AGFW][2916345600]{2:10753:5} Agent received the message: AGENT_HB[Engine] ID 12293:526
2020-05-05 01:59:03.661: [ USRTHRD][2894972672]{2:10753:5} CrsCmd::ClscrsCmdData::stat entity 1 statflag 1 useFilter 0
2020-05-05 01:59:03.683: [ USRTHRD][2894972672]{2:10753:5} checkCrsStat 2 CLSCRS_STAT ret: 200
2020-05-05 01:59:03.683: [ USRTHRD][2894972672]{2:10753:5} checkCrsStat 2 clscrs_res_get_op_status
CLSCRS_STAT status 210 err_msg CRS-0210: Could not find resource 'ora.wsgw2.vip'.
检查/etc/hosts 发现vip ip地址重复,修改后重新执行root.sh
192.168.60.91 wsgw1
192.168.60.92 wsgw2
192.168.60.93 wsgw1-vip
192.168.60.93 wsgw2-vip
192.168.60.94 wsgw-scan
10.0.0.51 wsgw1-priv
10.0.0.52 wsgw2-priv
[root@wsgw2 /]# /u01/app/11.2.0/grid/root.sh