移轉至 9.0 版獨立式應用程式伺服器設定檔

請利用移轉工具,從 WebSphere® Application Server 7.0 版或更新版本移轉至新的 9.0 版獨立式應用程式伺服器設定檔。

開始之前

支援的配置 支援的配置:

本文討論設定檔配置的移轉。 如果要將應用程式移轉至最新的版本,請使用 WebSphere Application Server Migration Toolkit。 如需相關資訊,請參閱 WASdev 上的 Migration Toolkit

sptcfg

請參閱移轉、共存性與交互作業能力概觀移轉注意事項

如需資源來協助您規劃和執行移轉,請造訪 Knowledge Collection: Migration planning for WebSphere Application Server

如需相關說明,請參閱移轉疑難排解

在您遵循下列的指示之前,請先執行準備移轉產品配置中的動作。

提示: 在移轉舊版 WebSphere Application Server 獨立式應用程式伺服器設定檔之前,如果您想在移轉之後,能夠將現有的配置還原為先前的狀態,請先利用 backupConfig 指令或您自己偏好的備份公用程式來備份您現有的配置。 如需相關資訊,請參閱 backupConfig 指令。請確定您已記下此備份配置的確切名稱與位置。

您可以指定 -properties file_name.properties 參數來輸入內容檔,而不在移轉指令上指定個別參數。 如需相關資訊,請參閱透過內容定義移轉

程序

  1. 建立 WebSphere Application Server 9.0 版設定檔來接收來源配置。
    1. 啟動 Qshell 環境,以便執行 WebSphere Application Server Script。
      從指令行輸入下列指令:
      STRQSH
    2. 執行 dspwasinst Script 來取得要移轉的 7.0 版或更新版本實例或設定檔的節點名稱和伺服器名稱。
      使用下列參數:
      app_server_root/bin/dspwasinst
       -instance 70_profile_name
      其中
      • app_server_root 是包含要移轉之實例或設定檔的來源安裝架構位置
      • 70_profile_name 是要移轉之來源實例或設定檔的名稱
      節點的名稱列在節點區段中,伺服器名稱列在伺服器資訊區段中。
    3. 執行 manageprofiles Script。
      使用下列參數:
      app_server_root/bin/manageprofiles
       -create
       -profileName 90_profile_name
       -startingPort starting_port_number
       -templatePath app_server_root/profileTemplates/default
       -serverName 70_application_server_name
       -nodeName 70_node_name
      其中
      • app_server_root9.0 版的安裝位置
      • 90_profile_name9.0 版設定檔的名稱

        這個參數必須與要移轉的來源實例或設定檔相同。

      • starting_port_number 是內含 13 個連續埠的區塊中第一個埠
      • 70_application_server_name 是上一步驟所取得之來源 7.0 版或更新版本應用程式伺服器的名稱
      • 70_node_name 是上一步驟所取得的來源 7.0 版或更新版本節點名稱

        當移轉至 9.0 版時,來源和目標節點名稱必須相同。

      如需 manageprofiles 指令的語法和參數的詳細資料,請參閱 manageprofiles 指令

  2. 儲存來源 WebSphere Application Server 安裝架構的配置。
    1. 啟動 Qshell 環境,以便執行 WebSphere Application Server Script。
      從指令行輸入下列指令:
      STRQSH
    2. 執行 WASPreUpgrade Script。
      使用下列參數:
      app_server_root/bin/WASPreUpgrade
       backup_directory_name
       profile_root
      其中
      • app_server_root9.0 版的安裝位置
      • backup_directory_name(必要的參數)是 WASPreUpgrade 移轉工具用來存放所儲存配置與檔案之整合檔案系統目錄的完整路徑

        如果目錄尚未存在,就會建立它。此外,WASPreUpgrade 移轉工具也會在這個目錄中,寫入一個稱為 WASPreUpgrade.log 的日誌檔,其中記載 WASPreUpgrade 指令已採取的步驟。

      • profile_root(必要參數)是要移轉的來源實例或設定檔的路徑

      如需 WASPreUpgrade 指令與其參數的完整說明,請參閱WASPreUpgrade 指令

  3. WebSphere Application Server 來源配置還原至目標 9.0 版 設定檔中。
    1. 啟動 Qshell 環境,以便執行 WebSphere Application Server Script。
      從指令行輸入下列指令:
      STRQSH
    2. 執行 WASPostUpgrade Script。
      使用下列參數:
      app_server_root/bin/WASPostUpgrade
       backup_directory_name
       -profileName 90_profile_name
       [-setPorts useOld | generateNew | port_starting_number]
      其中
      • app_server_root9.0 版的安裝位置。
      • backup_directory_name 是必要的目錄名稱,供 WASPreUpgrade 工具用來存放所儲存的配置與檔案,以及供 WASPostUpgrade 工具讀取其中的配置與檔案。
      • 90_profile_name 是 Script 移轉您的配置時的目標 9.0 版設定檔名稱。
      • -setPorts 指定要執行移轉之 IBM® i 伺服器上要使用的埠值。
        • useOld(預設值):使用舊設定檔使用的相同埠。
        • generateNew:根據預設埠指派,來產生新埠。
        • port_starting_number:從指定埠增量,來產生新埠。

        如果您不希望您的設定檔埠與預設設定檔埠發生衝突,建議您一律將 -setPorts 參數指定為 generateNew 或起始埠值。

        註: 當您將獨立式應用程式伺服器從 7.0 版或更新版本移轉至 9.0 版時,您可以選擇已登錄於管理代理程式的獨立式應用程式伺服器節點來作為移轉目標。

      如需 WASPostUpgrade 指令與其參數的完整說明,請參閱WASPostUpgrade 指令

  4. 驗證已正確移轉您的配置和應用程式。

    如果已正確移轉配置,但未安裝任何應用程式,您可以執行 WASMigrationAppInstaller 指令,只安裝未移轉的應用程式。 如需相關資訊,請參閱WASMigrationAppInstaller 指令

  5. 啟動收到已移轉之配置的 WebSphere Application Server 9.0 版設定檔。
    1. 如果 QWAS9 子系統尚未啟動,請啟動它。
      從指令行輸入下列指令:
      STRSBS QWAS9/QWAS9
    2. 啟動 Qshell 環境,以便執行 WebSphere Application Server Script。
      從指令行輸入下列指令:
      STRQSH
    3. 執行 startServer Script。
      使用下列參數:
      app_server_root/bin/startServer
       -profileName 90_profile_name
       70_server_name
      其中
      • app_server_root9.0 版的安裝位置
      • 90_profile_name 是先前步驟中所建立之 9.0 版設定檔的名稱
      • 70_server_name 是已移轉之 7.0 版或更新版本應用程式伺服器的名稱

指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: last_date
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-iseries&topic=tmig_is_to70sas
檔名:tmig_is_to70sas.html