jts_upgrade script

Use this script to upgrade Jazz™ Team Server.

Purpose

The jts_upgrade script upgrades all releases of Jazz Team Server version 6 and later to version 7.0. Although the script file is located under the upgrade/jts directory, it must be run from the JTS_7.0_install_dir/server directory. Also if your path contains spaces, ensure that you enclose the path name in double quotation marks. Enter [E] to execute the command, [S] to skip a step, or hit [Enter] to cancel the script execution.

As an alternative to running the script and all its command-line arguments, you can open the script's parameters file, modify the default values, and run an abbreviated form of the command line.

The English and translated versions of the jts_params files are located in the JTS_7.0_install_dir/server/upgrade/jts/params directory. Open jts_params or a translated version of it for editing and specify values for each parameter. One of the parameters that must be set is the path to the OLD_JTS_HOME directory. This must be an existing directory ended by server/conf.

The script performs the following steps:
  • Step 0: Runs the -migration_jts_updateConfigurationFiles command that updates the server configuration files. After the configuration files are merged successfully, enter [C] to continue. An editor opens in which you can verify the Jazz Team Server teamserver.properties file. Verify that the Public URI root denoted by the com.ibm.team.repository.server.webapp.url property is correct. Also verify that the database properties are correct. When done, save your changes, if any, and close the editor to continue the script execution.
  • Step 1: Adds tables to the Jazz Team Server repository database.
  • Step 2: Updates the data warehouse database.

Parameters

Attribute Description Required Default
-oldJTSHome Full path to the old Jazz Team Server configuration directory. The path must not contain any spaces. In a typical installation, this path is old_JTS_install_dir/server/conf. Yes none
-jtsContextRoot Jazz Team Server context root. Must be valid directory single name without a leading slash. No jts
-oldJTSVersion The Jazz Team Server version that is being upgraded. By default, this is determined by running repotools -version against the old server. It should be a complete version string. For example, 6.0.0 or 6.0.6.1. No none
-updateAppServerFiles By default, this option is set to yes to update the Tomcat configuration files when migrating to Liberty. Set this parameter to no if you are using WebSphere® Application Server. No yes
-newJTSHome Full path to the Jazz Team Server configuration directory of the 7.0 installation. Must be an existing directory ended by server/conf. No conf

For example, JTS_7.0_install_dir/server/conf

-noPrompt Do not prompt before creating or modifying the tables. The only valid values are empty or noPrompt. No none
-noResumePrompt Do not prompt when resuming an upgrade step. No false
-noVerify Do not perform teamserver.properties file verification. The only valid values are empty or noVerify No none
-noStepPrompt Do not prompt before executing a step. No false
-noEditor The -noEditor parameter eliminates opening an editor during the execution of the upgrade script to review or modify the teamserver.properties file. The -noEditor parameter in conjunction with -noStepPrompt, -noVerify, -noResumePrompt, and -noPrompt parameters can be used for a fully automated upgrade script without any user interactions. If you need to review or modify the teamserver.properties file during the upgrade, such as in a WebSphere Application Server environment where the index location might be relative to the profile directory, do not use this parameter. No false

Example

For Windows operating system Open a command prompt and enter this command:

cd C:\Program Files\IBM\JazzTeamServer_7.0\Server\
upgrade\jts\jts_upgrade.bat -oldJTSHome old_JTS_install_dir\server\conf

For Unix operating systems Open a command line and enter this command:

cd /opt/IBM/JazzTeamServer_7.0/Server/
./upgrade/jts/jts_upgrade.sh -oldJTSHome old_JTS_install_dir/server/conf

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki