Repository tools command to update the Global Configuration Management application configuration files
Use the migration_gc_updateConfigurationFiles command to update migration configuration files.
Purpose
The migration_gc_updateConfigurationFiles command can be used to update configuration files from a previous version to a new version. This command is used in an environment where the upgrade wrapper script cannot be used. The upgrade wrapper script includes this command and automates some of the manual steps.Important: The command
requires that the server is shut down beforehand. Also if your paths contain spaces, ensure you
enclose them in double quotation marks.
Parameters
Attribute | Description | Required | Default |
---|---|---|---|
oldApplicationHome | Full path to the Global Configuration Management home directory in the previous installation. For a typical installation, this path is GCM_installation/server/conf. | Yes | N/A |
applicationContextRoot | Global Configuration Management context root. | No | gc |
newApplicationHome | Full path to the application configuration directory in the new version installation. | No | conf |
newJTSHome | Path to the Jazz® Team Server configuration directory of the new version installation. By default, the newJTSHome parameter value is derived from the newApplicationHome parameter value. | No | none |
jtsContextRoot | The new version Jazz Team Server context root. | No | jts |
ignoreJTSVersionCheck | Do not attempt to verify that the application version is compatible with the Jazz Team Server version located at newJTSHome. This argument should only be used in a distributed deployment where the Jazz Team Server is on a separate system that is inaccessible from the application system. | No | N/A |
logFile | Path to the log file. | No | repotools-gc_updateConfigurationFiles.log |
oldTomcatHome | Full path to the Tomcat root directory in the old installation. Must be an existing directory. By default, the oldTomcatHome parameter is derived from the oldApplicationHome parameter value. This parameter must be provided for migrating from Apache Tomcat to IBM® WebSphere® Liberty and if Apache Tomcat was installed in a different directory than default. | No | N/A |
Example
Open a command prompt and enter this command:
Open a Windows command prompt and enter the following commands:
cd C:\Program Files\IBM\JazzTeamServer\server\ repotools-gc.bat -migration_gc_updateConfigurationFiles oldApplicationHome="C:\Program Files\IBM\OLD_GCM_install_dir\server\conf"
Open a command line and enter
this command:
Open a UNIX command shell and enter the following commands:
cd opt/IBM/JazzTeamServer/server/ ./repotools-gc.sh -migration_gc_updateConfigurationFiles oldApplicationHome=opt/IBM/OLD_GCM_install_dir/server/conf