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

208 lines
8.3 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>Create Cluster (CRTCLU)</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="CRTCLU.Top_Of_Page"></a>
<h2>Create Cluster (CRTCLU)</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="#CRTCLU.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CRTCLU.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CRTCLU.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CRTCLU"></a>
<p>The Create Cluster (CRTCLU) command is used to create a new cluster of one or more nodes. Each node specified on the Node parameter will be placed in the cluster membership list.
</p>
<p>If the Start indicator (START) parameter value is *NO, each node that is being added will have a status of New and Cluster Resource Services will not be started on any node. In order to start Cluster Resource Services, the Start Cluster Node (STRCLUNOD) command must be invoked on a node that ran the CRTCLU command. The STRCLUNOD command may be used to start nodes in the cluster membership list.
</p>
<p>If the START parameter value is *YES, the cluster can contain only one node. Cluster Resource Services will be started on the node being defined. If Cluster Resource Services is not successfully started, the status of the node remains New.
</p>
<p>If the NODE0100 format is chosen, the current cluster version will be set equal to the requesting node's potential node version.
</p>
<p>After Cluster Resource Services has been started on the original node, additional nodes can only be started by calling the Start Cluster Node (STRCLUNOD) command on the original node. If Cluster Resource Services is active on more than one node, additional nodes may be started by invoking the Start Cluster Node (STRCLUNOD) command on any node that has a status of Active.
</p>
<p>Once the cluster has been created, the Add Cluster Node Entry (ADDCLUNODE) command can be used to add additional nodes to the cluster membership list. The ADDCLUNODE command can be invoked on any node in the cluster that has a status of Active or from the node on which the cluster was originally created.
</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>A node can be a member of only one cluster.
</li>
<li>You must include the system on which the command is issued in the cluster membership list.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLU.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CRTCLU.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="#CRTCLU.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" rowspan="3"><a href="#CRTCLU.NODE"><b>NODE</b></a></td>
<td valign="top">Node list</td>
<td valign="top">Values (up to 128 repetitions): <i>Element list</i></td>
<td valign="top" rowspan="3">Required, Positional 2</td>
</tr>
<tr>
<td valign="top">Element 1: Node identifier</td>
<td valign="top">
<i>Name</i></td>
</tr>
<tr>
<td valign="top">Element 2: IP address</td>
<td valign="top">
Values (up to 2 repetitions): <i>Character value</i></td>
</tr>
<tr>
<td valign="top"><a href="#CRTCLU.START"><b>START</b></a></td>
<td valign="top">Start indicator</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCLU.VERSION"><b>VERSION</b></a></td>
<td valign="top">Target cluster version</td>
<td valign="top"><b><u>*CUR</u></b>, *PRV</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CRTCLU.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CRTCLU.CLUSTER"></a>
<h3>Cluster (CLUSTER)</h3>
<p>Specifies the cluster which will be created.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the cluster to be created.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLU.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCLU.NODE"></a>
<h3>Node identifier (NODE)</h3>
<p>Specifies information about the cluster and the list of nodes which will be placed in the cluster membership list. A maximum of 128 nodes can be in a cluster.
</p>
<p>This is a required parameter.
</p>
<p><b>Element 1: Node identifier</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name for the system that uniquely identifies a node.
</dd>
</dl>
<p><b>Element 2: IP address</b>
</p>
<p>The cluster interface address is an IP address that is used by Cluster Resource Services to communicate with other nodes in the cluster. A maximum of 2 interface addresses per node can be specified.
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the IP address to be used to communicate with other nodes in the cluster. The address is in dotted decimal format.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLU.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCLU.START"></a>
<h3>Start indicator (START)</h3>
<p>Specifies whether or not Cluster Resource Services is to be started on the node being defined.
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>Cluster Resource Services will be started on the node.
</dd>
<dt><b>*NO</b></dt>
<dd>Cluster Resource Services will not be started on any node.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLU.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCLU.VERSION"></a>
<h3>Target cluster version (VERSION)</h3>
<p>Specifies the version the cluster will use in conversation with other nodes in the cluster. This also determines the potential node version of the nodes allowed to join the cluster. The following possible values are based on the node originating the request.
</p>
<dl>
<dt><b><u>*CUR</u></b></dt>
<dd>The cluster will communicate at the requesting node's potential node version. In addition, nodes with a potential node version less than the requesting node will not be allowed to join the cluster.
</dd>
<dt><b>*PRV</b></dt>
<dd>The cluster will communicate at the requesting node's potential node version minus 1. This allows nodes at a previous potential node version to join the cluster. However, no new cluster function can be used until all nodes have the latest cluster version.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLU.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTCLU.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CRTCLU CLUSTER(MYCLUSTER)
NODE((NODE01 ('9.5.13.187')) (NODE02 ('9.5.13.193')))
START(*NO) VERSION(*PRV)
</pre>
</p>
<p>This command creates cluster MYCLUSTER. The cluster membership list is NODE01 and NODE02. Interface address 9.5.13.187 will be used to communicate with node NODE01. Interface address 9.5.13.193 will be used to communicate with node NODE02. Cluster communications will use the cluster version previous to the requesting nodes potential version level. Cluster Resource Services is not started on the nodes.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLU.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTCLU.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="#CRTCLU.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>