问题:
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node racdg1-1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
PRCN-2050 : The requested VIP (nodename: racdg1-2, VIP name: racdg1-2-vip, network number: 1) has the same VIP name but different network number or preferred node than the registered VIP (nodename: racdg1-1, VIP name: racdg1-1-vip, network number: 1).
add vip -n racdg1-2 -k 1 -A racdg1-2-vip/255.255.255.0/eth0 on node=racdg1-2 ... failed
Failed to add Nodeapps at /u01/app/11.2.0.4/grid/crs/install/crsconfig_lib.pm line 9391.
/u01/app/11.2.0.4/grid/perl/bin/perl -I/u01/app/11.2.0.4/grid/perl/lib -I/u01/app/11.2.0.4/grid/crs/install /u01/app/11.2.0.4/grid/crs/install/rootcrs.pl execution failed
二节点执行root脚本报VIP的错误,无法添加vip服务到集群被纳管
查看集群状态
未发现二节点vip服务
发现是hosts文件的vip名称错误,对其进行改正
重新执行脚本
[root@racdg1-2 ~]# /u01/app/11.2.0.4/grid/perl/bin/perl -I/u01/app/11.2.0.4/grid/perl/lib -I/u01/app/11.2.0.4/grid/crs/install /u01/app/11.2.0.4/grid/crs/install/rootcrs.pl
Using configuration parameter file: /u01/app/11.2.0.4/grid/crs/install/crsconfig_params
User ignored Prerequisites during installation
Installing Trace File Analyzer
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
[root@racdg1-2 ~]#
查看集群状态
二节点vip服务已正常