运维开发网

Oracle RAC 故障处理

运维开发网 https://www.qedev.com 2020-11-25 14:43 出处:51CTO 作者:yuanqianghe
问题1.提示:如果文件内容写错了,在/dev/huawei目录下会不出来,此时需要修改正确,并删除目录下的设备,重新执行start_udevKERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -d /dev/$name", RESULT=="3618ded7100c077ffbbb30928000007a6", NAME="huawe

问题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

Oracle RAC 故障处理

问题2.注意:当提示cannot communicate with Cluster Ready Services

CRS-4000: Command Status failed, or completed with errors.

时,用root用户检查和启动crs服务

启动集群服务

Oracle RAC 故障处理

[[email protected] ~]# cd /u01/app/11.2.0/grid/bin/

[[email protected] bin]# ./crsctl start crs

CRS-4640: Oracle High Availability Services is already active

CRS-4000: Command Start failed, or completed with errors.

[[email protected] bin]#

[[email protected] 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

[[email protected] bin]#

2台节点都需要执行

[[email protected] 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

[[email protected] bin]#

注意:只要启动2个节点的集群服务后,再启动所有服务时才会正常,如果只启动某个节点,此时执行启动资源服务时只会启动此节点的服务。

最后再启动所有服务

[[email protected] bin]#./crsctl start res -all

Oracle RAC 故障处理

Oracle RAC 故障处理

问题3,提示address already in use,去设备目录下删除设备即可,然后重新执行。

Oracle RAC 故障处理

问题4,在指定主机上启动单个服务

crsctl start res ora.LISTENER.lsnr    -n racdb2

Oracle RAC 故障处理

扫码领视频副本.gif

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号