Use the crsctl status resource
command to obtain the status and configuration information of many particular resources.
Use this command, depending on how you want the information about the status of the resource returned.
To check the status of specific resources:
crsctl status resource resource_name [...] | -w "filter" [-p | -v] | [-f | -l | -g] [[-k cid | -n server_name] [ -e [-p | -v]] [-d did]] | [-s -k cid [-d did]]
To print the status of the resources in tabular form:
crsctl status resource resource_name [...] | -w "filter" -t
To print a list of the resource dependencies:
crsctl status resource [resource_name [...]] -dependency [-stop | -pullup]
Table E-21 crsctl status resource Command Parameters
Parameter | Description |
---|---|
resource_name [...] | -w "filter" |
One or more space-delimited resource names of which you want to check the status. Or you can specify a resource filter that Oracle Clusterware uses to limit the number of resources displayed. The filter must be enclosed in double quotation marks (
See Also: "Filters" for more information |
[-p | -v] | [-f | -l | -g] |
You can optionally specify the following parameters:
|
[[-k cid | -n server_name] [ -e [-p | -v]] [-d did | [-s -k cid [-d did]]] |
You can specify one of the following two options:
|
-t |
Specify the |
-dependency [-stop | -pullup] |
Specify the Use either of the following options with the
|
Either a space-delimited list of resources or a resource filter is required.
You must have read permissions on the specified resources to obtain their status.
Use crsctl status resource
to query the status information of any resource deployed in the cluster. Oracle recommends, however, that you use the respective SRCVTL command to query the status information of Oracle (ora.*
) resources.
The crsctl status resource
command returns output similar to the following:
$ crsctl status resource ora.staii14.vip NAME=ora.staii14.vip TYPE=ora.cluster_vip_net1.type TARGET=ONLINE STATE=ONLINE on staii14
The following example shows the start dependencies for a resource named ora.newdb.db
:
$ crsctl status resource ora.newdb.db -dependency ora.newdb.db(ora.database.type) ora.ACFS_DG1.dg(ora.diskgroup.type)[hard,pullup] ora.asm(ora.asm.type)[hard,pullup] ora.LISTENER.lsnr(ora.listener.type)[weak] type:ora.cluster_vip_net1.type[hard:type,pullup:type] ora.net1.network(ora.network.type)[hard,pullup] ora.dbhome_dg.dbhome_dg_v.acfs(ora.acfs.type)[hard,pullup] ora.asm(ora.asm.type)[pullup:always]