270 lines
12 KiB
HTML
270 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>Change Cluster Recovery (CHGCLURCY)</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="CHGCLURCY.Top_Of_Page"></a>
|
||
|
<h2>Change Cluster Recovery (CHGCLURCY)</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="#CHGCLURCY.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#CHGCLURCY.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#CHGCLURCY.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="CHGCLURCY"></a>
|
||
|
<p>The Change Cluster Recovery (CHGCLURCY) command is used for problem recovery. Use this command only when directed by service provider. It directs a node in a cluster resource group to perform a specific recovery action. The recovery action can cancel the current protocol, force a recovery of the cluster resource group object associated with the cluster resource group, force a rejoin with the cluster resource group, end the job that is associated with the cluster resource group, cause a CRG job to be submitted on the node where the CHGCLURCY command was executed. The CRG job being submitted must not be currently running.
|
||
|
</p>
|
||
|
<p>The actions are intended to be used when a cluster resource group is experiencing a problem, and you need to force some recovery action onto the group. The problem may not be due to Cluster Resource Services. For example, Cluster Resource Services submits a job to invoke user exit programs. If the job is held, then it appears to a user that the cluster resource group is hung. A user may not know what exit program job was submitted, and so cannot perform any recovery outside of the cluster. Performing the appropriate recovery action with CHGCLURCY can satisfy Cluster Resource Services so it can fail the protocol that invoked the exit program job and continue.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>To use this command you must have job control (*JOBCTL) special authority, and either service (*SERVICE) special authority or be authorized to the Service Trace function of the operating system through iSeries Navigator's Application Administration support. You must also have change (*CHANGE) authority to any cluster resource group object that is to be acted upon 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 job logs of the affected cluster jobs for a CPDBB06 message indicating the recovery action performed.
|
||
|
</li>
|
||
|
</ol>
|
||
|
<p><b>Warning:</b> Use caution with this command, recovery actions cannot be undone or canceled.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGCLURCY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="CHGCLURCY.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="#CHGCLURCY.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="#CHGCLURCY.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="#CHGCLURCY.NODE"><b>NODE</b></a></td>
|
||
|
<td valign="top">Node identifier</td>
|
||
|
<td valign="top"><i>Name</i>, *ALL</td>
|
||
|
<td valign="top">Required, Positional 3</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGCLURCY.ACTION"><b>ACTION</b></a></td>
|
||
|
<td valign="top">Action</td>
|
||
|
<td valign="top">*CANCEL, *RESTART, *REJOIN, *END, *STRCRGJOB</td>
|
||
|
<td valign="top">Required, Positional 4</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGCLURCY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="CHGCLURCY.CLUSTER"></a>
|
||
|
<h3>Cluster (CLUSTER)</h3>
|
||
|
<p>Specifies the cluster that is to be operated upon.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specifies the name of the cluster to which a recovery action will be performed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGCLURCY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGCLURCY.CRG"></a>
|
||
|
<h3>Cluster resource group (CRG)</h3>
|
||
|
<p>Specifies the cluster resource group that is to be operated upon.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All groups, including the reserved groups QCSTCTL and QCSTCRGM.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the cluster resource group. The reserved names for the Cluster Control and Cluster Resource Group Manager groups, QCSTCTL and QCSTCRGM, respectively, may also be specified.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGCLURCY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGCLURCY.NODE"></a>
|
||
|
<h3>Node identifier (NODE)</h3>
|
||
|
<p>Specifies the cluster node that is to be operated upon.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All active nodes in the cluster.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the cluster node.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGCLURCY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGCLURCY.ACTION"></a>
|
||
|
<h3>Action (ACTION)</h3>
|
||
|
<p>Specifies a recovery action for the specified cluster resource group on the specified node.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<p><b>Notes:</b>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>The only valid value for NODE(*ALL) is *END.
|
||
|
</li>
|
||
|
<li>The only valid value for CRG(*ALL) is *END.
|
||
|
</li>
|
||
|
<li>For a CRG parameter value of QCSTCTL or QCSTCRGM, actions *RESTART or *REJOIN will cause clustering to end on the specified node, and then the node will automatically start. For *END, clustering will end on the node and clustering will not be automatically started.
|
||
|
</li>
|
||
|
<li>For *STRCRGJOB,only a specific cluster resource group name is allowed. Special values of QCSTCTL or QCSTCRGM are not allowed.
|
||
|
</li>
|
||
|
</ol>
|
||
|
<dl>
|
||
|
<dt><b>*CANCEL</b></dt>
|
||
|
<dd>Cancels the current protocol request. If no protocol is in-progress, the action is ignored.
|
||
|
</dd>
|
||
|
<dt><b>*RESTART</b></dt>
|
||
|
<dd>Restart the specified node in the specified cluster resource group by performing a start action without the cluster resource group doing any failover of the node. The cluster resource group object associated with the cluster resource group will be recovered from another node in the recovery domain of the group. If there is not another active node in the recovery domain, then the cluster resource group will go inactive and no further operations on it will occur until another node in the recovery domain starts that has a valid cluster resource group object.
|
||
|
</dd>
|
||
|
<dt><b>*REJOIN</b></dt>
|
||
|
<dd>Rejoin the specified node in the specified cluster resource group. The cluster resource group will first do a failover, and then the cluster resource group will automatically start the node only for that cluster resource group.
|
||
|
</dd>
|
||
|
<dt><b>*END</b></dt>
|
||
|
<dd>End the cluster resource group job on the specified node. This may cause a failover in the cluster resource group. The cluster resource group will not automatically start the node, and no further cluster resource group operations can be performed on the node without first ending, then starting, clustering on the node.
|
||
|
</dd>
|
||
|
<dt><b>*STRCRGJOB</b></dt>
|
||
|
<dd>Submit a cluster resource group job on this node only. The NODE parameter must contain the name of the local node.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGCLURCY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CHGCLURCY.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Recovery Action for One Node in One Cluster Resource Group</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGCLURCY CLUSTER(EXAMPLE) CRG(CRG1) NODE(NODE1)
|
||
|
ACTION(*CANCEL)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command cancels the current protocol in cluster resource group CRG1 on node NODE1 in cluster EXAMPLE.
|
||
|
</p>
|
||
|
<p><b>Example 2: Recovery Action for a Reserved Cluster Resource Group</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGCLURCY CLUSTER(EXAMPLE) CRG(QCSTCRGM)
|
||
|
NODE(NODE1) ACTION(*RESTART)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command causes node NODE1 of cluster resource group QCSTCRGM in cluster EXAMPLE to end clustering on NODE1. Clustering on NODE1 will attempt to automatically restart itself as though NODE1 was started with the Start Cluster Node (STRCLUNOD) command.
|
||
|
</p>
|
||
|
<p><b>Example 3: Recovery Action for All Nodes</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGCLURCY CLUSTER(EXAMPLE) CRG(CRG1)
|
||
|
NODE(*ALL) ACTION(*END)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command causes all cluster jobs on all nodes associated with cluster resource group CRG1 in cluster EXAMPLE to end. No further operations on CRG1 can be performed on a given node until that node has clustering ended, and then started. The End Cluster Node (ENDCLUNOD) and STRCLUNOD commands may be used for ending and starting a cluster node.
|
||
|
</p>
|
||
|
<p><b>Example 4: Recovery Action for All Groups</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGCLURCY CLUSTER(EXAMPLE) CRG(*ALL)
|
||
|
NODE(NODE1) ACTION(*END)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command causes all cluster jobs on node NODE1 in cluster EXAMPLE to end. This has the effect of ending clustering on NODE1. To start the cluster jobs on NODE1 requires NODE1 to have clustering started on it. The STRCLUNOD command may be used for starting a cluster node.
|
||
|
</p>
|
||
|
<p><b>Example 5: Start CRG1 Job on Node NODE1</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGCLURCY CLUSTER(EXAMPLE) CRG(CRG1)
|
||
|
NODE(NODE1) ACTION(*STRCRGJOB)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command will cause cluster resource group job, CRG1, on node NODE1 to be submitted. To start the cluster resource group job on NODE1 requires NODE1 to have clustering started on it. The STRCLUNOD command may be used for starting a cluster node.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGCLURCY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CHGCLURCY.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="#CHGCLURCY.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|