ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatz_5.4.0.1/51/admin/qshupd.htm

66 lines
3.1 KiB
HTML
Raw 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">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Update the host name of an instance</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h4><a name="qshupd"></a>Update the host name of an instance</h4>
<p>The updwashost script updates an instance if the host name of the server is changed.</p>
<p><strong>Authority</strong></p>
<p>To run this script, your user profile must have *ALLOBJ authority.</p>
<p><strong>Usage</strong></p>
<p>To create a new instance with the crtwasinst script, follow these steps:</p>
<ol>
<li><p>On the CL command line, enter the STRQSH (Start Qshell) command.</p></li>
<li><p>Run the cd command to change to the directory that contains the script:</p>
<pre>cd /QIBM/ProdData/WebASE51/ASE/bin</pre></li>
<li><p>Run the updwashost script:></p>
<pre>updwashost -instance <em>instance</em></pre>
<p>where <em>instance</em> is the name of the instance that you want to update.</p></li>
</ol>
<p><strong>Syntax</strong></p>
<p>The syntax of the script is:</p>
<pre>updwashost -instance <em>instance</em> [ -newhost <em>new_host</em> ]
[ -changenode -oldhost <em>old_host</em> ] [ -regenplugin ] [ -verbose ] [ -help ]</pre>
<p><strong>Parameters</strong></p>
<p>The parameters of the script are:</p>
<ul>
<li><p><strong>-instance</strong>
<br>This is a required parameter. The value <em>instance</em> specifies the name of the instance that you want to update. To update the host name for all instances, specify <tt>ALL</tt>.</p></li>
<li><p><strong>-newhost</strong>
<br>This is an optional parameter. The value <em>new_host</em> specifies the new host name to use for the instance. The default value is the current host name of the server.</p></li>
<li><p><strong>-changenode</strong>
<br>This is an optional parameter. If you specify this parameter, the script changes the node name in the instance. If you specify this parameter, the <strong>-oldhost</strong> parameter is required.</p></li>
<li><p><strong>-oldhost</strong>
<br>This parameter is required if the <strong>-changenode</strong> parameter is specified, and not valid otherwise. The value specifies the old host name to use when changing the node name for the instance(s). The value specified will be replaced in the node name with the value specified in the <strong>-newhost</strong> parameter.</p></li>
<li><p><strong>-regenplugin</strong>
<br>This optional parameter will call the GenPluginCfg script after updating the host for the instance(s) to regenerate the HTTP server plugin configuration.</p></li>
<li><p><strong>-verbose</strong>
<br>This optional parameter turns on verbose messages, which can be helpful if you need to debug the script.</p></li>
<li><p><strong>-help</strong>
<br>This optional parameter displays the help message. If you specify this parameter, the script ignores all other parameters.</p></li>
</ul>
</body>
</html>