The WASPostUpgrade script

The WASPostUpgrade script migrates the configuration and applications of previous versions to a Version 5 application server node. The script includes applications from the installedApps directory and other directories from the previous version.

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 WASPostUpgrade script is:

WASPostUpgrade backupDirectory [ -instance instance ]
 [ -import xmi_data_file ] [ -cellName cell_name ]
 [ -nodeName node_name ] [ -webModuleAdditionalClasspath classpath ]
 [ -documentRootLimit number ]
 [ -substitute"key1=value1[;key2=value2;[...]]" ]
 [ -portBlock port_starting_number ] [ [ -traceString trace_spec 
 [ -traceFile file_name ] ]

Parameters

The parameters of the WASPostUpgrade script are:

Logging

The WASPostUpgrade tool displays status to the screen while running. It also saves a more extensive set of logging information in the WASPostUpgrade.log file. This file is located in the /QIBM/UserData/WebAS5/base/instance/logs directory, where instance is the name of the instance that you are migrating to.

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 WASPreUpgrade script created the backup directory named /home/was50migration/WAS40Adv. The WASPostUpgrade script reads the configuration from this directory to migrate to WebSphere Application Server Version 5.

WASPostUpgrade /home/was50migration/WAS40Adv

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:

> WASPostUpgrade /home/was50migration/WAS4AES