在升級期間驗證配置檔

這個主題說明如何驗證配置檔來升級伺服器。

關於這項作業

4.0 版的 Jazz™ Team Server 和 CLM 應用程式配置檔可以從 3.0.1 版安裝架構衍生而來。 儲存庫工具 jts_upgrade ccm_upgrade、qm_upgrade 和 rm_upgrade 指令,可用來合併來自 3.0.1 伺服器的 Jazz 和 Tomcat 配置檔。儲存庫工具指令會完成下列作業:
重要: 您有可能已修改了 3.0.1 版應用程式中的其他檔案,例如,log4j.properties。您必須手動合併這些檔案。
註: 如果您使用 WebSphere Application Server,請在 application_upgrade 指令中指定 updateTomcatFiles=no 參數,其中 application 是 jts、ccm、qm 或 rm。如需重新部署 Web 應用程式的相關資訊,請參閱將 Rational Collaborative Lifecycle Management 應用程式解決方案部署在 WebSphere Application Server 上。
註: 更新配置檔時,會在相同目錄中建立原始 4.0 版配置檔的備份。

程序

  1. 驗證已將索引檔複製到 4.0_install_dir/server/conf/application context/indices。
    提示: 「需求管理」的索引檔會複製到 4.0_install_dir/server/conf/jts/indices/ApplicationKey。
  2. 驗證已將下列應用程式配置檔從 3.0.1 版複製到 4.0:
    • Jazz Team Server:4.0_install_dir/server/conf/jts/teamserver.properties
    • 「變更與配置管理」應用程式:4.0_install_dir/server/conf/ccm/teamserver.properties
    • 「品質管理」應用程式:4.0_install_dir/server/conf/qm/teamserver.properties
    • 「生命週期專案管理」應用程式:4.0_install_dir/server/conf/admin/admin.properties
    • 「生命週期專案管理」應用程式:4.0_install_dir/server/conf/admin/friends.rdf
    • 「需求管理」應用程式:4.0_install_dir/server/conf/rm/friendsconfig.rdf
    • 「需求管理」應用程式:4.0_install_dir/server/conf/rm/fronting.properties
  3. 驗證每一個 teamserver.properties 包含下列資訊:
    • 複製自 3.0.1 teamserver.properties 的內容
    • 有效的特殊公用 URL com.ibm.team.repository.server.webapp.url(第 4 版應用程式的 URL 必須與第 3 版所用的 URL 相同)
    • 有效的資料庫供應商項目(確定 /conf/jts/teamserver.properties 指定的資料庫存在)
  4. 僅適用於 Tomcat。驗證使用者登錄檔案具有下列資訊:
    • 驗證 4.0_install_dir\server\tomcat\conf\tomcat-users.xml 包含來自 3.0.1 版的資訊。
    • 如果您使用 LDAP 登錄,或已停用 HTTPS 或 FORM 鑑別,請驗證 4.0_install_dir\server\tomcat\conf\server.xml 含有下列程式碼 Snippet:
      <Realm className="org.apache.catalina.realm.JNDIRealm"
      ...>
      </Realm>
      並且不包含下列程式碼 Snippet:
      Realm className="org.apache.catalina.realm.UserDatabaseRealm"
      resourceName="UserDatabase"
      ...>
      </Realm>
      註: 如果您在 3.0.1_install_dir/server/tomcat/conf/server.xml 檔中自訂了其他設定,請驗證已將它們複製到 4.0_install_dir/server/tomcat/conf/server.xml。
    • 驗證 4.0_install_dir\server\tomcat\webapps\application context\WEB-INF\web.xml(其中 application context 是 admin、jts、ccm、qm 或 rm)具有正確的 <security-role> 標籤。

意見