
如果从 Rational Engineering Lifecycle Manager V5.0 进行升级,那么现有 Jazz Reporting Service 或 SPARQL Gateway 上下文根为 SPARQL_Gateway,并且应用程序文件名是 SPARQL_Gateway.war。安装 Rational Engineering Lifecycle Manager 5.0.1 时,选择定制上下文根选项,并在应用程序上下文根值字段中输入 SPARQL_Gateway。
backupConfig.sh <Path_to_a_new_compressed_file_to_create_backup_of_profile> -username <WAS_primary_administrative_user_name> -password <WAS_administrative_password>
例如:backupConfig.sh /root/WAS_backup/relm_50_profile.zip -username <WAS_admin> -password <WAS_admin_password>
backupConfig.bat <Path_to_a_new_compressed_file_to_create_backup_of_profile> -username <WAS_primary_administrative_user_name> -password <WAS_administrative_password>
例如:backupConfig.bat C:\WAS_backup\relm_50_profile.zip -username <WAS_admin> -password <WAS_admin_password>
-Dlqe.config.location=file://drive:/lqe_installation_dir/server/conf/lqe
例如,file:///C:/PROGRA~2/IBM/JazzTeamServer_5.0.1/server/conf。
例如,file:///C:/PROGRA~2/IBM/JazzTeamServer_5.0.1/server/conf/startup.log4j.properties。
例如:5.0.1_install_dir/server/conf/SPARQL_Gateway/SharedLibrary
运行 stopServer.sh 命令。
运行 stopServer.bat 命令。从概要文件中的 wscache 和 temp 目录中移除与 Rational Engineering Lifecycle Manager 相关的内容。根据先前已安装的应用程序不同,概要文件中可能存在下列目录,可以移除这些目录:relm_war、lqe_war、sparql 和“配置管理”应用程序相关数据。

WAS_profile_root/wscache(例如:opt/IBM/WebSphere/AppServer/profiles/AppSrv01/temp/wscache)
WAS_profile_root/temp(例如,opt/IBM/WebSphere/AppServer/profiles/AppSrv01/temp)

WAS_profile_root\wscache(例如,C:\IBM\WebSphere\AppServer\profiles\AppSrv01\wscache)
WAS_profile_root\temp(例如,C:\IBM\WebSphere\AppServer\profiles\AppSrv01\temp)
opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs
C:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs
运行 startServer.sh 命令。
运行 startServer.bat 命令。| 选项 | 描述 |
|---|---|
![]() |
删除通过升级所安装的 Derby 数据库,然后将它们替换为原始安装中的 Derby 文件。
|
或 |
有关完整的指示信息,请参阅数据库供应商提供的文档。 以下是 DB2® 的数据库备份流程示例,可以作为准则。
有关备份和复原数据库的更多信息,请参阅 Rational Solution for Collaborative
Lifecycle Management 的文档。
|
![]() |
以下是 SQL 服务器的数据库备份流程示例,可以作为准则。
|
确保 Oracle JDBC 驱动程序 ojdbc.jar 在 $newRELMHome/JazzTeamServer/server/oracle 目录中可用。运行 vvc_upgrade 脚本以升级配置和数据库文件,并且重新构建文本索引。
cd $newRELMHome/server/
upgrade/vvc/vvc_upgrade.sh -oldApplicationHome oldRELMHome/server/conf
-oldApplicationHome oldRELMHome/server/conf -ignoreJTSVersionCheck
-oldApplicationHome oldRELMHome/server/conf -ignoreJTSVersionCheck -updateTomcatFiles=no
$newRELMHome/server/upgrade/relm/relm_upgrade.sh -oldApplicationHome oldRELMHome/server/conf
cp -R $oldRELMHome/server/conf/SPARQL_Gateway/* $newRELMHome/server/conf/SPARQL_Gateway
如果您是从 V5.0 升级到 V5.0.1,请执行步骤 7。rm $newRELMHome/server/conf/SPARQL_Gateway/app.properties
mv $newRELMHome/server/conf/SPARQL_Gateway/SPARQL_Gateway.properties $newRELMHome/server/conf/SPARQL_Gateway/app.properties
mv $newRELMHome/server/conf/SPARQL_Gateway/SPARQL_Gateway_runtime.properties $newRELMHome/server/conf/SPARQL_Gateway/app_runtime.properties
打开 Lifecycle Query Engine 管理页面 https://relm_host_name:port/lqe/web/admin。 将出现一条消息,表明 Lifecycle Query Engine 升级正在进行中,并且该应用程序不可用。单击启动升级。当升级过程完成时,数据源将可用。
如果此文件不存在,请进行创建。凭证文件示例如下:
adminUserId=yourAdminUserId
adminPassword=yourAdminPassword
repositoryURL=https://yourserver.com:9443/vvc
smartCard=<none>
certificateFile=<none>
./repotools-vvc.sh -vvc_online_migrationCommand
credentialsFile=credentials.txt fromVersion=<previous_version>
logPort=52000 logLevel=DEBUG
repotools-vvc.bat -vvc_online_migrationCommand
credentialsFile=credentials.txt fromVersion=<previous_version>
logPort=52000 logLevel=DEBUG
运行 stopServer.sh 和 startServer.sh 命令。
运行 stopServer.bat 和 startServer.bat 命令。