设为首页收藏本站

Botang唐波's Oracle Station

查看: 564|回复: 1

关于crs_stat -t等集群命令的查看问题

[复制链接]

10

主题

26

帖子

122

积分

注册会员

Rank: 2

积分
122
发表于 2018-1-30 10:41:17 | 显示全部楼层 |阅读模式
本帖最后由 tangjiangdong 于 2018-1-30 10:50 编辑

老师你好
背景:
在安装11.2.0.3的asm单实例库过程中,在安装grid执行root.sh时突然断网,又刚好是远程会话连接,因此删除了grid软件开始重新安装,并且顺利成功了,现在想要通过crs_stat -t查看grid启动状态是否正常:
  1. [grid@TSD12C grid]$ crs_stat -t
  2. Name           Type           Target    State     Host        
  3. ------------------------------------------------------------
  4. ora.DATA.dg    ora....up.type ONLINE    ONLINE    tsd12c      
  5. ora....ER.lsnr ora....er.type ONLINE    ONLINE    tsd12c      
  6. ora.asm        ora.asm.type   ONLINE    ONLINE    tsd12c      
  7. ora.cssd       ora.cssd.type  ONLINE    ONLINE    tsd12c      
  8. ora.diskmon    ora....on.type OFFLINE   OFFLINE               
  9. ora.evmd       ora.evm.type   ONLINE    ONLINE    tsd12c      
  10. ora.ons        ora.ons.type   OFFLINE   OFFLINE               

  11. [grid@TSD12C grid]$ crs_stop -all
  12. CRS-2500: Cannot stop resource 'ora.diskmon' as it is not running
  13. CRS-2500: Cannot stop resource 'ora.ons' as it is not running
  14. Attempting to stop `ora.LISTENER.lsnr` on member `tsd12c`
  15. Attempting to stop `ora.DATA.dg` on member `tsd12c`
  16. Attempting to stop `ora.evmd` on member `tsd12c`
  17. Stop of `ora.LISTENER.lsnr` on member `tsd12c` succeeded.
  18. Stop of `ora.evmd` on member `tsd12c` succeeded.
  19. Stop of `ora.DATA.dg` on member `tsd12c` succeeded.
  20. Attempting to stop `ora.asm` on member `tsd12c`
  21. Stop of `ora.asm` on member `tsd12c` succeeded.
  22. Attempting to stop `ora.cssd` on member `tsd12c`
  23. Stop of `ora.cssd` on member `tsd12c` succeeded.
  24. CRS-0216: Could not stop resource 'ora.diskmon'.

  25. CRS-0216: Could not stop resource 'ora.ons'.

  26. [grid@TSD12C grid]$ crs_start -all
  27. CRS-2501: Resource 'ora.ons' is disabled
  28. Attempting to start `ora.evmd` on member `tsd12c`
  29. Attempting to start `ora.LISTENER.lsnr` on member `tsd12c`
  30. Attempting to start `ora.cssd` on member `tsd12c`
  31. Attempting to start `ora.diskmon` on member `tsd12c`
  32. Start of `ora.diskmon` on member `tsd12c` succeeded.
  33. Start of `ora.LISTENER.lsnr` on member `tsd12c` succeeded.
  34. Start of `ora.evmd` on member `tsd12c` succeeded.
  35. Start of `ora.cssd` on member `tsd12c` succeeded.
  36. Attempting to start `ora.asm` on member `tsd12c`
  37. Start of `ora.asm` on member `tsd12c` succeeded.
  38. Attempting to start `ora.DATA.dg` on member `tsd12c`
  39. Start of `ora.DATA.dg` on member `tsd12c` succeeded.
  40. CRS-2660: Resource 'ora.ons' or all of its instances are disabled

  41. [grid@TSD12C grid]$ crs_stat -t
  42. Name           Type           Target    State     Host        
  43. ------------------------------------------------------------
  44. ora.DATA.dg    ora....up.type ONLINE    ONLINE    tsd12c      
  45. ora....ER.lsnr ora....er.type ONLINE    ONLINE    tsd12c      
  46. ora.asm        ora.asm.type   ONLINE    ONLINE    tsd12c      
  47. ora.cssd       ora.cssd.type  ONLINE    ONLINE    tsd12c      
  48. ora.diskmon    ora....on.type OFFLINE   OFFLINE               
  49. ora.evmd       ora.evm.type   ONLINE    ONLINE    tsd12c      
  50. ora.ons        ora.ons.type   OFFLINE   OFFLINE  
复制代码
如上面所示:ora.diskmon和ora.ons都没能够开启,这样的状态是否正常呢?还有网上对于这块的介绍都是抄袭也比较少,哪里能够获得更详细的介绍文档来了解这一块呢?
回复

使用道具 举报

10

主题

26

帖子

122

积分

注册会员

Rank: 2

积分
122
 楼主| 发表于 2018-1-30 11:35:37 | 显示全部楼层
ora.diskmon is an exadata resource, which is not used in an non-exadata environment, and the default is offline starting from 11.2.0.3

When ctssd (cluster time synchronization services daemon) detected an vendor time service is running, such as NTP, then it will run as observer mode, which means get the time from vendor time service.
这是my oracle support 社区找到的,可以排除了diskmon的不开启原因;
那么ons是干啥 的呢,这个好像没找到相关提问和详细介绍,只是说和中间件相关。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Botang唐波's Oracle Station   

GMT+8, 2018-6-23 01:07 , Processed in 0.159784 second(s), 23 queries .

快速回复 返回顶部 返回列表