升级 Rational Engineering Lifecycle Manager中描述了完整的 Rational Engineering Lifecycle Manager 升级过程。如果您正在使用非缺省值,那么可能需要修改升级脚本中的参数。
relm_upgrade 脚本将 Rational Engineering Lifecycle Manager 1.0、1.0.0.1、4.0.3 或 4.0.4 升级到 4.0.6。 虽然此脚本文件位于 upgrade/relm 目录下, 但它必须从 RELM_4.0.6_install_dir/server 目录下运行。 并且,如果路径包含空格,请确保将路径名括在双引号中。
除了运行此脚本并附带其所有命令行参数以外,您可以打开此脚本的参数文件,修改缺省值,然后运行命令行的简略格式。
relm_params 文件的英语版本和翻译后的版本都在 RELM_4.0.6_install_dir/server/upgrade/relm/params 目录中。 打开 relm_params 或者其翻译后的版本进行编辑,并指定各个参数的值。其中一个必须设置的参数是 OLD_APPLICATION_HOME 目录的路径。这必须是以 server/conf 结尾的现有目录。
| 属性 | 描述 | 是否为必需属性 | 缺省值 |
|---|---|---|---|
| oldApplicationHome | 旧 Rational Engineering Lifecycle Manager 配置目录的完整路径。此路径不得包含任何空格。在典型安装中,此路径为 old_relm_install_dir/server/conf。 | 是 | 无 |
| applicationContextRoot | Rational Engineering Lifecycle Manager 上下文根。 | 否 | relm |
| oldApplicationVersion | 正在进行升级的 Rational Engineering Lifecycle Manager 版本。 | 否 | 4.0.4 |
| newApplicationHome | 4.0.6 安装版本的 Rational Engineering Lifecycle Manager 应用程序配置目录的路径。 | 否 | relm_4.0.6_install_dir/server/conf |
| updateTomcatFiles | 是否要更新 Tomcat 配置文件。如果您正在使用 WebSphere® Application Server,请将此值设置为“no”。 | 否 | 是 |
| oldApplicationTomcatHome | 先前安装版本的 Tomcat 主目录的完整路径。缺省情况下,oldTomcatHome 参数值派生自 oldApplicationHome 参数值。 | 否 | 无 |
| newApplicationTomcatHome | 4.0.6 安装版本的 Rational Engineering Lifecycle Manager 应用程序 Tomcat 主目录的路径。 缺省情况下,newApplicationTomcatHome 参数值派生自 newApplicationHome 参数值。 | 否 | 无 |
| newJTSHome | 4.0.6 安装版本的 Jazz™ Team Server 配置目录的路径。缺省情况下,newJTSHome 参数值派生自 newApplicationHome 参数值。 | 否 | 无 |
| jtsContextRoot | 4.0.6 Jazz Team Server 的上下文根。 | 否 | jts |
| noPrompt | 在创建或修改表之前不提示。 | 否 | 无 |
| noVerify | 不执行 teamserver.properties 文件验证。 | 否 | 无 |
| overwrite | 是否覆盖任何现有文件。 | 否 | 否 |
| noStepPrompt | 在执行步骤之前不提示。 | 否 | 无 |
cd C:\Program Files\IBM\JazzTeamServer\Server\ upgrade\relm\relm_upgrade.bat -oldApplicationHome old_relm_install_dir\server\confLinux:
cd opt/IBM/JazzTeamServer/Server/ ./upgrade/relm/relm_upgrade.sh -oldApplicationHome old_relm_install_dir/server/conf