
如果您從 Rational Engineering Lifecycle Manager 5.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 Server 資料庫備份過程範例。
|
請確定
Oracle JDBC 驅動程式 ojdbc.jar 可從
$newRELMHome/JazzTeamServer/server/oracle 目錄中取得。執行 vvc_upgrade Script,以將配置檔和資料庫檔案升級,並重建文字索引。
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
如果要從 5.0 版升級到 5.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 指令。