一. 升級前准備:
1.查看兼容性列表
https://www.vmware.com/resources/compatibility/sim/interop_matrix.php#upgrade&solution=1
2. 請遷移出所有虛擬機,並進入維護模式
二. 安裝文件升級
1. 准備安裝/升級文件
1.1. VMware-VMvisor-Installer-5.1.0-799733.x86_64.iso (安裝包)
1.2. VMware-VMvisor-Installer-5.5.0-1331820.x86_64.iso (安裝包)
1.3. VMware-ESXi-5.5.0-1331820-depot.zip (升級包)
2. 用安裝包升級 esxi
1.先系統版本為 Esxi 5.1.0
2.重啟時加載安裝包VMware-VMvisor-Installer-5.5.0-1331820.x86_64.iso .選擇之前有Esxi 的硬盤安裝.
3. 升級/安裝選擇
有3個選項:
- 升級 Esxi.保留VMFS 數據,與配置(已注冊的虛擬機與序列號等).
- 安裝Esxi. 保留VMFS 數據,但配置會丟失.
- 安裝Esxi,覆蓋VMFS數據, 配置會丟失.
一般建議選第一個,升級好重啟后,版本已更新
三. 脫機捆綁包文件升級
1.開啟SSH 連接
2.查看當前版本
vmware -vl
上傳VMware-ESXi-5.5.0-1331820-depot.zip文件
這台Esxi 主機,只有一個存儲,所以把 VMware-ESXi-5.5.0-1331820-depot.zip文件放在其根目錄.
/vmfs/volumes/datastore1/VMware-ESXi-5.5.0-1331820-depot.zip
3.查看支持的更新。
這里擇更新為 ESXi-5.5.0-1331820-standard。
esxcli software sources profile list -d /vmfs/volumes/datastore1/VMware-ESXi-5.5.0-1331820-depot.zip
4.執行升級
esxcli software profile update -d /vmfs/volumes/datastore1/VMware-ESXi-5.5.0-1331820-depot.zip -p ESXi-5.5.0-1331820-standard
5.重啟后升級成功
四. 在線升級
1.前提條件
Esxi 主機可以訪問hostupdate.vmware.com網站(國內訪問非常慢).
2.查看 可以更新到的版本(以Esxi5.x 為例).
esxcli software sources profile list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep ESXi-5
3.執行在線升級
這里以升級到ESXi-5.5.0-20150901001s-standard為例.
esxcli software profile update -d http://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-5.5.0-20150901001s-standard
重啟后,升級成功