390 lines
12 KiB
HTML
390 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">
|
||
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
||
|
<title>Delete Cluster (QcstDeleteCluster) API</title>
|
||
|
<!-- Begin Header Records ========================================== -->
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<!-- Change History: -->
|
||
|
<!-- YYMMDD USERID Change description -->
|
||
|
<!-- CLUST2A SCRIPT A converted by B2H R4.1 (346) (CMS) by NLJONES at -->
|
||
|
<!-- RCHVMX on 24 Feb 1999 at 17:15:51 -->
|
||
|
<!-- Edited by Kersten Oct 2001 -->
|
||
|
<!-- End Header Records -->
|
||
|
<!-- -->
|
||
|
<!-- -->
|
||
|
<!-- -->
|
||
|
<!-- Begin Developer Note ========================================== -->
|
||
|
<!-- NOTE: If you are adding, changing, or removing ANY requirements -->
|
||
|
<!-- for this API chance are good that the GUI code need to change -->
|
||
|
<!-- also. The Cluster GUI code is built on top of this API and it -->
|
||
|
<!-- does a certain amount of explicit and implicit validation -->
|
||
|
<!-- checking of user data prior to the API call being made. Please -->
|
||
|
<!-- have the Cluster GUI developer check the -->
|
||
|
<!--/as400/v5r4m0.guix/cur/cmvc/java.pgm/ugcl.guix/com/ibm/as400/opnav/ugcl/ClGuiActionsManager.java/ClGuiActionsManager.java -->
|
||
|
<!-- part to determine if any Cluster GUI code changes are needed. -->
|
||
|
<!-- End Developer Note -->
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<!--Java sync-link-->
|
||
|
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
|
||
|
</script>
|
||
|
|
||
|
<a name="Top_Of_Page"></a>
|
||
|
|
||
|
<h2>Delete Cluster (QcstDeleteCluster) API</h2>
|
||
|
|
||
|
<div class="box" style="width: 70%;">
|
||
|
<br>
|
||
|
Required Parameter Group:<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td align="center" valign="TOP" width="10%">1</td>
|
||
|
<td align="LEFT" valign="TOP">Request handle</td>
|
||
|
<td align="LEFT" valign="TOP" width="20%">Output</td>
|
||
|
<td align="LEFT" valign="TOP" width="20%">Char(16)</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="TOP">2</td>
|
||
|
<td align="LEFT" valign="TOP">Cluster name</td>
|
||
|
<td align="LEFT" valign="TOP">Input</td>
|
||
|
<td align="LEFT" valign="TOP">Char(10)</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="TOP">3</td>
|
||
|
<td align="LEFT" valign="TOP">Results information</td>
|
||
|
<td align="LEFT" valign="TOP">Input</td>
|
||
|
<td align="LEFT" valign="TOP">Char(30)</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="TOP">4</td>
|
||
|
<td align="LEFT" valign="TOP">Error code</td>
|
||
|
<td align="LEFT" valign="TOP">I/O</td>
|
||
|
<td align="LEFT" valign="TOP">Char(*)</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
Service Program: QCSTCTL<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Default Public Authority: *EXCLUDE<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Threadsafe: Yes<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
</div>
|
||
|
|
||
|
<p>The Delete Cluster (QcstDeleteCluster) API is used to delete a cluster
|
||
|
created by the <a href="clcntcrtc.htm">Create Cluster (QcstCreateCluster)</a>
|
||
|
API. All cluster resource group (CRG) objects and device domains associated
|
||
|
with the cluster are deleted, Cluster Resource Services is ended on each node
|
||
|
in the cluster membership list, and the cluster is deleted.</p>
|
||
|
|
||
|
<p>The following conditions apply to this API:</p>
|
||
|
|
||
|
<ul>
|
||
|
<li>The Delete Cluster API must be called from a program running on a node in
|
||
|
the cluster.</li>
|
||
|
|
||
|
<li>If the API is initiated from a cluster node with a status of Active, all
|
||
|
active cluster nodes will be removed from the cluster, and the cluster resource
|
||
|
group objects associated with the cluster will be deleted. Cluster resource
|
||
|
group objects on nodes with a status of Inactive or Failed will not be
|
||
|
deleted.</li>
|
||
|
|
||
|
<li>If the API is initiated from a cluster node with a status of Failed or
|
||
|
Inactive, only that node is removed from the cluster and cluster resource group
|
||
|
objects on that node are deleted.</li>
|
||
|
|
||
|
<li>Cluster Resource Group Manager will call cluster resource group exit
|
||
|
programs with an action code of Delete (7) or Delete Command(14) if Cluster
|
||
|
Resource Services is not active on the node where the API is run.</li>
|
||
|
|
||
|
<li>This API may be called when the cluster is in a partitioned state. In this
|
||
|
case, the delete operation will only be performed within the partition running
|
||
|
the API.</li>
|
||
|
|
||
|
<li>A node which was a member of a device domain has internal information
|
||
|
related to auxiliary storage pools such as disk unit numbers or virtual memory
|
||
|
addresses. After a cluster is deleted, this internal information persists until
|
||
|
the node is IPLed. If the cluster is deleted, the node must be IPLed before the
|
||
|
node can become a member of another device domain.</li>
|
||
|
</ul>
|
||
|
|
||
|
<p>This API operates in an asynchronous mode.
|
||
|
See <a href="clust1a3.htm#HDRASYMOD">Behavior of Cluster Resource Services APIs</a> for
|
||
|
more information.</p>
|
||
|
|
||
|
<p><strong>Restriction:</strong> This API cannot be called from a cluster
|
||
|
resource group exit program.<br>
|
||
|
</p>
|
||
|
|
||
|
<h3>Authorities and Locks</h3>
|
||
|
|
||
|
<p>This API is shipped with *EXCLUDE public authority. </p>
|
||
|
<p>The program that calls this API must be running under a user profile with
|
||
|
*IOSYSCFG special authority.</p>
|
||
|
<dl>
|
||
|
|
||
|
<dt><em>User Queue Authority</em></dt>
|
||
|
|
||
|
<dd>*OBJOPR and *ADD</dd>
|
||
|
|
||
|
<dt><em>User Queue Library Authority</em></dt>
|
||
|
|
||
|
<dd>*EXECUTE</dd>
|
||
|
|
||
|
<dt><em>User Queue Lock</em></dt>
|
||
|
|
||
|
<dd>*EXCLRD</dd>
|
||
|
</dl>
|
||
|
|
||
|
<br>
|
||
|
<h3>Required Parameter Group</h3>
|
||
|
|
||
|
<dl>
|
||
|
<dt><strong>Request handle</strong></dt>
|
||
|
|
||
|
<dd>OUTPUT; CHAR(16)
|
||
|
|
||
|
<p>A unique string or handle that identifies this API call. It is used to
|
||
|
associate this call to any responses placed on the user queue specified in the
|
||
|
results information parameter.</p>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>Cluster name</strong></dt>
|
||
|
|
||
|
<dd>INPUT; CHAR(10)
|
||
|
|
||
|
<p>The name of the cluster which is being deleted. This must be a valid simple
|
||
|
name.</p>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>Results information</strong></dt>
|
||
|
|
||
|
<dd>INPUT; CHAR(30)
|
||
|
|
||
|
<p>A library qualified user queue name followed by a reserved field.</p>
|
||
|
|
||
|
<p>Library qualified user queue: A user queue, which exists on the node from
|
||
|
which the API was called, that receives results information after the function
|
||
|
has completed on all active nodes in the cluster. See the <a href=
|
||
|
"#usage_notes">Usage Notes</a> section of this API for a description of the
|
||
|
data that is placed on this queue. This is a 20 character field. The first 10
|
||
|
characters contain the user queue name and the second 10 characters contain the
|
||
|
user queue library name. No special values are supported. QTEMP, *LIBL, and
|
||
|
*CURLIB are not valid for the library name. The attributes of this user queue
|
||
|
must be keyed.</p>
|
||
|
|
||
|
<p>Reserved: The last 10 characters of results information are reserved and
|
||
|
must be set to hexadecimal zero.</p>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>Error code</strong></dt>
|
||
|
|
||
|
<dd>I/O; CHAR(*)
|
||
|
|
||
|
<p>The structure in which to return error information. For the format of the
|
||
|
structure, see <a href="../apiref/error.htm#hdrerrcod">Error Code Parameter</a>.</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
<br>
|
||
|
<h3><a name="usage_notes">Usage Notes</a></h3>
|
||
|
|
||
|
<h4>Results Information User Queue</h4>
|
||
|
|
||
|
<p>Asynchronous results are returned to a user queue specified by the Results
|
||
|
Information parameter of the API. See <a href="clust1a4.htm">Cluster APIs Use of User Queues</a>
|
||
|
and <a href="clust1a5.htm">Using Results Information</a> for details on how to create the
|
||
|
results information user queue, the format of the entries, and how to use the
|
||
|
data placed on the queue. The data is sent to the user queue in the form of a
|
||
|
message identifier and the substitution data for the message (if any exists).
|
||
|
The following identifies the data sent to the user queue (excluding the message
|
||
|
text).</p>
|
||
|
|
||
|
<table width="100%" cellpadding="5">
|
||
|
<tr>
|
||
|
<th align="left" valign="top">Message ID</th>
|
||
|
<th align="left" valign="top">Message Text</th>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td width="15%" valign="top">CPCBB01 C</td>
|
||
|
<td width="85%" valign="top">Cluster Resource Services API &1
|
||
|
completed.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td width="15%" valign="top">CPF18BA D</td>
|
||
|
<td width="85%" valign="top">Error occurred with subsystem.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF3CF2 D</td>
|
||
|
<td align="left" valign="top">Error(s) occurred during running of &1
|
||
|
API.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPFBB24 D</td>
|
||
|
<td align="left" valign="top">Node &1 is not participating in &2 API
|
||
|
protocol</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPFBB2D D</td>
|
||
|
<td align="left" valign="top">Timeout detected while waiting for a
|
||
|
response.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPFBB46 D</td>
|
||
|
<td align="left" valign="top">Cluster Resource Services internal error.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPIBB02 I</td>
|
||
|
<td align="left" valign="top">Cluster &1 deleted from node &2.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
<br>
|
||
|
<h3>Error Messages</h3>
|
||
|
|
||
|
<p>Messages that are delivered
|
||
|
through the error code parameter are listed here. The data (messages) sent to
|
||
|
the results information user queue are listed in the <a href=
|
||
|
"#usage_notes">Usage Notes</a> above.</p>
|
||
|
|
||
|
<table width="100%" cellpadding="5">
|
||
|
<tr>
|
||
|
<th align="left" valign="top">Message ID</th>
|
||
|
<th align="left" valign="top">Error Message Text</th>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td width="15%" valign="top">CPF2113 E</td>
|
||
|
<td width="85%" valign="top">Cannot allocate library &1.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF3C1E E</td>
|
||
|
<td align="left" valign="top">Required parameter &1 omitted.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF3C39 E</td>
|
||
|
<td align="left" valign="top">Value for reserved field not valid.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF3CF1 E</td>
|
||
|
<td align="left" valign="top">Error code parameter not valid.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF3CF2 E</td>
|
||
|
<td align="left" valign="top">Error(s) occurred during running of &1
|
||
|
API.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF9801 E</td>
|
||
|
<td align="left" valign="top">Object &2 in library &3 not found.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF9802 E</td>
|
||
|
<td align="left" valign="top">Not authorized to object &2 in &3.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF9804 E</td>
|
||
|
<td align="left" valign="top">Object &2 in library &3 damaged.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF980C E</td>
|
||
|
<td align="left" valign="top">Object &1 in library &2 cannot be in an
|
||
|
independent auxiliary storage pool.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF9810 E</td>
|
||
|
<td align="left" valign="top">Library &1 not found.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF9820 E</td>
|
||
|
<td align="left" valign="top">Not authorized to use library &1.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF9872 E</td>
|
||
|
<td align="left" valign="top">Program or service program &1 in library
|
||
|
&2 ended. Reason code &3.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPFBB02 E</td>
|
||
|
<td align="left" valign="top">Cluster &1 does not exist.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPFBB32 E</td>
|
||
|
<td align="left" valign="top">Attributes of user queue &1 in library &2
|
||
|
are not valid.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPFBB39 E</td>
|
||
|
<td align="left" valign="top">Current user does not have IOSYSCFG special
|
||
|
authority.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPFBB44 E</td>
|
||
|
<td align="left" valign="top">&1 API cannot be called from a cluster
|
||
|
resource group exit program.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPFBB46 E</td>
|
||
|
<td align="left" valign="top">Cluster Resource Services internal error.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<hr>
|
||
|
API introduced: V4R4
|
||
|
|
||
|
<hr>
|
||
|
<center>
|
||
|
<table cellpadding="2" cellspacing="2">
|
||
|
<tr align="center">
|
||
|
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
|
||
|
"clust1a1.htm">Cluster APIs</a> | <a href="aplist.htm">APIs by
|
||
|
category</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</center>
|
||
|
</body>
|
||
|
</html>
|
||
|
|