ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/rmvcrgnode.htm

192 lines
7.1 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>Remove CRG Node Entry (RMVCRGNODE)</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="RMVCRGNODE.Top_Of_Page"></a>
<h2>Remove CRG Node Entry (RMVCRGNODE)</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="#RMVCRGNODE.PARAMETERS.TABLE">Parameters</a><br>
<a href="#RMVCRGNODE.COMMAND.EXAMPLES">Examples</a><br>
<a href="#RMVCRGNODE.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="RMVCRGNODE"></a>
<p>The Remove Cluster Resource Group Node Entry (RMVCRGNODE) command is used to remove a node from the recovery domain of a cluster resource group. The node being removed does not need to be active in the cluster to be removed from the recovery domain. When the node is removed from the recovery domain, the cluster resource group object is deleted from that system.
</p>
<p>For primary-backup model, if the cluster resource group has no backup nodes in either the current recovery domain or the preferred recovery domain, the primary node cannot be removed.
</p>
<p>This command results in the preferred recovery domain and the current recovery domain being updated.
</p>
<p>This command will do the following for all cluster resource group types:
</p>
<ol>
<li>Set the cluster resource group status to Remove Node Pending.
</li>
<li>Call the exit program on all active nodes in the recovery domain with an action code of Remove Node, if an exit program is specified for the cluster resource group.
</li>
<li>Reset the cluster resource group status to the value at the time the command was called, if the exit program completes successfully on all nodes.
</li>
<li>Set the cluster resource group status to Indoubt if the exit program fails on any node and the original state of the cluster resource group cannot be recovered.
</li>
</ol>
<p>This command will do the following for application cluster resource group:
</p>
<ol>
<li>If Cluster Resource Services configured the takeover IP address, it will be removed.
</li>
</ol>
<p>This command will do the following for device cluster resource groups:
</p>
<ol>
<li>If the node being removed is the current primary node, ownership of the devices specified in the cluster resource group are switched from the current primary to the new primary if none of the configuration objects on the current primary are varied on. If any configuration objects are varied on, an error message is returned. In addition, the new primary node must be active. Devices are not varied on after the ownership is switched. The node which is to become the new primary must be active in the cluster.
</li>
</ol>
<p><b>Restrictions:</b>
</p>
<ol>
<li>You must have input/output system configuration (*IOSYSCFG) special authority to run this command.
</li>
<li>This command cannot be called from a cluster resource group exit program.
</li>
<li>Cluster Resource Services must be started on the node processing the request.
</li>
<li>At least one node in the recovery domain must be active.
</li>
<li>For primary-backup model cluster resource groups:
<ul>
<li>The cluster resource group status must <b>not</b> be Active in order to remove the node that is currently the primary.
</li>
<li>If the cluster resource group has no backup nodes, the primary node cannot be removed.
</li>
</ul>
</li>
<li>For peer model cluster resource groups, the last node designated as a peer node cannot be removed if the cluster resource group status is Active.
</li>
<li>At least node must remain active in the recovery domain of the cluster resource group after the successful completion of the remove operation.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVCRGNODE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="RMVCRGNODE.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="#RMVCRGNODE.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="#RMVCRGNODE.CRG"><b>CRG</b></a></td>
<td valign="top">Cluster resource group</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#RMVCRGNODE.NODE"><b>NODE</b></a></td>
<td valign="top">Node identifier</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Positional 3</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#RMVCRGNODE.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="RMVCRGNODE.CLUSTER"></a>
<h3>Cluster (CLUSTER)</h3>
<p>Specifies the cluster to which the cluster resource group belongs.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the cluster which contains the cluster resource group.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVCRGNODE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RMVCRGNODE.CRG"></a>
<h3>Cluster resource group (CRG)</h3>
<p>Specifies the cluster resource group from which the node will be removed.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the cluster resource group.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVCRGNODE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RMVCRGNODE.NODE"></a>
<h3>Node identifier (NODE)</h3>
<p>Specifies the node that is to be removed from the recovery domain of the cluster resource group.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the node that is to be removed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVCRGNODE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="RMVCRGNODE.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
RMVCRGNODE CLUSTER(MYCLUSTER) CRG(MYCRG) NODE(RCHCST03)
</pre>
</p>
<p>This command removes node RCHCST03 from the recovery domain of cluster resource group MYCRG in cluster MYCLUSTER.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVCRGNODE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="RMVCRGNODE.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF1999</b></dt>
<dd>Errors occurred on command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RMVCRGNODE.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>