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

245 lines
11 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>Add CRG Device Entry (ADDCRGDEVE)</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="ADDCRGDEVE.Top_Of_Page"></a>
<h2>Add CRG Device Entry (ADDCRGDEVE)</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="#ADDCRGDEVE.PARAMETERS.TABLE">Parameters</a><br>
<a href="#ADDCRGDEVE.COMMAND.EXAMPLES">Examples</a><br>
<a href="#ADDCRGDEVE.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="ADDCRGDEVE"></a>
<p>The Add Cluster Resource Group Device Entry (ADDCRGDEVE) command is used to add one or more configuration objects representing resilient hardware devices to a device cluster resource group. All devices being added must be able to be switched from one cluster node to another. When the cluster resource group is switched over or failed over to the first backup system, all devices in the device list are moved to the backup system.
</p>
<p>If the cluster resource group contains any members of an auxiliary storage pool group, it must contain <b>all</b> members before the cluster resource group can be started. All members do not have to be specifed at once. Additional members can be added later. If the auxiliary storage pool group has previously been created and clustering can determine which members are in the group, a warning message is sent if some members of the group were not added.
</p>
<p>If an exit program is specified for the cluster resource group, the cluster resource group exit program is called with an action code of Add Device Entry on all active nodes in the recovery domain. The cluster resource group status is set to Add Device Entry Pending. If the exit program completes successfully, the cluster resource group status is reset to its value at the time the command was called. If the exit program fails and the cluster resource group cannot be restored to its original condition, the cluster resource group status is set to Indoubt.
</p>
<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 active on the node processing the request.
</li>
<li>The number of configuration objects being added plus the number of configuration objects already in the cluster resource group cannot exceed 256.
</li>
<li>The configuration objects being added cannot be specified in another cluster resource group.
</li>
<li>If the primary node does not currently own the specified devices, the command fails with an error message.
</li>
<li>All nodes in the recovery domain must be active.
</li>
<li>For the configuration objects specified:
<ol>
<li>Only auxiliary storage pool devices are supported.
</li>
<li>You must create the configuration object for the devices being added on all nodes in the recovery domain of the cluster resource group.
</li>
<li>The resource name specified in the configuration object must be the same on all nodes in the recovery domain.
</li>
<li>Devices attached to the same IOP or high-speed link I/O bridge can be specified for only one cluster resource group.
</li>
<li>If devices attached to different IOPs or high-speed link I/O bridges are grouped such as for an auxiliary storage pool, all devices for the affected IOPs or high-speed link I/O bridges must be specified in the same cluster resource group.
</li>
<li>The IOP or high-speed link I/O bridge controlling the devices specified in a cluster resource group must be accessible by all nodes in the cluster resource group's recovery domain. This is verified if sufficient hardware configuration has been performed so that all nodes are aware of the new hardware. If hardware configuration is incomplete, this is verified when the Start Cluster Resource Group (STRCRG) command is called.
</li>
<li>If a data base name is specified in the configuration object, it must be the same on all nodes in the recovery domain.
</li>
<li>If a new auxiliary storage pool group is added to an active cluster resource group, all members of the auxiliary storage pool group must be specified.
</li>
<li>If a server takeover IP address is specified, it must exist on all nodes in the recovery domain if the cluster resource group is active. The server takeover IP address must be unique within the cluster. It can only be associated with a primary auxiliary storage pool.
</li>
</ol>
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDCRGDEVE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="ADDCRGDEVE.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="#ADDCRGDEVE.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="#ADDCRGDEVE.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" rowspan="5"><a href="#ADDCRGDEVE.CFGOBJ"><b>CFGOBJ</b></a></td>
<td valign="top">Configuration object list</td>
<td valign="top">Values (up to 256 repetitions): <i>Element list</i></td>
<td valign="top" rowspan="5">Required, Positional 3</td>
</tr>
<tr>
<td valign="top">Element 1: Configuration object</td>
<td valign="top">
<i>Name</i></td>
</tr>
<tr>
<td valign="top">Element 2: Configuration object type</td>
<td valign="top">
<b><u>*DEVD</u></b></td>
</tr>
<tr>
<td valign="top">Element 3: Configuration object online</td>
<td valign="top">
<b><u>*OFFLINE</u></b>, *ONLINE, *PRIMARY</td>
</tr>
<tr>
<td valign="top">Element 4: Server takeover IP address</td>
<td valign="top">
<i>Character value</i>, <b><u>*NONE</u></b></td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#ADDCRGDEVE.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="ADDCRGDEVE.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="#ADDCRGDEVE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDCRGDEVE.CRG"></a>
<h3>Cluster resource group (CRG)</h3>
<p>Specifies the cluster resource group which is to contain the device entries.
</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="#ADDCRGDEVE.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="ADDCRGDEVE.CFGOBJ"></a>
<h3>Configuration object list (CFGOBJ)</h3>
<p>Specifies detailed information about the resilient devices to be added to the cluster resource group.
</p>
<p>This is a required parameter.
</p>
<p><b>Element 1: Configuration object</b>
</p>
<p>The name of the auxiliary storage pool device description object which can be switched between the nodes in the recovery domain. An auxiliary storage pool device description can be specified in only one cluster resource group.
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the configuration object.
</dd>
</dl>
<p><b>Element 2: Configuration object type</b>
</p>
<p>Specifies the type of configuration object specified with configuration object.
</p>
<dl>
<dt><b><u>*DEVD</u></b></dt>
<dd>Configuration objects of type device description.
</dd>
</dl>
<p><b>Element 3: Configuration object online</b>
</p>
<p>Specifies what configuration action to take when the cluster resource group is switched over or failed over to a backup node. The configuration object can be varied on and start the server takeover IP address or leave the configuration object varied off and the server takeover IP address inactive and does not start or end the server takeover IP address when device ownership is moved to another node. This attribute does not vary the device on or off when the cluster resource group is started or ended.
</p>
<dl>
<dt><b><u>*OFFLINE</u></b></dt>
<dd>Do not vary the configuration object on and do not start the server takeover IP address.
</dd>
<dt><b>*ONLINE</b></dt>
<dd>Vary the configuration object on and start the server takeover IP address.
</dd>
<dt><b>*PRIMARY</b></dt>
<dd>This is a secondary ASP. Vary on processing is determined by the corresponding primary ASP for this ASP group.
</dd>
</dl>
<p><b>Element 4: Server takeover IP address</b>
</p>
<p>Specifies a takeover IP address for servers associated with the relational database name in the device description for an auxiliary storage pool. This element is optional and can only be specified for a primary auxiliary storage pool. If specified, the address must be presented in dotted decimal format. The specified address must exist on all nodes in the recovery domain if the cluster resource group is active. If not specified, or for a secondary or UDFS auxiliary storage pool, the element must be set to *NONE.
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>There is no server takeover IP address associated with the relational database name in the device descrption.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the server takeover IP address associated with the relational database name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDCRGDEVE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDCRGDEVE.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
ADDCRGDEVE CLUSTER(MYCLUSTER) CRG(MYCRG)
CFGOBJ((IASP01 *DEVD *ONLINE *NONE))
</pre>
</p>
<p>This command adds an ASP device description object, IASP01, to the device list of the resilient device cluster resource group MYCRG in the cluster MYCLUSTER. If MYCRG is switched over or failed over to a backup node, the device will be varied on to the new primary.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#ADDCRGDEVE.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="ADDCRGDEVE.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="#ADDCRGDEVE.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>