將 WebSphere® Application
Server 移轉至新版本時,您還可以將 WebSphere eXtreme
Scale 用戶端 配置移轉至新的 WebSphere Application
Server 安裝。
開始之前
- 假定同時將 WebSphere eXtreme
Scale 第 7 版和 WebSphere eXtreme
Scale 第 8 版安裝在相同的伺服器上。
- 將 WebSphere Application
Server 第 7 版移轉至 WebSphere Application
Server 第 8 版。如需相關資訊,請參閱移轉產品配置。
- 在 WebSphere Application
Server 第 8 版安裝上安裝 WebSphere eXtreme
Scale 用戶端 8.5 版。
如需相關資訊,請參閱將 WebSphere eXtreme Scale 用戶端與 WebSphere Application Server 一起安裝。所有 WebSphere eXtreme
Scale 用戶端
移轉 Script 必須從 WebSphere eXtreme
Scale 用戶端 8.5 版或更高版本執行。例如,如果從 7.x 版移轉至 8.5 版,請從 <WXS_v8_install_root>/bin 目錄執行 Script 以進行移轉。
關於這項作業
當安裝已整合
WebSphere eXtreme
Scale 之
WebSphere Application
Server 的新版本時,請先使用一般程序升級
WebSphere Application
Server。然後,在新的安裝上安裝新版本的
WebSphere eXtreme
Scale 用戶端。然後,您可以使用
xsmigration Script 將
WebSphere eXtreme
Scale 配置資訊移至新的
WebSphere Application
Server 安裝。
程序
- 將部署管理程式相關的配置從第 7 版移轉至第 8 版。
- 執行 WebSphere Application
Server 備份 Script。 如需相關資訊,請參閱 WASPreUpgrade 指令。
- 停止部署管理程式。
- 存取 WebSphere eXtreme
Scale 用戶端 配置中的部署管理程式伺服器,並執行移轉 Script。
- 將目錄變更為:<WXS_v8_install_root>/bin
- 執行下列指令:
xsmigration.bat|sh -targetwashome <WAS8x_HOME>
-sourcewashome <WAS7x_HOME> -targetprofilepath <WAS8x_DmgrProfile>
-sourceprofilepath <WAS7x_DmgrProfile>
其中- <WAS8x_HOME> 是 WebSphere Application
Server 8.x 版安裝的根位置。
範例:/opt/IBM/WebSphere8
- <WAS7x_HOME> 是 WebSphere Application
Server 7.x 版安裝的根目位置。
範例:/opt/IBM/WebSphere7
- <WAS8x_DmgrProfile> 是 WebSphere Application
Server 8.x 版部署管理程式設定檔的位置。
範例:/opt/IBM/WebSphere8/profiles/DMgr01
- <WAS7x_DmgrProfile> 是 WebSphere Application
Server 7.x 版部署管理程式設定檔的位置。
範例:/opt/IBM/WebSphere7/profiles/DMgr01
- 將應用程式伺服器相關的配置從第 7 版移轉至第 8 版。
- 將目錄變更為:<WXS_v8_install_root>/bin。
- 執行下列指令:
xsmigration.bat|sh -targetwashome <WAS8x_HOME>
-sourcewashome <WAS7x_HOME> -targetprofilepath <WAS8x_AppServerProfile>
-sourceprofilepath <WAS7x_AppServerProfile>
其中- <WAS8x_HOME> 是 WebSphere Application
Server 8.x 版安裝的根位置。
範例:/opt/IBM/WebSphere8
- <WAS7x_HOME> 是 WebSphere Application
Server 7.x 版安裝的根目位置。
範例:/opt/IBM/WebSphere7
- <WAS8x_AppServerProfile> 是 WebSphere Application
Server 8.x 版應用程式伺服器設定檔的位置。
範例:/opt/IBM/WebSphere8/profiles/AppServer01
- <WAS7x_AppServerProfile> 是 WebSphere Application
Server 7.x 版應用程式伺服器設定檔的位置。
範例:/opt/IBM/WebSphere7/profiles/AppServer01
- 重新啟動 WebSphere Application
Server 第 8 版部署管理程式,並同步化所有受管理節點。