ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatz_5.4.0.1/51/migration/mig356new.htm

171 lines
9.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">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Migrate from a WebSphere Application Server Version 3.5.6 (or later) instance</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h2><A NAME="mig356new"></A>Migrate from a WebSphere Application Server Version 3.5.6 (or later) instance</h2>
<p>Tools for migrating administrative configurations are provided for Versions 3.5 and later. This support enables Version 3.5.6 Standard Edition (or later) to be upgraded to WebSphere Application Server - Express.</p>
<p>If multiple application servers exist in your Version 3.5.x environment, you have these options:</p>
<ul>
<li><p>The migration tools merge applications from multiple application servers of a Version 3.5.x instance into a single EAR file containing multiple Web modules, one Web module for each application server to be migrated. The EAR file is deployed as a single application within the WebSphere Application Server - Express instance.</p></li>
<li><p>If you do not want your applications merged into a single EAR file and run in the same application server, you need to separate them into different Version 3.5.x instances prior to running the migration tools. Each instance should have a single application server containing the desired Web application or applications. You then migrate each Version 3.5.x instance to a corresponding WebSphere Application Server - Express instance.</p></li>
<li><p>Use the WebSphere Development Studio Client environment to build an EAR file for each 3.5.x application you have and deploy each EAR file into a single Express instance. This option does not use the migration tools shipped with WebSphere Application Server - Express.</p></li>
</ul>
<p>A summary of the product migration process is as follows. </p>
<ul>
<li><a href="#crtinst">Create a WebSphere Application Server - Express instance</a>.</li>
<li><a href="#start35">Start the Version 3.5 instance that is being migrated</a>.</li>
<li><a href="#save35">Save the Version 3.5 configuration</a>.</li>
<li><a href="#rst35">Restore the Version 3.5 configuration into a WebSphere Application Server - Express instance</a>.</li>
<li><a href="#start5inst">Start the WebSphere Application Server - Express instance</a>.</li>
</ul>
<p><a name="crtinst"></a><strong>Create a WebSphere Application Server - Express instance</strong></p>
<p>See <a href="../admin/guicrtapp.htm">Create a new application server</a> in the <em>Administration</em> topic for details on how to create a WebSphere Application Server - Express instance.</p>
<p><a name="start35"></a><strong>Start the Version 3.5 instance that is being migrated</strong></p>
<p>Perform the following steps to start the WebSphere Application Server Version 3.5 instance:</p>
<ol>
<li>Enter the following command from the CL command line:
<pre>STRQSH</pre>
<p>This starts the Qshell environment so that you can run WebSphere Application Server scripts.</p>
</li>
<li>Run the strwasinst script with the following parameters:
<pre>
/QIBM/ProdData/WebASAdv/bin/strwasinst -instance <em>3.5.xInstanceName</em>
</pre>
<p>where <em>3.5.xInstanceName</em> is the name of the Version 3.5.x instance that is being migrated. You must wait for the administrative server to start successfully before continuing.</p>
</li>
</ol>
<p><a name="save35"></a><strong>Save the Version 3.5 configuration</strong></p>
<p>If you have servlets in the Version 3.5.x <strong>default_app</strong> Web Application, the WasPreUpgrade migration tool does not migrate them. If you wish to have these servlets migrated, you must
change the <strong>default_app</strong> name before calling WasPreUpgrade. See <a href="wappmig.htm#appissue">Issues concerning the migration of JSPs and Servlets</a> in the <em>Application Development</em> topic for more information.</p>
<p>Perform the following steps to save the Version 3.5 configuration:</p>
<ol>
<li>Enter the following command from the CL command line:
<pre>STRQSH</pre>
<p>This starts the Qshell environment so that you can run WebSphere Application Server scripts.</p>
</li>
<li>Run the WebSphere Application Server - Express WasPreUpgrade script as shown below:
<pre>
/QIBM/ProdData/WebASE51/ASE/bin/WASPreUpgrade
<em>/backup/myBackupDirectory</em>
/QIBM/UserData/WebAsAdv/<em>3.5.xInstanceName</em>
<em>adminNodeName</em>
-nameServiceHost <em>adminNodeName</em>
-nameServicePort <em>port_number</em>
</pre>
<p>where:</p>
<ul>
<li><em>/backup/myBackupDirectory</em> (required parameter) is the fully qualified path to the integrated file system directory where the WasPreUpgrade migration tool stores the saved configuration and files. The directory is created if it does not already exist. Additionally,the tool writes a log file called WasPreUpgrade.log that chronicles the steps taken by WasPreUpgrade.
</li>
<li>/QIBM/UserData/WebAsAdv/<em>3.5.xInstanceName</em> (required parameter) is the fully qualified path of the Version 3.5.x administrative instance being migrated.</li>
<li><em>adminNodeName</em> (required parameter) is the name of the administration node for the Version 3.5.x instance. Generally, this is the iSeries host name from <strong>CFGTCP</strong> option 12. The WASPreupgrade tool invokes the Version 3.5 XMLConfig tool using this parameter. </li>
<li>The -nameServiceHost and -nameServicePort parameters are also passed to XMLConfig. They are needed to override the default host name and port number used by XMLConfig and are required parameters when the Version 3.5.x instance being migrated is not the default instance. The value for -nameServiceHost is the TCP/IP host name of the iSeries server. The value for the -nameServicePort is the bootstrap port for the Version 3.5.x administrative server. The default bootstrap port is 900.
</li>
</ul>
<p>For a full explanation of the WasPreUpgrade migration tool and parameters,
see <a href="qshmigpre.htm">The WASPreUpgrade script</a>.</p>
</li>
</ol>
<p><a name="rst35"></a><strong>Restore the Version 3.5 configuration into a WebSphere Application Server - Express instance</strong></p>
<p>Perform the following steps to restore the Version 3.5 configuration into a WebSphere Application Server - Express instance:</p>
<ol>
<li>Enter the following command from the CL command line:
<pre>STRQSH</pre>
<p>This starts the Qshell environment so that you can run WebSphere Application Server scripts.</p>
</li>
<li>Run the WasPostUpgrade script with the following parameters:
<pre>
/QIBM/ProdData/WebASE51/ASE/bin/WASPostUpgrade
<em>backupDirectoryName</em>
[-instance <em>5_instance_name</em>]
[-portBlock <em>port_starting_number</em>]
</pre>
<p>The first argument is required. Supported arguments
include:</p>
<ul>
<li><p><strong>backupDirectory</strong>
<br>Required name of the directory
in which the WASPreUpgrade tool stores the saved configuration and files,
and from which the WASPostUpgrade tool reads the configuration and files.
The WASPreUpgrade tool creates this directory if it does not already exist.
</p>
</li>
<li><p><strong>-portBlock</strong>
<br>This is an optional parameter. The value portblock specifies the first number of a block of port numbers that your instance uses. Specify the first port in a group of unused ports on your iSeries server. You can use the Work with TCP/IP Network Status (NETSTAT *CNN) command to display a list of port numbers that are currently being used. This parameter is case sensitive.</p>
<p><strong>Note:</strong> Although this is an optional parameter, it is recommended that you always specify the parameter (or the specific port parameters, described below) if you do not want your instance's ports to conflict with the default instance's ports.</p>
</li>
</ul>
<p>For the -portBlock parameter, the script checks instances of WebSphere Application Server - Express. The script is not able to detect port usage by other applications, including previous versions of WebSphere Application Server.</p>
<p>For a full explanation of the WasPostUpgrade migration tool and parameters,
see <a href="qshmigpost.htm">The WASPostUpgrade script</a>.</p>
</li>
</ol>
<p><a name="start5inst"></a><strong>Start the WebSphere Application Server - Express instance</strong></p>
<p>Perform the following steps to start the WebSphere Application Server - Express instance:</p>
<ol>
<li>Enter the following command from the CL command line to start the QASE51 subsystem if it is not already started:
<pre>
STRSBS QASE51/QASE51
</pre>
</li>
<li>Enter the following command from the CL command line:
<pre>STRQSH</pre>
<p>This starts the Qshell environment so that you can run WebSphere Application Server scripts.</p>
</li>
<li>Run the startServer script with the following parameters:
<pre>
/QIBM/ProdData/WebASE51/ASE/bin/startServer
-instance <em>50InstanceName</em> <em>50ApplicationServerName</em>
</pre>
<p>where <em>50InstanceName</em> is the name of the WebSphere Application Server - Express instance created in an earlier step, and <em>50ApplicationServerName</em> is the name of the WebSphere Application Server - Express application server created in an earlier step.</p>
</li>
</ol>
</body>
</html>