Repository tools command to update the Change and Configuration Management application configuration files
Use the migration_ccm_updateConfigurationFiles command to update migration configuration files.
Purpose
The migration_ccm_updateConfigurationFiles command can be used to update configuration files from 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. For information about the upgrade process and to generate an upgrade guide, see Interactive upgrade guide.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 Change and Configuration Management home directory in the previous installation. For a typical installation, this path is CCM_installation/server/conf. | Yes | N/A |
applicationContextRoot | Change and Configuration Management context root. | No | ccm |
updateAppServerFiles | By default, this option is set to yes to update the Tomcat configuration files when
migrating to Liberty. Set this parameter to noif you are using WebSphere® Application Server. |
No | yes |
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-ccm_ccm_updateConfogurationFiles.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 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:
cd C:\Program Files\IBM\JazzTeamServer\server\ repotools-ccm.bat -migration_ccm_updateConfigurationFiles oldApplicationHome="C:\Program Files\IBM\OLD_VERSION_CCM\server\conf"
Open a command line and enter this command:
cd opt/IBM/JazzTeamServer/server/ ./repotools-ccm.sh -migration_ccm_updateConfigurationFiles oldApplicationHome=opt/IBM/OLD_VERSION_CCM/server/conf