296 lines
12 KiB
HTML
296 lines
12 KiB
HTML
|
|
||
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>Dump Cluster Trace (DMPCLUTRC)</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body bgcolor="white">
|
||
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<a name="DMPCLUTRC.Top_Of_Page"></a>
|
||
|
<h2>Dump Cluster Trace (DMPCLUTRC)</h2>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
||
|
<b>Threadsafe: </b>No
|
||
|
</td>
|
||
|
<td valign="top" align="right">
|
||
|
<a href="#DMPCLUTRC.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#DMPCLUTRC.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#DMPCLUTRC.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="DMPCLUTRC"></a>
|
||
|
<p>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.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>To use this command, you must have either service (*SERVICE) special authority or be authorized to the Service Trace function of the operating system through iSeries Navigator's Application Administration support.
|
||
|
</li>
|
||
|
<li>You must also have use (*USE) authority to any cluster resource group object that is to be dumped with this command.
|
||
|
</li>
|
||
|
<li>The cluster must be at version 3 or greater for this command to work remotely (work on any node other than the node issuing the command).
|
||
|
</li>
|
||
|
<li>Cluster Resource Services must either be active or in the process of starting on the node that this command is issued from.
|
||
|
</li>
|
||
|
<li>Only nodes that have a job for the desired cluster resource group may particpate in this command.
|
||
|
</li>
|
||
|
<li>To determine if this command succeeded, check the affected nodes for a dump file. If a file is not there, then check the job log for the associated cluster job for messages.
|
||
|
</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMPCLUTRC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="DMPCLUTRC.PARAMETERS.TABLE">Parameters</a></h3>
|
||
|
<table border="1" cellpadding="4" cellspacing="0">
|
||
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
||
|
<tr>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DMPCLUTRC.CLUSTER"><b>CLUSTER</b></a></td>
|
||
|
<td valign="top">Cluster</td>
|
||
|
<td valign="top"><i>Name</i></td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DMPCLUTRC.CRG"><b>CRG</b></a></td>
|
||
|
<td valign="top">Cluster resource group</td>
|
||
|
<td valign="top"><i>Name</i>, *ALL</td>
|
||
|
<td valign="top">Required, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DMPCLUTRC.NODE"><b>NODE</b></a></td>
|
||
|
<td valign="top">Node identifier</td>
|
||
|
<td valign="top"><i>Name</i>, *ALL, <b><u>*LOCAL</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DMPCLUTRC.LEVEL"><b>LEVEL</b></a></td>
|
||
|
<td valign="top">Level</td>
|
||
|
<td valign="top"><b><u>*BASIC</u></b>, *ERROR, *INFO, *VERBOSE</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#DMPCLUTRC.FILE"><b>FILE</b></a></td>
|
||
|
<td valign="top">Physical file</td>
|
||
|
<td valign="top"><i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: Physical file</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*NODE</u></b></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: Library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>QGPL</u></b>, *CURLIB</td>
|
||
|
</tr><tr>
|
||
|
<td valign="top"><a href="#DMPCLUTRC.OVERWRITE"><b>OVERWRITE</b></a></td>
|
||
|
<td valign="top">Overwrite option</td>
|
||
|
<td valign="top"><b><u>*YES</u></b>, *NO</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMPCLUTRC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="DMPCLUTRC.CLUSTER"></a>
|
||
|
<h3>Cluster (CLUSTER)</h3>
|
||
|
<p>Specifies the cluster name for which information is to be dumped or printed.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the cluster.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMPCLUTRC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DMPCLUTRC.CRG"></a>
|
||
|
<h3>Cluster resource group (CRG)</h3>
|
||
|
<p>Specifies the cluster resource group that is to be dumped.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All groups, including the reserved names QCSTCTL and QCSTCRGM.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the cluster resource group to be dumped. The reserved names for the Cluster Control and Cluster Resource Group Manager groups, QCSTCTL and QCSTCRGM, respectively, may also be specified.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMPCLUTRC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DMPCLUTRC.NODE"></a>
|
||
|
<h3>Node identifier (NODE)</h3>
|
||
|
<p>Specifies the cluster node that is to be dumped.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*LOCAL</u></b></dt>
|
||
|
<dd>The local node, that is, the node this command is issued on.
|
||
|
</dd>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All active nodes in the cluster.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specifies the name of the cluster node.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMPCLUTRC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DMPCLUTRC.LEVEL"></a>
|
||
|
<h3>Configuration object type (LEVEL)</h3>
|
||
|
<p>Specifies the dump level. The amount and kind of information in each level is dependent on the particular cluster resource group being dumped.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*BASIC</u></b></dt>
|
||
|
<dd>Specifies the basic level of dump information. This dumps information that is maintained continuously as flight recorder information.
|
||
|
</dd>
|
||
|
<dt><b>*ERROR</b></dt>
|
||
|
<dd>Specifies the error level of dump information. This dumps error information, and includes the *BASIC level information.
|
||
|
</dd>
|
||
|
<dt><b>*INFO</b></dt>
|
||
|
<dd>Specifies the informational level of dump information. This dumps completion and warning information, and includes the *ERROR level.
|
||
|
</dd>
|
||
|
<dt><b>*VERBOSE</b></dt>
|
||
|
<dd>Specifies the verbose level of dump information. This dumps detailed trace and debugging information, and includes the *INFO level.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMPCLUTRC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DMPCLUTRC.FILE"></a>
|
||
|
<h3>Physical file (FILE)</h3>
|
||
|
<p>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.
|
||
|
</p>
|
||
|
<p><b>Qualifier 1: Physical file</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NODE</u></b></dt>
|
||
|
<dd>The cluster node identifier is used as the file name. For example, if a cluster node identifier is NODE1, then the file name is NODE1. If multiple nodes are being dumped, then each node will have a different file name.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the physical file. This name is used on all nodes.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Qualifier 2: Library</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>QGPL</u></b></dt>
|
||
|
<dd>The file will be created in library QGPL.
|
||
|
</dd>
|
||
|
<dt><b>*CURLIB</b></dt>
|
||
|
<dd>The current library of the job that is invoking this command is used. The library is determined before a dump request is sent to any other node.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the library that contains the physical file. The same library is used on all specified nodes. No dump is taken on any node that does not have the library.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMPCLUTRC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DMPCLUTRC.OVERWRITE"></a>
|
||
|
<h3>Overwrite option (OVERWRITE)</h3>
|
||
|
<p>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.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*YES</u></b></dt>
|
||
|
<dd>The specified file will be overwritten.
|
||
|
</dd>
|
||
|
<dt><b>*NO</b></dt>
|
||
|
<dd>The specified file will not be overwritten. If the file exists, no dump on the specified node occurs.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMPCLUTRC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DMPCLUTRC.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Dumping One Cluster Resource Group on One Node</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DMPCLUTRC CLUSTER(EXAMPLE) CRG(CRG1) NODE(NODE1)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>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.
|
||
|
</p>
|
||
|
<p><b>Example 2: Dumping One Cluster Resource Group on All Nodes</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DMPCLUTRC CLUSTER(EXAMPLE) CRG(CRG1) NODE(*ALL)
|
||
|
LEVEL(*ERROR) FILE(QGPL/*NODE) OVERWRITE(*NO)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>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/<i>node-identifier</i>.
|
||
|
</p>
|
||
|
<p><b>Example 3: Dumping All Cluster Resource Groups on All Nodes</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DMPCLUTRC CLUSTER(EXAMPLE) CRG(*ALL) NODE(*ALL)
|
||
|
LEVEL(*INFO) FILE(MYLIB/DUMP) OVERWRITE(*YES)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>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.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMPCLUTRC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DMPCLUTRC.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF222E</b></dt>
|
||
|
<dd>&1 special authority is required.
|
||
|
</dd>
|
||
|
<dt><b>CPF98A2</b></dt>
|
||
|
<dd>Not authorized to &1 command.
|
||
|
</dd>
|
||
|
<dt><b>CPFBB02</b></dt>
|
||
|
<dd>Cluster &1 does not exist.
|
||
|
</dd>
|
||
|
<dt><b>CPFBB09</b></dt>
|
||
|
<dd>Cluster node &1 does not exist in cluster &2.
|
||
|
</dd>
|
||
|
<dt><b>CPFBB0F</b></dt>
|
||
|
<dd>Cluster resource group &1 does not exist in cluster &2.
|
||
|
</dd>
|
||
|
<dt><b>CPFBB70</b></dt>
|
||
|
<dd>Request &1 not compatible with current cluster version.
|
||
|
</dd>
|
||
|
<dt><b>CPFBBA0</b></dt>
|
||
|
<dd>Cluster node &1 in cluster resource group &2 is not responding.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DMPCLUTRC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|