RAC集群启动失败
当重启集群失败了,会有如下报错:
[root@dzsw1 bin]# ./crsctl start crs
CRS-4124: Oracle High Availability Services startup failed
CRS-4000: Command Start failed, or completed with errors
[oracle@dzsw1 bin]$ ./crsctl check crs
CRS-4639: Could not contact Oracle High Availability Services
无法重启,原因是HAS没有启动。
网上有说重新root.sh,不靠谱,生产环境不能随意进行修改集群。
解决:
首先,先检查HAS (Oracle High Availability) auto start-up or not?
[root@dzsw1 bin]# ./crsctl config has
CRS-4622: Oracle High Availability Services autostart is enabled.
[root@dzsw1 bin]#
然后, 检查 ohasd.log (在/u01/app/11.2.0/grid/log/dzsw1/ohasd/ohasd.log)和alert log。检查has是否未启动的错误日志。
手动重启has(如有需要,在所有节点启动):
[root@dzsw1 ~]# nohup /etc/init.d/init.ohasd run &
再在每个节点启动,或使用crsctl start cluster -all(只需在一个节点):
[root@dzsw1 ~]# crsctl start crs
如下:
[root@dzsw1 ~]# crsctl start cluster -all
CRS-2672: Attempting to start ‘ora.cssdmonitor’ on ‘dzsw1’
CRS-2672: Attempting to start ‘ora.cssdmonitor’ on ‘dzsw2’
CRS-2676: Start of ‘ora.cssdmonitor’ on ‘dzsw2’ succeeded
CRS-2676: Start of ‘ora.cssdmonitor’ on ‘dzsw1’ succeeded
CRS-2672: Attempting to start ‘ora.cssd’ on ‘dzsw2’
CRS-2672: Attempting to start ‘ora.cssd’ on ‘dzsw1’
CRS-2672: Attempting to start ‘ora.diskmon’ on ‘dzsw2’
CRS-2672: Attempting to start ‘ora.diskmon’ on ‘dzsw1’
CRS-2676: Start of ‘ora.diskmon’ on ‘dzsw2’ succeeded
CRS-2676: Start of ‘ora.diskmon’ on ‘dzsw1’ succeeded
CRS-2676: Start of ‘ora.cssd’ on ‘dzsw1’ succeeded
CRS-2672: Attempting to start ‘ora.ctssd’ on ‘dzsw1’
CRS-2676: Start of ‘ora.cssd’ on ‘dzsw2’ succeeded
CRS-2672: Attempting to start ‘ora.ctssd’ on ‘dzsw2’
CRS-2676: Start of ‘ora.ctssd’ on ‘dzsw1’ succeeded
CRS-2672: Attempting to start ‘ora.evmd’ on ‘dzsw1’
CRS-2672: Attempting to start ‘ora.asm’ on ‘dzsw1’
CRS-2676: Start of ‘ora.ctssd’ on ‘dzsw2’ succeeded
CRS-2672: Attempting to start ‘ora.asm’ on ‘dzsw2’
CRS-2672: Attempting to start ‘ora.evmd’ on ‘dzsw2’
CRS-2676: Start of ‘ora.evmd’ on ‘dzsw1’ succeeded
CRS-2676: Start of ‘ora.evmd’ on ‘dzsw2’ succeeded
CRS-2676: Start of ‘ora.asm’ on ‘dzsw1’ succeeded
CRS-2672: Attempting to start ‘ora.crsd’ on ‘dzsw1’
CRS-2676: Start of ‘ora.asm’ on ‘dzsw2’ succeeded
CRS-2672: Attempting to start ‘ora.crsd’ on ‘dzsw2’
CRS-2676: Start of ‘ora.crsd’ on ‘dzsw1’ succeeded
CRS-2676: Start of ‘ora.crsd’ on ‘dzsw2’ succeeded
参考:https://mbc-dba.blogspot.jp/2014/08/crs-4639-crs-4124-oracle-high.html
--待续
