11.2.0.2的grid infrastructure中crsctl stat res命令不再显示如ora.cssd、ora.ctssd、ora.diskmon等基础资源的信息。但是查看这些基础资源的状态信息对于系统状态检查很有意义的。如果想要了解这些resource状态需要加上-init选项。

11.2.0.4为例:

  1. $ crsctl query crs activeversion
  2. Oracle Clusterware active version on the cluster is [11.2.0.4.0]
  3.  
  4. $ crsctl stat res -init -t
  5. --------------------------------------------------------------------------------
  6. NAME TARGET STATE SERVER STATE_DETAILS
  7. --------------------------------------------------------------------------------
  8. Cluster Resources
  9. --------------------------------------------------------------------------------
  10. ora.asm
  11. 1 ONLINE ONLINE db1 Started
  12. ora.cluster_interconnect.haip
  13. 1 ONLINE ONLINE db1
  14. ora.crf
  15. 1 ONLINE ONLINE db1
  16. ora.crsd
  17. 1 ONLINE ONLINE db1
  18. ora.cssd
  19. 1 ONLINE ONLINE db1
  20. ora.cssdmonitor
  21. 1 ONLINE ONLINE db1
  22. ora.ctssd
  23. 1 ONLINE ONLINE db1 ACTIVE:0
  24. ora.diskmon
  25. 1 OFFLINE OFFLINE
  26. ora.drivers.acfs
  27. 1 ONLINE ONLINE db1
  28. ora.evmd
  29. 1 ONLINE ONLINE db1
  30. ora.gipcd
  31. 1 ONLINE ONLINE db1
  32. ora.gpnpd
  33. 1 ONLINE ONLINE db1
  34. ora.mdnsd
  35. 1 ONLINE ONLINE db1
  36.  
  37. $ crsctl stat res -t
  38. --------------------------------------------------------------------------------
  39. NAME TARGET STATE SERVER STATE_DETAILS
  40. --------------------------------------------------------------------------------
  41. Local Resources
  42. --------------------------------------------------------------------------------
  43. ora.CRS.dg
  44. ONLINE ONLINE db1
  45. ONLINE ONLINE db2
  46. ora.DATA.dg
  47. ONLINE ONLINE db1
  48. ONLINE ONLINE db2
  49. ora.LISTENER.lsnr
  50. ONLINE ONLINE db1
  51. ONLINE ONLINE db2
  52. ora.asm
  53. ONLINE ONLINE db1 Started
  54. ONLINE ONLINE db2 Started
  55. ora.gsd
  56. OFFLINE OFFLINE db1
  57. OFFLINE OFFLINE db2
  58. ora.net1.network
  59. ONLINE ONLINE db1
  60. ONLINE ONLINE db2
  61. ora.ons
  62. ONLINE ONLINE db1
  63. ONLINE ONLINE db2
  64. ora.registry.acfs
  65. ONLINE ONLINE db1
  66. ONLINE ONLINE db2
  67. --------------------------------------------------------------------------------
  68. Cluster Resources
  69. --------------------------------------------------------------------------------
  70. ora.LISTENER_SCAN1.lsnr
  71. 1 ONLINE ONLINE db1
  72. ora.cvu
  73. 1 ONLINE ONLINE db2
  74. ora.oc4j
  75. 1 ONLINE ONLINE db2
  76. ora.scan1.vip
  77. 1 ONLINE ONLINE db1
  78. ora.db1.vip
  79. 1 ONLINE ONLINE db1
  80. ora.db2.vip
  81. 1 ONLINE ONLINE db2
  82. ora.rdb.db
  83. 1 ONLINE ONLINE db2 Open
  84. 2 ONLINE ONLINE db1 Open

