Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Dump Cluster Trace (DMPCLUTRC) command is used for problem analysis. It dumps cluster-related trace and debug information to a file. The information is dumped locally on one or more cluster nodes, for one or more cluster resource groups. Each cluster resource group that is dumped has a file member in the file. The name of the file member is the name of the cluster resource group. The information dumped is dependent on the particular cluster resource group. The amount of information dumped is determined by the dump level. Only nodes that have an active Cluster Resource Services job for the specified cluster resource group will have a dump output.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
CLUSTER | Cluster | Name | Required, Positional 1 |
CRG | Cluster resource group | Name, *ALL | Required, Positional 2 |
NODE | Node identifier | Name, *ALL, *LOCAL | Optional |
LEVEL | Level | *BASIC, *ERROR, *INFO, *VERBOSE | Optional |
FILE | Physical file | Qualified object name | Optional |
Qualifier 1: Physical file | Name, *NODE | ||
Qualifier 2: Library | Name, QGPL, *CURLIB | ||
OVERWRITE | Overwrite option | *YES, *NO | Optional |
Top |
Specifies the cluster name for which information is to be dumped or printed.
This is a required parameter.
Top |
Specifies the cluster resource group that is to be dumped.
This is a required parameter.
Top |
Specifies the cluster node that is to be dumped.
Top |
Specifies the dump level. The amount and kind of information in each level is dependent on the particular cluster resource group being dumped.
Top |
Specifies the physical file that the dump is written to. The file is written on each node that the dump is requested on in accordance with the OVERWRITE parameter. The same library name is used on all nodes. If a file name is specified other than *NODE, then the file name will also be the same on all nodes.
Qualifier 1: Physical file
Qualifier 2: Library
Top |
Specifies whether the specified file will be overwritten or not. If the file exists, it will be deleted and re-created. This parameter is checked on a per node basis. If *NO is specified along with multiple nodes, then only those nodes that do not have the file will have dumps taken. A CPDBB07 message is sent to the job log of every Cluster Resource Services job that participates in the dump that indicates success, failure, or the file cannot be overwritten on the node.
Top |
Example 1: Dumping One Cluster Resource Group on One Node
DMPCLUTRC CLUSTER(EXAMPLE) CRG(CRG1) NODE(NODE1)
This command dumps cluster resource group CRG1 on the node NODE1 in cluster EXAMPLE. On NODE1, a file is created with the name QGPL/NODE1. It has one member named CRG1.
Example 2: Dumping One Cluster Resource Group on All Nodes
DMPCLUTRC CLUSTER(EXAMPLE) CRG(CRG1) NODE(*ALL) LEVEL(*ERROR) FILE(QGPL/*NODE) OVERWRITE(*NO)
This command dumps error information from cluster resource group CRG1 on all cluster nodes if the file does not exist. Each node checks individually for the file already existing. The name of the file is QGPL/node-identifier.
Example 3: Dumping All Cluster Resource Groups on All Nodes
DMPCLUTRC CLUSTER(EXAMPLE) CRG(*ALL) NODE(*ALL) LEVEL(*INFO) FILE(MYLIB/DUMP) OVERWRITE(*YES)
This command dumps all cluster resource groups on all nodes. The library name is determined by the job that invoked this command. If that library name is MYLIB, then each node has a file named MYLIB/DUMP, with one file member per group dumped in addition to members for QCSTCTL and QCSTCRGM. The file will be destroyed if it exists and re-created for the dump.
Top |
*ESCAPE Messages
Top |