crsctl stat res -t 和 crsctl stat res -init -t

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

11.2.0.4为例:

$ crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [11.2.0.4.0]

$ crsctl stat res -init -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
      1        ONLINE  ONLINE       db1                    Started
ora.cluster_interconnect.haip
      1        ONLINE  ONLINE       db1
ora.crf
      1        ONLINE  ONLINE       db1
ora.crsd
      1        ONLINE  ONLINE       db1
ora.cssd
      1        ONLINE  ONLINE       db1
ora.cssdmonitor
      1        ONLINE  ONLINE       db1
ora.ctssd
      1        ONLINE  ONLINE       db1                    ACTIVE:0
ora.diskmon
      1        OFFLINE OFFLINE
ora.drivers.acfs
      1        ONLINE  ONLINE       db1
ora.evmd
      1        ONLINE  ONLINE       db1
ora.gipcd
      1        ONLINE  ONLINE       db1
ora.gpnpd
      1        ONLINE  ONLINE       db1
ora.mdnsd
      1        ONLINE  ONLINE       db1                                        

$ crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
               ONLINE  ONLINE       db1
               ONLINE  ONLINE       db2
ora.DATA.dg
               ONLINE  ONLINE       db1
               ONLINE  ONLINE       db2
ora.LISTENER.lsnr
               ONLINE  ONLINE       db1
               ONLINE  ONLINE       db2
ora.asm
               ONLINE  ONLINE       db1                    Started
               ONLINE  ONLINE       db2                    Started
ora.gsd
               OFFLINE OFFLINE      db1
               OFFLINE OFFLINE      db2
ora.net1.network
               ONLINE  ONLINE       db1
               ONLINE  ONLINE       db2
ora.ons
               ONLINE  ONLINE       db1
               ONLINE  ONLINE       db2
ora.registry.acfs
               ONLINE  ONLINE       db1
               ONLINE  ONLINE       db2
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       db1
ora.cvu
      1        ONLINE  ONLINE       db2
ora.oc4j
      1        ONLINE  ONLINE       db2
ora.scan1.vip
      1        ONLINE  ONLINE       db1
ora.db1.vip
      1        ONLINE  ONLINE       db1
ora.db2.vip
      1        ONLINE  ONLINE       db2
ora.rdb.db
      1        ONLINE  ONLINE       db2                    Open
      2        ONLINE  ONLINE       db1                    Open

12.1.0.2为例:

$ crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [12.1.0.2.0]
$ crsctl stat res -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
               ONLINE  ONLINE       rac12c1                  STABLE
               ONLINE  ONLINE       rac12c2                  STABLE
ora.DATA.dg
               ONLINE  ONLINE       rac12c1                  STABLE
               ONLINE  ONLINE       rac12c2                  STABLE
ora.FRA.dg
               ONLINE  ONLINE       rac12c1                  STABLE
               ONLINE  ONLINE       rac12c2                  STABLE
ora.LISTENER.lsnr
               ONLINE  ONLINE       rac12c1                  STABLE
               ONLINE  ONLINE       rac12c2                  STABLE
ora.asm
               ONLINE  ONLINE       rac12c1                  Started,STABLE
               ONLINE  ONLINE       rac12c2                  Started,STABLE
ora.net1.network
               ONLINE  ONLINE       rac12c1                  STABLE
               ONLINE  ONLINE       rac12c2                  STABLE
ora.ons
               ONLINE  ONLINE       rac12c1                  STABLE
               ONLINE  ONLINE       rac12c2                  STABLE
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       rac12c1                  STABLE
ora.MGMTLSNR
      1        ONLINE  ONLINE       rac12c2                  169.254.86.73 10.10.
                                                             18.142,STABLE
ora.cvu
      1        ONLINE  ONLINE       rac12c2                  STABLE
ora.mgmtdb
      1        ONLINE  ONLINE       rac12c2                  Open,STABLE
ora.oc4j
      1        ONLINE  ONLINE       rac12c2                  STABLE
ora.rac12c.db
      1        ONLINE  OFFLINE                               Instance Shutdown,ST
                                                             ABLE
      2        ONLINE  ONLINE       rac12c2                  Open,STABLE
ora.rac12c1.vip
      1        ONLINE  ONLINE       rac12c1                  STABLE
ora.rac12c2.vip
      1        ONLINE  ONLINE       rac12c2                  STABLE
ora.scan1.vip
      1        ONLINE  ONLINE       rac12c1                  STABLE
--------------------------------------------------------------------------------
$ crsctl stat res -init  -t
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.asm
      1        ONLINE  ONLINE       rac12c1                  Started,STABLE
ora.cluster_interconnect.haip
      1        ONLINE  ONLINE       rac12c1                  STABLE
