Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display Cluster Resource Group Information (DSPCRGINF) command is used to display or print information about cluster resource groups. It must be invoked from a node in the cluster. The information displayed or printed may not be current if the command is called on a node that has a status of Inactive or Failed. In this case, the information displayed or printed will reflect the state of the cluster when the node was last active. You can use this command to display or print a list of cluster resource groups or complete information about a cluster resource group.
If CRG(*LIST) is specified, the request for information is not distributed to other nodes in the cluster. The information about the cluster resource groups shows the values obtained from the node running this command. Several conditions (for example, Cluster Resource Services not active on the node running the command) may produce inconsistent information about a cluster resource group in the cluster.
When you request information for a specific cluster resource group, basic information for the cluster resource group is always shown. In addition, you can request additional details that include the recovery domain and the list of resilient devices. If Cluster Resource Services has been started, this command will return information about the cluster resource group even if it does not exist on the node from which the command is called provided at least one recovery domain node is active.
If Cluster Resource Services has not been started:
This command may be called from a cluster resource group exit program. However if the cluster resource group exit program was called as a result of the Create Cluster Resource Group (CRTCRG) command and you are requesting information for that cluster resource group, the command will fail.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
CLUSTER | Cluster | Name | Required, Positional 1 |
CRG | Cluster resource group | Character value, *LIST | Optional, Positional 2 |
OUTPUT | Output | Optional |
Top |
Specifies the cluster which contains the cluster resource groups for which information will be displayed or printed.
This is a required parameter.
Top |
Specifies the cluster resource group for which information is to be displayed or printed.
Top |
Specifies whether the output from the command is shown at the requesting workstation or printed with the job's spooled output. More information on this parameter is in commonly used parameters.
Top |
DSPCRGINF CLUSTER(MYCLUSTER) CRG(*LIST) OUTPUT(*PRINT)
This command will print the basic configuration information about all cluster resource groups defined in cluster MYCLUSTER.
Top |
Top |