利用 GUI 在分散式作業系統上升級 Liberty
您可以利用 Installation Manager GUI 來升級分散式作業系統上的 WebSphere® Application Server Liberty 供應項目。
開始之前
- 確定您的 Installation Manager 喜好設定指向包含供應項目所適用之升級項目的 Web 型或本端儲存庫。
- 如果您試圖升級的供應項目已安裝了某個臨時修正程式,但這個特定的臨時修正程式不適用於您想要升級至的供應項目,Installation Manager 會封鎖這項升級。 這時會產生一則錯誤訊息,指出臨時修正程式不適用於這個供應項目。 升級之前,請先移除這個臨時修正程式。
關於這項作業
您可以利用 Installation Manager,依照下列路徑來升級 WebSphere Application Server Liberty 供應項目:
- WebSphere Application Server Liberty Core 至 WebSphere Application Server Liberty
- WebSphere Application Server Liberty Core 至 WebSphere Application Server Liberty Network Deployment
- WebSphere Application Server Liberty - Express® 至 WebSphere Application Server Liberty
- WebSphere Application Server Liberty 至 WebSphere Application Server Liberty Network Deployment
- WebSphere Application Server Liberty 試用版至 WebSphere Application Server Liberty
- WebSphere Application Server Liberty Core 試用版至 WebSphere Application Server Liberty Core
- WebSphere Application Server Liberty Network Deployment 試用版至 WebSphere Application Server Liberty Network Deployment
- WebSphere Application Server Liberty for Developers 至 WebSphere Application Server Liberty
- WebSphere Application Server Liberty for Developers 至 WebSphere Application Server Liberty Network Deployment
程序
- 停止升級中的 WebSphere Application Server Liberty 安裝架構上的所有伺服器和應用程式。
- 啟動 Installation Manager。
- 按一下安裝。 註: 如果提示您進行鑑別,請使用您在程式網站上登錄的 IBM® ID 及密碼。
Installation Manager 會在它的已定義儲存庫中搜尋可用套件。
- 選取您想要升級的目標 Liberty 供應項目名稱以及適當的版本,然後按下一步。
- 接受授權合約中的條款,然後按下一步。
- 完成下列動作。
- 選取使用現有的套件群組。
- 選取您想要升級的產品的套件群組。 重要: 如果您選取無法升級至目前安裝的產品的現有群組,則將發生錯誤。
- 按下一步。
- 選取您想要併到已升級的安裝架構中的任何特性,然後按下一步。
- 檢閱摘要資訊,然後按一下安裝。
- 如果升級順利完成,則程式會顯示一則訊息,指出安裝已順利完成。註: 程式也可能會顯示重要的後置安裝指示。
- 如果安裝失敗,請按一下檢視日誌檔以對問題進行疑難排解。
- 如果升級順利完成,則程式會顯示一則訊息,指出安裝已順利完成。
- 按一下完成。
- 按一下檔案 > 結束以關閉 Installation Manager。
範例
- 登入系統。
- 切換至 Installation Manager 安裝目錄中的 eclipse/tools 子目錄。
- 列出已安裝的套件。
./imcl listInstalledPackages -long
imcl.exe listInstalledPackages -long
- 利用 imcl install 指令,在相同的安裝位置中,將安裝架構升級至不同版本:
./imcl install com.ibm.websphere.liberty.v85 -repositories source_repository -installationDirectory /opt/IBM/WebSphere/Liberty -acceptLicense -showProgress
imcl install com.ibm.websphere.liberty.v85 -repositories source_repository -installationDirectory C:\Program Files\IBM\WebSphere\Liberty -acceptLicense -showProgress
上層主題:
在分散式作業系統上安裝及解除安裝 Liberty