ora.crf
      1        ONLINE  ONLINE       rac12c1                  STABLE
ora.crsd
      1        ONLINE  ONLINE       rac12c1                  STABLE
ora.cssd
      1        ONLINE  ONLINE       rac12c1                  STABLE
ora.cssdmonitor
      1        ONLINE  ONLINE       rac12c1                  STABLE
ora.ctssd
      1        ONLINE  ONLINE       rac12c1                  ACTIVE:0,STABLE
ora.diskmon
      1        OFFLINE OFFLINE                               STABLE
ora.evmd
      1        ONLINE  ONLINE       rac12c1                  STABLE
ora.gipcd
      1        ONLINE  ONLINE       rac12c1                  STABLE
ora.gpnpd
      1        ONLINE  ONLINE       rac12c1                  STABLE
ora.mdnsd
      1        ONLINE  ONLINE       rac12c1                  STABLE
ora.storage
      1        ONLINE  ONLINE       rac12c1                  STABLE
--------------------------------------------------------------------------------

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

时间: 2024-10-10 16:57:27

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

rac中 crsctl start/stop crs and crsctl start/stop cluster 区别

官网解释: crsctl start/stop crs - Manage start/stop the entire Oracle Clusterware stack on a node, including the OHASD process, this command is to be used only on the local node.. crsctl start/stop cluster - Manage start/stop the Oracle Clusterware stack

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',这个问题好像是因为在version4.x中移除了express.configure()方法,你只需要重新将express版本返回version3.x版本即可 (执行指令npm install [email protected]) 文章参考地址:http://stackoverflow.com/q

/res/values详解

# /res/values 目录详解 ------ **/res/values** 下可以放置的文件有: > * strings.xml > * arrays.xml > * dimens.xml > * colors.xml > * styles.xml ### 绘制表格 | 文件类型  |作用|temp| | --------   | -----:  | :----:  | | strings.xml     | $1600 |        | | arrays.xml

name lookup of 'res' changed for new ISO(转)

{ int exp = 10; cout << pow ( val, exp ) << endl; { for ( int res=1 ; exp > 0; exp-- ) return res; 在linux下用g++编译会出现如下错误: error: name lookup of ‘res’ changed for ISO ‘for’ scoping note: (if you use ‘-fpermissive’ G++ will accept your code) 它

android资源目录---assets与res/raw区别

android资源目录---assets与res/raw的不同 Android 2011-05-24 14:40:21 阅读20 评论0   字号:大中小 订阅 assets:用于存放需要打包到应用程序的静态文件,以便部署到设备中.与res/raw不同点在于,ASSETS支持任意深度的子目录.这些文件不会生成任何资源ID,必须使用/assets开始(不包含它)的相对路径名. res:用于存放应用程序的资源(如图标.GUI布局等),将被打包到编译后的Java中.不支持深度子目录 res/menu:

android res与assets资源的区别

android应用可以将资源存储在两个目录:res和assets.其中res目录中的资源只能存储在相应的 子目录(如res/layout.res/values等)中,不能直接将资源存储在res目录中.assets目录中的 资源可以任意存放,也可以建立任意层次的子目录.res和assets资源的主要区别如下. 1.引用资源的方式不同 res目录中的所有资源都会在R类的相应子类中生成对应的int类型变量,需要使用这些变量 来引用资源.例如res/layout/main.xml是布局文件资源,会在R.

【oracle 11G Grid 】Crsctl start cluster 和 crsctl start crs 有区别么?

 [oracle 11G Grid ]Crsctl start cluster 和 crsctl start crs 有区别么? q:Crsctl start cluster 是 11.2新特性和 crsctl start crs 有啥区别呢? Crsctl start/stop crs管理本地节点的clusterware stack的启停,包含启动ohasd进程,这个命令只能用来管理本地节点 . [[email protected] ~]# crsctl start crs -h Usag

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

版权声明:本文为博主原创文章,未经博主允许不得转载. 前言 封装了以下功能: 1.读取assets目录下的资源html.文件.图片,将文件复制到SD卡目录中: 2.读取res/raw目录下的文件内容: 3.读写./data/data/包名/下的文件: 效果图 代码分析 最常用的方法:getStringFromAssert(Context mContext, String assetsFilePath)[读取assets目录中的文件字符串] 使用步骤 一.项目组织结构图 注意事项: 1.  导入类

Express4.x常用API(一):res

最近在学习NodeJS,用到了express,看着官网上的API手册,打算把其中比较常用到的API根据自己理解翻译一下,方便自己学习使用. 该篇打算用来记录下express中res. 由于水平有限,希望能得到大家的修改,在学习过程中我会持续更新修改 Properties res.app res.headersSent res.locals Methods res.append() res.cookie() res.clearCookie() res.download() res.end() re