The WASPreUpgrade script

The WASPreUpgrade script migrates the configuration and applications of previous WebSphere Application Server versions to a Version 5 application server node.

Product

This script is available in WebSphere Application Server and WebSphere Application Server Network Deployment.

Authority

To run this script, your user profile must have *ALLOBJ authority.

Syntax

The syntax of the WASPreUpgrade script is:

WASPreUpgrade backupDirectory currentWASDirectory
 [ administrationNodeName ] [ -instance instance ]
 [ -nameServiceHost host_name [ -nameServicePort port_number ] ]
 [ -import xmiDataFile ] [ -traceString trace_spec 
 [ -traceFile file_name ] ]

Parameters

The parameters of the WASPreUpgrade script are:

Logging

The WASPreUpgrade tool displays status to the screen while it is running. It also saves a more extensive set of logging information in the WASPreUpgrade.log file. This file is located in the backupDirectory directory, where backupDirectory is the value specified for the backupDirectory parameter.

Security

The WASPreUpgrade script uses the XMLConfig script to export configuration data from WebSphere Application Server Version 3.5 (Standard or Advanced Editions) or Version 4 (Advanced Edition). If WebSphere security is enabled, ensure that the properties are configured properly in the sas.client.props property file for the Version 3.5 or Version 4 instance before running the WASPreUpgrade script or the script fails when it attempts to invoke the XMLConfig script. The following sections in the Version 3.5 and Version 4 product information describe how to configure the sas.client.props property file. Follow the instructions that describe how to configure automatic authentication:

Examples

Migrate from WebSphere Application Server Version 3.5.x Standard Edition or Advanced Edition, or from WebSphere Application Server Version 4.0.x, Advanced Edition

This example illustrates how to migrate from WebSphere Application Server Version 4.0.x, Advanced Edition. The backup directory is named /home/was50migration/WAS40Adv, and the instance root of the previous version is /QIBM/UserData/WebASAdv4/default. The administrative server is contained in myNode.

> WASPreUpgrade /home/was50migration/WAS40Adv /QIBM/UserData/WebASAdv4/default MYISERIES

Migrate from a WebSphere Application Server Version 4.0.x, Advanced Single Server Edition node with multiple backup directories

This example illustrates how to migrate the default instance of WebSphere Application Server Version 4.0, Advanced Single Server Edition.

Run this commands from Qshell:

> WASPreUpgrade /home/was50migration/WAS4AES QIBM/UserData/WebASAEs4/default

Note: The administrationNodeName value is not required when migrating from WebSphere Application Server 4.0, Advanced Single Server Edition.