12.1.0.2为例:

  1. $ crsctl query crs activeversion
  2. Oracle Clusterware active version on the cluster is [12.1.0.2.0]
  3. $ crsctl stat res -t
  4. --------------------------------------------------------------------------------
  5. Name Target State Server State details
  6. --------------------------------------------------------------------------------
  7. Local Resources
  8. --------------------------------------------------------------------------------
  9. ora.CRS.dg
  10. ONLINE ONLINE rac12c1 STABLE
  11. ONLINE ONLINE rac12c2 STABLE
  12. ora.DATA.dg
  13. ONLINE ONLINE rac12c1 STABLE
  14. ONLINE ONLINE rac12c2 STABLE
  15. ora.FRA.dg
  16. ONLINE ONLINE rac12c1 STABLE
  17. ONLINE ONLINE rac12c2 STABLE
  18. ora.LISTENER.lsnr
  19. ONLINE ONLINE rac12c1 STABLE
  20. ONLINE ONLINE rac12c2 STABLE
  21. ora.asm
  22. ONLINE ONLINE rac12c1 Started,STABLE
  23. ONLINE ONLINE rac12c2 Started,STABLE
  24. ora.net1.network
  25. ONLINE ONLINE rac12c1 STABLE
  26. ONLINE ONLINE rac12c2 STABLE
  27. ora.ons
  28. ONLINE ONLINE rac12c1 STABLE
  29. ONLINE ONLINE rac12c2 STABLE
  30. --------------------------------------------------------------------------------
  31. Cluster Resources
  32. --------------------------------------------------------------------------------
  33. ora.LISTENER_SCAN1.lsnr
  34. 1 ONLINE ONLINE rac12c1 STABLE
  35. ora.MGMTLSNR
  36. 1 ONLINE ONLINE rac12c2 169.254.86.73 10.10.
  37. 18.142,STABLE
  38. ora.cvu
  39. 1 ONLINE ONLINE rac12c2 STABLE
  40. ora.mgmtdb
  41. 1 ONLINE ONLINE rac12c2 Open,STABLE
  42. ora.oc4j
  43. 1 ONLINE ONLINE rac12c2 STABLE
  44. ora.rac12c.db
  45. 1 ONLINE OFFLINE Instance Shutdown,ST
  46. ABLE
  47. 2 ONLINE ONLINE rac12c2 Open,STABLE
  48. ora.rac12c1.vip
  49. 1 ONLINE ONLINE rac12c1 STABLE
  50. ora.rac12c2.vip
  51. 1 ONLINE ONLINE rac12c2 STABLE
  52. ora.scan1.vip
  53. 1 ONLINE ONLINE rac12c1 STABLE
  54. --------------------------------------------------------------------------------
  55. $ crsctl stat res -init -t
  56. --------------------------------------------------------------------------------
  57. Name Target State Server State details
  58. --------------------------------------------------------------------------------
  59. Cluster Resources
  60. --------------------------------------------------------------------------------
  61. ora.asm
  62. 1 ONLINE ONLINE rac12c1 Started,STABLE
  63. ora.cluster_interconnect.haip
  64. 1 ONLINE ONLINE rac12c1 STABLE
  65. ora.crf
  66. 1 ONLINE ONLINE rac12c1 STABLE
  67. ora.crsd
  68. 1 ONLINE ONLINE rac12c1 STABLE
  69. ora.cssd
  70. 1 ONLINE ONLINE rac12c1 STABLE
  71. ora.cssdmonitor
  72. 1 ONLINE ONLINE rac12c1 STABLE
  73. ora.ctssd
  74. 1 ONLINE ONLINE rac12c1 ACTIVE:0,STABLE
  75. ora.diskmon
  76. 1 OFFLINE OFFLINE STABLE
  77. ora.evmd
  78. 1 ONLINE ONLINE rac12c1 STABLE
  79. ora.gipcd
  80. 1 ONLINE ONLINE rac12c1 STABLE
  81. ora.gpnpd
  82. 1 ONLINE ONLINE rac12c1 STABLE
  83. ora.mdnsd
  84. 1 ONLINE ONLINE rac12c1 STABLE
  85. ora.storage
  86. 1 ONLINE ONLINE rac12c1 STABLE
  87. --------------------------------------------------------------------------------

此外在11.2.0.2的grid infrastructure中想启动、停止、修改这些init资源时都需要加上-init选项,否则将出现CRS-2613: Could not find resource错误。

