Wednesday, January 9, 2013

VMware ESXi 5 Update 更新 ( Command Line )

【安裝前的準備】
使用「esxcli software profile get」指令,查詢記錄更新前的版本及更新狀態,以便更新後驗證對照。

 ~ # esxcli software profile get
   ESXi-5.0.0-469512-standard
        Name: ESXi-5.0.0-469512-standard
        Vendor: VMware, Inc.

        ......


【開始系統更新】
開始更新 VMware ESXi 5.0 時,使用的「esxcli」指令是:
esxcli software vib install --depot 《更新檔路徑》
或是:
esxcli software vib install -d 《更新檔路徑》

順便加上進入「維護模式」的參數,一長串指令就像這樣:
esxcli software vib install --maintenance-mode -d /vmfs/volumes/datastore/update-from-esxi5.0-5.0_update01.zip 

【驗證更新結果】
再次使用「esxcli」指令查詢更新版本:

 ~ # esxcli software profile get

No comments:

Post a Comment