Esxi 7.0後SSH更新 ESXi指令
先獲取安裝的zip檔 VMware-ESXi-xxx-xxxxxxxx-depot.zip.上傳檔案到datastore
以下請依檔名datastore修正下面的指令.
esxcli software profile update -d /vmfs/volumes/datastore/VMware-ESXi-xxx-xxxxxxxx-depot.zip -p ESXi-xxx-xxxxxxxx-standard
打開ESXi的ssh,使用ssh軟體連到ESXi主機登入後貼上上面這行指令,如果有錯誤按錯誤指另新增指令在後方.
/vmfs/volumes/datastore 要在你的datastore ->位置: 查出下列一串數字
/vmfs/volumes/123456ef-12db3456-123a-12aedd345678
esxcli software profile update -d /vmfs/volumes/123456ef-12db3456-123a-12aedd345678/VMware-ESXi-xxx-xxxxxxxx-depot.zip -p ESXi-xxx-xxxxxxxx-standard
或者可以直接使用線上升級指令.
esxcli network firewall ruleset set -e true -r httpClient
esxcli software profile update -p ESXi-8.0U1-21495797-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
esxcli network firewall ruleset set -e false -r httpClient
加上硬體錯誤無警告
esxcli software profile update -p ESXi-8.0U1-21495797-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml --no-hardware-warning
esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml --no-hardware-warning -p ESXi-8.0U1-21495797-standard
更新完成打上reboot 重啟ESXi.
頁:
[1]