crsctl stat res -t 和 crsctl stat res -init -t的更多相关文章

  1. name lookup of 'res' changed for new ISO 'res' scoping

    #include<iostream> using namespace std; int pow ( int val, int exp ); int main() { int val = 2 ...

  2. TypeError: Object function (req, res, next) { app.handle(req, res, next); } has no method 'configure'

    TypeError: Object function (req, res, next) { app.handle(req, res, next); } has no method 'configure ...

  3. android 根据res文件夹下(如res/raw)文件名获取其id

    android 根据res文件夹下(如res/raw)文件名获取其id //测试是否能够获取其资源ID int treeId = mv.getResources().getIdentifier(fil ...

  4. Android Studio分类整理res/Layout中的布局文件(创建子目录)

    res/layout中的布局文件太杂,没有层次感,受不了的我治好想办法解决这个问题. 前几天看博客说可以使用插件分组,可惜我没找到.知道看到另一篇博客时,才知道这个方法不能用了. 不能用插件,那就手动 ...

  5. Express4.x常用API(一):res

    最近在学习NodeJS,用到了express,看着官网上的API手册,打算把其中比较常用到的API根据自己理解翻译一下,方便自己学习使用. 该篇打算用来记录下express中res. 由于水平有限,希 ...

  6. 三个特殊资源目录 /res/xml /res/raw 和 /assets

    在android开发中,我们离不开资源文件的使用,从drawable到string,再到layout,这些资源都为我们的开发提供了极大的便利,不过我们平时大部分时间接触的资源目录一般都是下面这三个. ...

  7. delphi res 字符串资源

    delphi res 字符串资源 (2011/12/10 19:19:36) //res 字符串资源 //rc 文件:StringTablebegin0 "AAAA"1 " ...

  8. 【转】android资源目录---assets与res/raw区别

    blog.csdn.net/hshm20517/article/details/6461890 assets:用于存放需要打包到应用程序的静态文件,以便部署到设备中.与res/raw不同点在于,ASS ...

  9. AssetsUtils【读取assets、res/raw、./data/data/包名/目录下的文件】

    版权声明:本文为HaiyuKing原创文章,转载请注明出处! 前言 封装了以下功能: 1.读取assets目录下的资源html.文件.图片,将文件复制到SD卡目录中: 2.读取res/raw目录下的文 ...

随机推荐

  1. python twisted启动定时服务

    以下是python脚本send_mms.py #############################################!/usr/bin/python# -*- coding: ut ...

  2. NSDate 获取明天、后天的日期

    NSDate *  senddate=[NSDate date];    NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIde ...

  3. XPath学习:轴(14)——总结

    原文地址:http://www.cnblogs.com/zhaozhan/archive/2009/09/10/1564396.html XPath 是一门在 XML 文档中查找信息的语言.XPath ...

  4. laravel 外键schema RBAC

    $table->bigIncrements('id')  ;   Incrementing ID (primary key) using a " UNSIGNED BIG INTEGE ...

  5. corresponding SQLSTATE values general error

    http://dev.mysql.com/doc/refman/5.7/en/error-messages-server.html B.3 Server Error Codes and Message ...

  6. 如何获取DIV的id

    $(obj).attr("id");参数可以是id也可以是其他例如name等属性

  7. 六 mybatis高级映射(一对一,一对多,多对多)

    1  订单商品数据模型 以订单商品数据为模型,来对mybaits高级关系映射进行学习.

  8. ubuntu Nodejs和npm的安装

     cnpm install -g XXX errors :  npm i --registry=https://registry.npm.taobao.org     标签: nodejsnpm 20 ...

  9. hive中的常用方法(case,cast,unix_timestamp)

    1.case的用法 )格式1 case col when value then '' when value then '' else '' end )格式2 case when col='value' ...

  10. 在Windows上一键编译各种版本的Protobuf

    所需工具 : cmake  for  windows 和  git for windows 原理:protobuf 是google的一个开源项目,其源代码在github上可以下载到,并且源码都采用cm ...