当前位置:  数据库>oracle

Oracle rac节点资源状态异常

    来源: 互联网  发布时间:2017-05-18

    本文导语: 前几天在虚拟机上面安装了Oracle rac,今天把节点启动起来之后发现rac工作异常 [oracle@node1 bin]$ ./crs_stat -tName Type Target State Host ------------------------------------------------------------ora....E1.lsnr application OFFLINE UNKNOWN node1 ora.node1.gsd applicatio...

前几天在虚拟机上面安装了Oracle rac,今天把节点启动起来之后发现rac工作异常
[oracle@node1 bin]$ ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....E1.lsnr application OFFLINE UNKNOWN node1
ora.node1.gsd application ONLINE UNKNOWN node1
ora.node1.ons application ONLINE UNKNOWN node1
ora.node1.vip application ONLINE ONLINE node1
ora....E2.lsnr application OFFLINE UNKNOWN node2
ora.node2.gsd application ONLINE UNKNOWN node2
ora.node2.ons application ONLINE UNKNOWN node2
ora.node2.vip application ONLINE ONLINE node2
ora.orcl.db application OFFLINE OFFLINE
ora....l1.inst application OFFLINE OFFLINE
ora....l2.inst application OFFLINE UNKNOWN node2
查看侦听状态
[oracle@node1 bin]$ ./crs_stat -t|grep lsnr
ora....E1.lsnr application OFFLINE UNKNOWN node1
ora....E2.lsnr application OFFLINE UNKNOWN node2
[oracle@node1 bin]$ ./crs_stat -l|head -n 15
NAME=ora.node1.LISTENER_NODE1.lsnr
TYPE=application
TARGET=OFFLINE
STATE=UNKNOWN on node1

NAME=ora.node1.gsd
TYPE=application
TARGET=ONLINE
STATE=UNKNOWN on node1

NAME=ora.node1.ons
TYPE=application
TARGET=ONLINE
STATE=UNKNOWN on node1
尝试启动侦听
[oracle@node1 bin]$ ./crs_start ora.node1.LISTENER_NODE1.lsnr
CRS-1028: Dependency analysis failed because of:
'Resource in UNKNOWN state: ora.node1.LISTENER_NODE1.lsnr'
CRS-0223: Resource 'ora.node1.LISTENER_NODE1.lsnr' has placement error.
查看CRS状态
[oracle@node1 bin]$ ./crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
查看CSS状态
[oracle@node1 bin]$ ./crsctl check css
CSS appears healthy
首先停止node1上面的nodeapps

[oracle@node1 bin]$ ./srvctl stop nodeapps -n node1
[oracle@node1 bin]$ ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....E1.lsnr application OFFLINE OFFLINE
ora.node1.gsd application OFFLINE OFFLINE
ora.node1.ons application OFFLINE OFFLINE
ora.node1.vip application OFFLINE OFFLINE
ora....E2.lsnr application OFFLINE UNKNOWN node2
ora.node2.gsd application ONLINE UNKNOWN node2
ora.node2.ons application ONLINE UNKNOWN node2
ora.node2.vip application ONLINE ONLINE node2
ora.orcl.db application OFFLINE OFFLINE
ora....l1.inst application OFFLINE OFFLINE
ora....l2.inst application OFFLINE UNKNOWN node2

然后启动node1上面的nodeapps
[oracle@node1 bin]$ ./srvctl start nodeapps -n node1
[oracle@node1 bin]$ ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....E1.lsnr application ONLINE ONLINE node1
ora.node1.gsd application ONLINE ONLINE node1
ora.node1.ons application ONLINE ONLINE node1
ora.node1.vip application ONLINE ONLINE node1
ora....E2.lsnr application OFFLINE UNKNOWN node2
ora.node2.gsd application ONLINE UNKNOWN node2
ora.node2.ons application ONLINE UNKNOWN node2
ora.node2.vip application ONLINE ONLINE node2
ora.orcl.db application OFFLINE OFFLINE
ora....l1.inst application OFFLINE OFFLINE
ora....l2.inst application OFFLINE UNKNOWN node2
再重启所有资源
[oracle@node1 bin]$./crsctl stop resources
[oracle@node1 bin]$ ./crsctl start resources
然后在node2上面执行同样的操作,最后发现资源都启动起来了
[oracle@node1 bin]$ ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....E1.lsnr application ONLINE ONLINE node1
ora.node1.gsd application ONLINE ONLINE node1
ora.node1.ons application ONLINE ONLINE node1
ora.node1.vip application ONLINE ONLINE node1
ora....E2.lsnr application ONLINE ONLINE node2
ora.node2.gsd application ONLINE ONLINE node2
ora.node2.ons application ONLINE ONLINE node2
ora.node2.vip application ONLINE ONLINE node2
ora.orcl.db application ONLINE ONLINE node1
ora....l1.inst application ONLINE ONLINE node1
ora....l2.inst application ONLINE ONLINE node2
在执行一下
[oracle@node1 bin]$ ./crs_stat -l
所有状态都是online了,OK!
如果还有某个资源没有启动起来,手动执行
[oracle@node1 bin]$ ./crs_start ora.orcl.orcl1.inst(资源名称)


    
 
 
 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • Oracle 12c发布简单介绍及官方下载地址
  • 在linux下安装oracle,如何设置让oracle自动启动!也就是让oracle那个服务自动启动,不是手动的
  • oracle 11g最新版官方下载地址
  • 请问su oracle 和su - oracle有什么不同?
  • Oracle 数据库(oracle Database)Select 多表关联查询方式
  • 虚拟机装Oracle R12与Oracle10g
  • Oracle数据库(Oracle Database)体系结构及基本组成介绍
  • Oracle 数据库开发工具 Oracle SQL Developer
  • 如何设置让Oracle SQL Developer显示的时间包含时分秒
  • Oracle EBS R12 支持 Oracle Database 11g
  • Oracle 10g和Oracle 11g网格技术介绍
  • SCO unix下安装oracle,但没有光盘,请大家推荐一个oracle下载站点(unix版本的)。谢谢!!!!
  • oracle中如何把表中具有相同值列的多行数据合并成一行
  • 请问大家用oracle数据库, 用import oracle.*;下的东西么? 还是用标准库?
  • Oracle 数据库(oracle Database)性能调优技术详解
  • Linux /$ORACLE_HOME $ORACLE_HOME
  • ORACLE日期相关操作
  • Linux系统下Oracle的启动与Oracle监听的启动
  • ORACLE数据库常用字段数据类型介绍
  • 请问在solaris下安装ORACLE,用root用户和用oracle用户安装有什么区别么?
  • Oracle 12c的九大最新技术特性介绍
  • 网间Oracle的连接,远程连接Oracle服务器??


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,