很奇怪的一个问题!
ORACLE数据库服务器,系统启动之后,查看集群状态,发现CRS实例不可用,然后网上查找资料;
隔了几分钟之后,再次查询相关集群服务状态,发现正常了!!!
暂时得出的结论:操作系统启动之后,默认相关集群服务是自动启动的,但是,开机后,需要加载或者集群服务启动需要一段时间,等几分钟之后,集群服务才能准备 就绪!!! 文末,有一篇其他情况的解决方式。
[root@oracle01 ~]# /u01/app/11.2.0.4/grid/bin/crsctl start crs CRS-4640: Oracle High Availability Services is already active CRS-4000: Command Start failed, or completed with errors. [root@oracle01 ~]# su - grid [grid@oracle01 ~]$ [grid@oracle01 ~]$ [grid@oracle01 ~]$ [grid@oracle01 ~]$ [grid@oracle01 ~]$ crs_stat -t -v CRS-0184: Cannot communicate with the CRS daemon. [grid@oracle01 ~]$ crs_stat -t -v Name Type R/RA F/FT Target State Host ---------------------------------------------------------------------- ora.BAK.dg ora....up.type 0/5 0/ ONLINE ONLINE oracle01 ora.DATA.dg ora....up.type 0/5 0/ ONLINE ONLINE oracle01 ora.FRA.dg ora....up.type 0/5 0/ ONLINE ONLINE oracle01 ora....ER.lsnr ora....er.type 0/5 0/ OFFLINE OFFLINE ora....N1.lsnr ora....er.type 0/5 0/0 ONLINE ONLINE oracle01 ora.OCRVOTE.dg ora....up.type 0/5 0/ ONLINE ONLINE oracle01 ora.asm ora.asm.type 0/5 0/ ONLINE ONLINE oracle01 ora.cvu ora.cvu.type 0/5 0/0 ONLINE ONLINE oracle01 ora.ebjdb.db ora....se.type 0/2 0/1 OFFLINE OFFLINE ora....SM1.asm application 0/5 0/0 ONLINE ONLINE oracle01 ora....01.lsnr application 0/5 0/0 OFFLINE OFFLINE ora....e01.gsd application 0/5 0/0 OFFLINE OFFLINE ora....e01.ons application 0/3 0/0 ONLINE ONLINE oracle01 ora....e01.vip ora....t1.type 0/0 0/0 OFFLINE OFFLINE ora....SM2.asm application 0/5 0/0 ONLINE ONLINE oracle02 ora....02.lsnr application 0/5 0/0 OFFLINE OFFLINE ora....e02.gsd application 0/5 0/0 OFFLINE OFFLINE ora....e02.ons application 0/3 0/0 ONLINE ONLINE oracle02 ora....e02.vip ora....t1.type 0/0 0/0 ONLINE ONLINE oracle02 ora.gsd ora.gsd.type 0/5 0/ OFFLINE OFFLINE ora....network ora....rk.type 0/5 0/ ONLINE ONLINE oracle01 ora.oc4j ora.oc4j.type 0/1 0/2 ONLINE ONLINE oracle01 ora.ons ora.ons.type 0/3 0/ ONLINE ONLINE oracle01 ora....ry.acfs ora....fs.type 0/5 0/ ONLINE ONLINE oracle01 ora.scan1.vip ora....ip.type 0/0 0/0 ONLINE ONLINE oracle01 [grid@oracle01 ~]$ [grid@oracle01 ~]$ [grid@oracle01 ~]$ [grid@oracle01 ~]$ crs_stat -t -v Name Type R/RA F/FT Target State Host ---------------------------------------------------------------------- ora.BAK.dg ora....up.type 0/5 0/ ONLINE ONLINE oracle01 ora.DATA.dg ora....up.type 0/5 0/ ONLINE ONLINE oracle01 ora.FRA.dg ora....up.type 0/5 0/ ONLINE ONLINE oracle01 ora....ER.lsnr ora....er.type 0/5 0/ OFFLINE OFFLINE ora....N1.lsnr ora....er.type 0/5 0/0 ONLINE ONLINE oracle01 ora.OCRVOTE.dg ora....up.type 0/5 0/ ONLINE ONLINE oracle01 ora.asm ora.asm.type 0/5 0/ ONLINE ONLINE oracle01 ora.cvu ora.cvu.type 0/5 0/0 ONLINE ONLINE oracle01 ora.ebjdb.db ora....se.type 0/2 0/1 OFFLINE OFFLINE ora....SM1.asm application 0/5 0/0 ONLINE ONLINE oracle01 ora....01.lsnr application 0/5 0/0 OFFLINE OFFLINE ora....e01.gsd application 0/5 0/0 OFFLINE OFFLINE ora....e01.ons application 0/3 0/0 ONLINE ONLINE oracle01 ora....e01.vip ora....t1.type 0/0 0/0 OFFLINE OFFLINE ora....SM2.asm application 0/5 0/0 ONLINE ONLINE oracle02 ora....02.lsnr application 0/5 0/0 OFFLINE OFFLINE ora....e02.gsd application 0/5 0/0 OFFLINE OFFLINE ora....e02.ons application 0/3 0/0 ONLINE ONLINE oracle02 ora....e02.vip ora....t1.type 0/0 0/0 ONLINE ONLINE oracle02 ora.gsd ora.gsd.type 0/5 0/ OFFLINE OFFLINE ora....network ora....rk.type 0/5 0/ ONLINE ONLINE oracle01 ora.oc4j ora.oc4j.type 0/1 0/2 ONLINE ONLINE oracle01 ora.ons ora.ons.type 0/3 0/ ONLINE ONLINE oracle01 ora....ry.acfs ora....fs.type 0/5 0/ ONLINE ONLINE oracle01 ora.scan1.vip ora....ip.type 0/0 0/0 ONLINE ONLINE oracle01
其他情况的解决方式:http://www.codesec.net/view/493301.html