將資料庫移到另一個資料庫伺服器

這個主題提供當資料庫伺服器移至新硬體時,重新配置部署的指示。

關於這項作業

在下列狀況中,您可能需要移動資料庫。
  • 將試驗部署移至正式作業時,試驗部署所使用的資料庫伺服器與正式作業要使用的伺服器不同。
  • 設定的暫置環境使用自己的資料庫伺服器及正式作業資料的副本。

程序

  1. 備份舊的資料庫。
  2. 使用資料庫供應商特定工具,將資料從舊資料庫移轉至新資料庫。
  3. 如果是 Jazz™ Team Server、RELM 和 LQE 資料庫,請更新 server/conf/applicationName/teamserver.properties 檔案中的下列內容,以指向新的 Rational® Engineering Lifecycle Manager 資料庫位置。
    • com.ibm.team.repository.db.vendor
    • com.ibm.team.repository.db.jdbc.location
    • com.ibm.team.repository.db.jdbc.password
  4. 如果是 Jazz Team Server、RELM 及 LQE 資料庫,請更新 server/conf/applicationName/teamserver.properties 檔案中的下列內容,以指向新的資料倉儲資料庫位置。
    • com.ibm.team.datawarehouse.db.jdbc.vendor
    • com.ibm.team.datawarehouse.db.jdbc.location
    • com.ibm.team.datawarehouse.db.jdbc.password
    • com.ibm.team.datawarehouse.db.base.folder
  5. 如果是 Jazz Team Server、RELM 及 LQE 資料庫,請執行 repotools-applicationName -verify,以確定新的 Rational Engineering Lifecycle Manager 資料庫連線成功。

意見