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

808 lines
32 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!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 Resource Group (CHGCRG)</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="CHGCRG.Top_Of_Page"></a>
<h2>Change Cluster Resource Group (CHGCRG)</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="#CHGCRG.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGCRG.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGCRG.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGCRG"></a>
<p>The Change Cluster Resource Group (CHGCRG) command changes some of the attributes of a cluster resource group. The cluster resource group object is changed on all active nodes in the recovery domain. Recovery domain nodes that are not active at the time of the change will have the change made when they become active again.
</p>
<p>For primary-backup model cluster resource groups, changing the node role to primary or changing the takeover IP address can only be done when the cluster resource group status is Inactive or Indoubt. If the cluster resource group is active, the Change Cluster Resource Group Primary (CHGCRGPRI) command can be used to assign the primary role to the first backup node.
</p>
<p>For peer model cluster resource groups:
</p>
<ul>
<li>The recovery domain role can be changed from peer to replicate or replicate to peer by specifying one or more recovery domain nodes. The full recovery domain does not need to be specified.
</li>
<li>If the cluster resource group is Active (10) and:
<ul>
<li>The role is changed from peer to replicate, the node becomes an inactive access point.
</li>
<li>The role is changed from replicate to peer, the node becomes an active access point.
</li>
</ul>
</li>
<li>There must be at least one node designated as peer if the cluster resource group is Active (10).
</li>
</ul>
<p>The following fields may be changed without causing the cluster resource group exit program to be called:
</p>
<ul>
<li>text description
</li>
<li>exit program data
</li>
<li>user profile
</li>
<li>takeover IP address
</li>
<li>job name
</li>
<li>allow application restart
</li>
<li>number of restarts
</li>
<li>the cluster resource group exit program
</li>
<li>failover message queue
</li>
<li>failover wait time
</li>
<li>failover default action
</li>
<li>cluster resource group exit program format name
</li>
<li>application identifier
</li>
</ul>
<p>This command will do the following for all cluster resource group types:
</p>
<ul>
<li>Call the cluster resource group exit program with an action code of Change on all active nodes in the recovery domain when either the preferred or current role is changed, if an exit program is specified for the cluster resource group. The cluster resource group status is set to Change 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.
</li>
<li>Change the cluster resource group without calling the exit program if neither node role, site name nor data port IP addresses are changed.
</li>
<li>Change the name to be used for batch jobs submitted by cluster resource group. If the cluster resource group status is Active, batch jobs already submitted will not be changed. Any jobs submitted after the change will use the new name. This is true for other attributes associated with a submitted exit program such as the user profile, the restart count and so on. Changes to the cluster resource group will not affect an exit program that was previously submitted and is either on a job queue or is running.
</li>
<li>For primary-backup model cluster resource groups, if the current node role in the recovery domain is changed and the cluster resource group is active and it has more than one backup node and some backup nodes are not active, the recovery domain may be reordered so that all active backup nodes are ordered before inactive backup nodes.
</li>
</ul>
<p>This command will do the following for application cluster resource groups:
</p>
<ul>
<li>If the Cluster Resource Services configures the takeover IP address, it will remove the current address and add the new address when the takeover IP address is changed. If either the add or remove address function fails, the command will fail.
</li>
<li>If the cluster resource group is active and the role of a node is being changed from replicate to backup, verify the takeover IP address exists and is not active on the node being changed. If the takeover IP address does not exist or is active on the node being changed, the command will fail.
</li>
</ul>
<p>This command will do the following for device cluster resource groups:
</p>
<ul>
<li>If the role of the current primary node is being changed, ownership of the devices specified in the cluster resource group is switched from the current primary to the new primary if the current primary has none of the devices varied on. If any devices are varied on, an error message is returned. In addition, the new primary node must be active. All members of an auxiliary storage pool group must be configured in the cluster resource group before ownership can be changed. Devices are not varied on after the ownership is switched.
</li>
</ul>
<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>Primary-backup model cluster resource groups must have a status of Inactive or Indoubt to designate a new primary node.
</li>
<li>If defined, the exit program must exist on all nodes in the recovery domain when the cluster resource group exit program is changed.
</li>
<li>There must be at least one active node in the recovery domain.
</li>
<li>If defined, the failover message queue must exist on all nodes in the recovery domain when the cluster resource group is changed.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGCRG.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="#CHGCRG.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="#CHGCRG.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="#CHGCRG.CRGTYPE"><b>CRGTYPE</b></a></td>
<td valign="top">Cluster resource group type</td>
<td valign="top">*DATA, *APP, *DEV, *PEER</td>
<td valign="top">Required, Positional 3</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGCRG.EXITPGM"><b>EXITPGM</b></a></td>
<td valign="top">CRG exit program</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *NONE<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: CRG exit program</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*CURLIB</u></b></td>
</tr><tr>
<td valign="top"><a href="#CHGCRG.EXITPGMFMT"><b>EXITPGMFMT</b></a></td>
<td valign="top">Exit program format name</td>
<td valign="top"><b><u>*SAME</u></b>, EXTP0100, EXTP0200</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGCRG.EXITPGMDTA"><b>EXITPGMDTA</b></a></td>
<td valign="top">Exit program data</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGCRG.USRPRF"><b>USRPRF</b></a></td>
<td valign="top">User profile</td>
<td valign="top"><i>Simple name</i>, <b><u>*SAME</u></b>, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGCRG.TEXT"><b>TEXT</b></a></td>
<td valign="top">Text 'description'</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGCRG.RCYDMNACN"><b>RCYDMNACN</b></a></td>
<td valign="top">Recovery domain action</td>
<td valign="top"><b><u>*SAME</u></b>, *CHGPREFER, *CHGCUR</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGCRG.TKVINTNETA"><b>TKVINTNETA</b></a></td>
<td valign="top">Takeover IP address</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGCRG.JOB"><b>JOB</b></a></td>
<td valign="top">Job</td>
<td valign="top"><i>Name</i>, *JOBD, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGCRG.ALWRESTART"><b>ALWRESTART</b></a></td>
<td valign="top">Allow application restarts</td>
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGCRG.NBRRESTART"><b>NBRRESTART</b></a></td>
<td valign="top">Number of application restarts</td>
<td valign="top">0-3, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="7"><a href="#CHGCRG.RCYDMN"><b>RCYDMN</b></a></td>
<td valign="top">Recovery domain node list</td>
<td valign="top">Values (up to 128 repetitions): <i>Element list</i></td>
<td valign="top" rowspan="7">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Node identifier</td>
<td valign="top">
<i>Name</i>, <b><u>*SAME</u></b></td>
</tr>
<tr>
<td valign="top">Element 2: Node role</td>
<td valign="top">
<b><u>*SAME</u></b>, *BACKUP, *PRIMARY, *REPLICATE, *PEER</td>
</tr>
<tr>
<td valign="top">Element 3: Backup sequence number</td>
<td valign="top">
<i>Integer</i>, <b><u>*SAME</u></b>, *LAST</td>
</tr>
<tr>
<td valign="top">Element 4: Site name</td>
<td valign="top">
<i>Name</i>, <b><u>*SAME</u></b>, *NONE</td>
</tr>
<tr>
<td valign="top">Element 5: Data port IP address action</td>
<td valign="top">
<b><u>*SAME</u></b>, *ADD, *REMOVE</td>
</tr>
<tr>
<td valign="top">Element 6: Data port IP address</td>
<td valign="top">
Single values: <b><u>*SAME</u></b>, *NONE<br>Other values (up to 4 repetitions): <i>Character value</i></td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGCRG.FLVMSGQ"><b>FLVMSGQ</b></a></td>
<td valign="top">Failover message queue</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *NONE<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Failover message queue</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top"><a href="#CHGCRG.FLVWAITTIM"><b>FLVWAITTIM</b></a></td>
<td valign="top">Failover wait time</td>
<td valign="top"><i>Integer</i>, <b><u>*SAME</u></b>, *NOWAIT, *NOMAX</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGCRG.FLVDFTACN"><b>FLVDFTACN</b></a></td>
<td valign="top">Failover default action</td>
<td valign="top"><i>Integer</i>, <b><u>*SAME</u></b>, *PROCEED, *CANCEL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGCRG.APPID"><b>APPID</b></a></td>
<td valign="top">Application identifier</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *NONE</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGCRG.CLUSTER"></a>
<h3>Cluster (CLUSTER)</h3>
<p>Specifies the cluster containing the cluster resource group which will be changed.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the cluster.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.CRG"></a>
<h3>Cluster resource group (CRG)</h3>
<p>Specifies the cluster resource group to be changed.
</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="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.CRGTYPE"></a>
<h3>Cluster resource group type (CRGTYPE)</h3>
<p>Specifies the type of the cluster resource group that is to be changed.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b>*DATA</b></dt>
<dd>The cluster resource group is a data cluster resource group.
</dd>
<dt><b>*APP</b></dt>
<dd>The cluster resource group is an application cluster resource group
</dd>
<dt><b>*DEV</b></dt>
<dd>The cluster resouce group is a device cluster resource group.
</dd>
<dt><b>*PEER</b></dt>
<dd>The cluster resouce group is a peer cluster resource group.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.EXITPGM"></a>
<h3>CRG exit program (EXITPGM)</h3>
<p>Specifies the exit program that is used to handle action codes that are passed to it due to operations on the cluster resource group. The exit program cannot be in an independent auxiliary storage pool. The action codes are described in the Cluster Resource Group Exit Program section of the API reference manual. If the exit program is changed for an active application cluster resource group, the job currently running which was submitted to handle the Start action code continues running the prior exit program.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The current exit program is not changed.
</dd>
<dt><b>*NONE</b></dt>
<dd>The cluster resource group does not have an exit program.
</dd>
</dl>
<p><b>Qualifier 1: CRG exit program</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the exit program.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*CURLIB</u></b></dt>
<dd>The exit program exists in the current library for the job. If no library is specified as the current library for the job, the QGPL library is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the exit program exists. QTEMP is not a valid library name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.EXITPGMFMT"></a>
<h3>Exit program format name (EXITPGMFMT)</h3>
<p>Specifies the format which should be used for the information passed to the user when a cluster resource group exit program is called.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The exit program format name is not changed.
</dd>
<dt><b>EXTP0100</b></dt>
<dd>Exit program information defined in EXTP0100 format will be passed to user.
</dd>
<dt><b>EXTP0200</b></dt>
<dd>Exit program information defined in EXTP0200 format will be passed to user. Additional information such as site name and data port IP address on each node are passed to the exit program. This format is not allowed for a peer cluster resource group.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.EXITPGMDTA"></a>
<h3>Exit program data (EXITPGMDTA)</h3>
<p>Specifies up to 256 bytes of data that is passed to the cluster resource group exit program when it is called. This parameter may contain any scalar data except pointers. For example, it can be used to provide state information. This data will be stored with the specified cluster resource group and copied to all nodes in the recovery domain. Pointers in this area will not resolve correctly on all nodes and should not be placed in the data. The data specified will replace the existing exit program data stored with the cluster resource group, if the command completes successfully.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The exit program data is not changed.
</dd>
<dt><b>*NONE</b></dt>
<dd>There is no exit program data.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify up to 256 bytes of data to be passed to the cluster resource group exit program.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.USRPRF"></a>
<h3>User profile (USRPRF)</h3>
<p>Specifies the user profile under which the exit program should be run. The user profile must exist on all nodes in the recovery domain.
</p>
<p>The following user profiles are not valid:
</p>
<ol>
<li>QDBSHR
</li>
<li>QDOC
</li>
<li>QDTFOWN
</li>
<li>QRJE
</li>
<li>QLPAUTO
</li>
<li>QLPOINSTALL
</li>
<li>QSECOFR
</li>
<li>QSPL
</li>
<li>QSYS
</li>
<li>QTSTRQS
</li>
</ol>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The current user profile is not changed.
</dd>
<dt><b>*NONE</b></dt>
<dd>There is no exit program so no user profile is needed.
</dd>
<dt><b><i>simple-name</i></b></dt>
<dd>Specify the name of the user profile to use for running the exit program.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.TEXT"></a>
<h3>Text 'description' (TEXT)</h3>
<p>Specifies the text used to briefly describe the cluster resource group object.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The current text description is not changed.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the new text to describe the cluster resource group object.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.RCYDMNACN"></a>
<h3>Recovery domain action (RCYDMNACN)</h3>
<p>Specifies the type of action to take for the recovery domain.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The recovery domain is not being changed.
</dd>
<dt><b>*CHGPREFER</b></dt>
<dd>The preferred roles for nodes in the recovery domain are to be changed. The RCYDMN parameter contains the new node roles.
</dd>
<dt><b>*CHGCUR</b></dt>
<dd>The current roles for nodes in the recovery domain are to be changed. The RCYDMN parameter contains the new node roles. For a device crg, the site name and data port IP address also can be changed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.TKVINTNETA"></a>
<h3>Takeover IP address (TKVINTNETA)</h3>
<p>Specifies the internet interface address that is to be associated with an application. This is the takeover IP address that will be switched between systems. The field must be represented in dotted decimal format. If the value is not *SAME and the Cluster Resource Services configured the takeover IP address, this command will remove the current IP address and add this IP address to the node. If either the add or remove address function fails, the command will fail. The cluster resource group must be Inactive to change this field. This field is only valid for an application cluster resource resource group.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The takeover IP address is not changed.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the takeover IP address for the application cluster resource group.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.JOB"></a>
<h3>Job (JOB)</h3>
<p>Specifies the name given the batch job that is submitted by the cluster resource group. This job will call the cluster resource group exit program with the action code generated by the command being used.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The job name is not changed.
</dd>
<dt><b>*JOBD</b></dt>
<dd>The job name in the job description for the specified user profile will be used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name to be given to the batch job submitted for running the exit program.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.ALWRESTART"></a>
<h3>Allow application restarts (ALWRESTART)</h3>
<p>Specifies whether or not to restart an application if the cluster resource group exit program fails.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>Allow application restart is not changed.
</dd>
<dt><b>*NO</b></dt>
<dd>Do not attempt to restart the application. The cluster resource group exit program is called with an action code of Failover.
</dd>
<dt><b>*YES</b></dt>
<dd>Attempt to restart the application on the same node. The cluster resource group exit program will be called with an action code of Restart. If the application cannot be restarted in the specified maximum number of attempts, the cluster resource group exit program will be called with an action code of Failover.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.NBRRESTART"></a>
<h3>Number of application restarts (NBRRESTART)</h3>
<p>Specifies the number of times a cluster resource group exit program can be called on a same node before failure occurs. Maximum number of restarts is 3. If the cluster resource group is currently active, any change does not take affect until failover occurs or the cluster resource group exit program job ends.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The number of restart attempts is not changed.
</dd>
<dt><b><i>0-3</i></b></dt>
<dd>Specify the number of times that restart will be attempted before doing a failover.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.RCYDMN"></a>
<h3>Recovery domain node list (RCYDMN)</h3>
<p>Specifies the changes for the recovery domain. For primary-backup model cluster resource groups, this specifies the roles for nodes that compose the recovery domain. The full recovery domain must be specified. For peer model cluster resource groups, this specifies the roles for the nodes being changed. Only those nodes being changed must be specified.
</p>
<p><b>Element 1: Node identifier</b>
</p>
<p>Specifies the node whose role is being changed in the recovery domain of the cluster resource group specified. The node specified must currently be defined in the recovery domain of the cluster resource group specified.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The recovery domain will not be changed. This value must be used if RCYDMNACN(*SAME) is specified.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the node.
</dd>
</dl>
<p><b>Element 2: Node role</b>
</p>
<p>Specifies the role of the node in the recovery domain of the cluster resource group. A role must be defined for each node in the recovery domain. For primary-backup model cluster resource groups a node can have one of three roles: primary, backup, or replicate. Only one node can be designated as the primary. For peer model cluster resource groups a node can have one of two roles: peer or replicate. Any number of nodes can be designated as a peer or replicate.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The node role is not changed.
</dd>
<dt><b>*BACKUP</b></dt>
<dd>The node role will be set as a backup node. The node can take over as the access point for the cluster resources.
</dd>
<dt><b>*PRIMARY</b></dt>
<dd>The node role will be set as the primary node. This node can become an active access point for the cluster resources. The cluster resource group must have a status of Inactive.
</dd>
<dt><b>*REPLICATE</b></dt>
<dd>The new node role will be set as a replicate. Replicate nodes are not ordered and cannot become an access point unless its role is changed to the proper value for the cluster resource group type.
</dd>
<dt><b>*PEER</b></dt>
<dd>The new node will be set as a peer node. Peer nodes are not ordered. This node can become an active access point for the cluster resources.
</dd>
</dl>
<p><b>Element 3: Backup sequence number</b>
</p>
<p>Specifies the backup order for a node with role of *BACKUP. If there is already a node with the same backup order and it is also not changed at the same time, the command will fail. At the completion of the request the nodes with backup roles will be sequentially renumbered from the first backup to the last. The first backup will always be 1.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The backup sequence number is not changed.
</dd>
<dt><b>*LAST</b></dt>
<dd>The node will be added as the last backup in the recovery domain.
</dd>
<dt><b><i>integer</i></b></dt>
<dd>Specify the backup sequence number.
</dd>
</dl>
<p><b>Element 4: Site name</b>
</p>
<p>Specify the site name of the recovery domain node. This is valid only for a device cluster resource group. Can only change from a site name to *NONE or from *NONE to a site name. Cannot change from one site name to another site name.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The site name is not changed.
</dd>
<dt><b>*NONE</b></dt>
<dd>The recovery domain node does not have a site name.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the site name for a recovery domain node.
</dd>
</dl>
<p><b>Element 5: Data port IP address action</b>
</p>
<p>Specifies the type of action to take for the data port IP address.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The data port IP address is not changed.
</dd>
<dt><b>*ADD</b></dt>
<dd>Add one or more data port IP address to the recovery domain node.
</dd>
<dt><b>*REMOVE</b></dt>
<dd>Remove one or more data port IP address from the recovery domain node.
</dd>
</dl>
<p><b>Element 6: Data port IP address</b>
</p>
<p>Specify the data port IP address for the recovery domain node. This is valid only for a device cluster resource group, specifically for geographic mirroring. The data port IP address is used to send updates from a source node that owns the production copy of auxiliary storage pool to a target node that owns the mirror copy of auxiliary storage pool.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The recovery domain node data port IP address is not changed.
</dd>
<dt><b>*NONE</b></dt>
<dd>The recovery domain node does not have a data port IP address.
</dd>
</dl>
<p><b>Other values (up to 4 repetitions)</b>
</p>
<dl>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the data port IP address for the recovery domain node. When adding a data port IP address, it must already exist on the specified node. User is responsible for starting/ending data port IP address. This field must be represented in dotted decimal format.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.FLVMSGQ"></a>
<h3>Failover message queue (FLVMSGQ)</h3>
<p>Specifies the message queue to receive messages (CPABB01) dealing with failover. If this field is set, the specified message queue must exist on all nodes in the recovery domain after the exit program completes. The message queue cannot be in an independent auxiliary storage pool.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The current failover message queue is not changed.
</dd>
<dt><b>*NONE</b></dt>
<dd>No messages will be sent when a failover occurs for this cluster resource group. This is the behavior for V5R1M0 and prior releases.
</dd>
</dl>
<p><b>Qualifier 1: Failover message queue</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the failover message queue.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library that contains the message queue to receive the failover message. The library name cannot be *CURLIB, QTEMP, or *LIBL.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.FLVWAITTIM"></a>
<h3>Failover wait time (FLVWAITTIM)</h3>
<p>Specifies the number of minutes to wait for a reply to the failover message that was enqueued on the failover message queue.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The current failover wait time is not changed.
</dd>
<dt><b>*NOWAIT</b></dt>
<dd>Failover proceeds without user intervention.
</dd>
<dt><b>*NOMAX</b></dt>
<dd>Wait forever until a response is given to the failover inquiry message.
</dd>
<dt><b><i>integer</i></b></dt>
<dd>Specify the number of minutes to wait for a response to the failover inquiry message. If no response is received in the specified number of minutes, the failover default action field will be looked at to decide how to proceed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.FLVDFTACN"></a>
<h3>Failover default action (FLVDFTACN )</h3>
<p>Specifies the default action to be taken if a response to the failover message is not received in the failover wait time limit.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The current failover default action is not changed.
</dd>
<dt><b>*PROCEED</b></dt>
<dd>Proceed with failover.
</dd>
<dt><b>*CANCEL</b></dt>
<dd>Do not attempt failover.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGCRG.APPID"></a>
<h3>Application identifier (APPID )</h3>
<p>Specifies the application identifier. This defines the purpose of the cluster resource group.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The current application identifier is not changed.
</dd>
<dt><b>*NONE</b></dt>
<dd>The application identifier is removed.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the application that supplied the peer cluster resource group. The name can be up to 20 characters. The recommended format is 'vendor-id.name' where vendor-id is an identifier for the vendor creating the cluster resource group and name is the application name. For example, QIBM.ExamplePeer, indicates it is supplied by IBM for the ExamplePeer application. It is not recommended to use QIBM unless the cluster resource group is supplied by IBM.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGCRG.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Changing the Exit Program Data</b>
</p>
<p>
<pre>
CHGCRG CLUSTER(MYCLUSTER) CRG(MYCRG) CRGTYPE(*DATA)
EXITPGMDTA('replace this data')
TEXT('CRG FOR PAYROLL APPLICATION DATA')
</pre>
</p>
<p>This command changes a data cluster resource group called MYCRG in the cluster called MYCLUSTER. The exit program data is replaced with the character string specified. The text description for the cluster resource group object is also changed to the value specified. All other fields are unchanged.
</p>
<p><b>Example 2: Changing the Recovery Domain</b>
</p>
<p>
<pre>
CHGCRG CLUSTER(MYCLUSTER) CRG(MYCRG) CRGTYPE(*DEV)
EXITPGMFMT(*SAME) TEXT('CRG FOR CROSS SITE MIRRORING')
RCYDMN((*SAME *SAME *LAST MYSITE *ADD ('1.1.1.1')))
</pre>
</p>
<p>This command changes a device cluster resource group called MYCRG in the cluster called MYCLUSTER. The text description for the cluster resource group object is changed to the value specified. The recovery domain is added to the site MYSITE, with 1 data port IP address.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGCRG.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="#CHGCRG.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>