问题1.提示:如果文件内容写错了,在/dev/huawei目录下会不出来,此时需要修改正确,并删除目录下的设备,重新执行start_udev
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -d /dev/$name", RESULT=="3618ded7100c077ffbbb30928000007a6", NAME="huawei/data01",
start_udev
cd /dev/huawei
rm -rf data02 ocr
问题2.注意:当提示cannot communicate with Cluster Ready Services
CRS-4000: Command Status failed, or completed with errors.
时,用root用户检查和启动crs服务
启动集群服务
[root@racdb1 ~]# cd /u01/app/11.2.0/grid/bin/
[root@racdb1 bin]# ./crsctl start crs
CRS-4640: Oracle High Availability Services is already active
CRS-4000: Command Start failed, or completed with errors.
[root@racdb1 bin]#
[root@racdb1 bin]# ./crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
[root@racdb1 bin]#
2台节点都需要执行
[root@racdb1 bin]# ./crsctl start cluster -n racdb1
CRS-2672: Attempting to start 'ora.asm' on 'racdb1'
CRS-2676: Start of 'ora.asm' on 'racdb1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'racdb1'
CRS-2676: Start of 'ora.crsd' on 'racdb1' succeeded
[root@racdb1 bin]#
注意:只要启动2个节点的集群服务后,再启动所有服务时才会正常,如果只启动某个节点,此时执行启动资源服务时只会启动此节点的服务。
最后再启动所有服务
[root@racdb1 bin]#./crsctl start res -all
问题3,提示address already in use,去设备目录下删除设备即可,然后重新执行。
问题4,在指定主机上启动单个服务
crsctl start res ora.LISTENER.lsnr -n racdb2