The WASPreUpgrade script

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

Product

This script is available in WebSphere Application Server (Express and Base) 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 ] [ -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 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 4 instance before running the WASPreUpgrade script or the script fails when it attempts to invoke the XMLConfig script. The following section in the Version 4 product information describe how to configure the sas.client.props property file. Follow the instructions that describe how to configure automatic authentication:

Migrated resources

WASPreUpgrade migrates all of your resources and applications, but does not migrate entities in your classes directory.

Migration saves the following files in the backup directory.

Examples

Migrate from a WebSphere Application Server Version 5.1.x (Base) node to Version 6.0 (Base)

This example illustrates how to migrate from WebSphere Application Server Version 5.1.x (Base) to Version 6.0 (Base). The backup directory is named /home/was60migration/WAS51Base, the instance root of the previous version is /QIBM/UserData/WebAS51/Base/default, and the instance name is default.

WASPreUpgrade /home/was60migration/WAS51Base /QIBM/UserData/WebAS51/Base/default

Migrate 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/was60migration/WAS40Adv, and the instance root of the previous version is /QIBM/UserData/WebASAdv4/default. The administrative server is contained in the node MYISERIES.

WASPreUpgrade /home/was60migration/WAS40Adv /QIBM/UserData/WebASAdv4/default MYISERIES