首先关闭防火墙iptables -F 两台都要操作
CRS-4639: Could not contactOracle High Availability Services
原因,crs没有启动
方法1、oracle中的bug,
启动之前需要执行
/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1 (如果想让重启能够执行,需要加入rc.local中,两个节点)
然后再执行
[root@rac2 bin]# ./crsctl start crs
所以在启动CRS之前,先在2个节点指定dd命令:
[root@rac1 client]#/bin/ddif=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
然后启动,这没有问题了:
[root@rac1 bin]# ./crsctlstart crs
CRS-4123: Oracle High AvailabilityServiceshas been started.
[root@rac2 bin]# ./crsctlstart crs
CRS-4123: Oracle High AvailabilityServiceshas been started.
[root@rac2 bin]#./crsctl check crs
CRS-4638: Oracle High AvailabilityServicesis online
CRS-4535: Cannot communicate withClusterReady Services
CRS-4530: Communications failurecontactingCluster Synchronization Services daemon
CRS-4534: Cannotcommunicate with EventManager
[root@rac1 bin]# ./crsctlcheck crs
CRS-4638: Oracle High AvailabilityServicesis online
CRS-4535: Cannot communicate withClusterReady Services
CRS-4530: Communications failurecontactingCluster Synchronization Services daemon<