VC6.0升級到VC6.0U1

 從VMware ESXi 6.0.0 build-2494585升級到VMware ESXi 6.0.0 build-2615704
升級過程如下:
1.從圖形化客戶端,開啓要升級的的esxishell 和shell。(在配置--安全配置文件-服務裏臨時手動啓動)。
2.將升級軟件包上傳到相應服務器/vmfs/volumes/datastore1目錄下(具體自己去查看),這下面纔有足夠的空間釋放安裝。軟件升級包爲:ESXi600-201504001.zip。
3. 使用# vim-cmd hostsvc/maintenance_mode_enter 命令進入維護模式。
4. 使用# esxcli software vib list 命令查看當前版本(或:vmware -v)。
5. 使用# esxcli software profile get 命令顯示已經安裝的補丁包。
6. 使用# esxcli software vib install --maintenance-mode -d /vmfs/volumes/datastore1/ESXi600-201504001.zip (或使用:esxcli software vib install -d /vmfs/volumes/datastore1/ESXi600-201504001.zip)命令升級。
7. 再次# esxcli software profile get 命令顯示已經安裝的補丁包。
8. 使用# vim-cmd hostsvc/maintenance_mode_exit 命令退出維護模式。
9. 使用# reboot 命令重啓系統。
10. 再次# esxcli software vib list 使用查看版本確認即可。

ESXI主機自己開啓進入維護模式 esxcli system maintenanceMode set -enable yes (不經過VCenter)

Issue the following command (full path to the file must be specified):
esxcli software vib install -v {VIBFILE}
or
esxcli software vib install -d {OFFLINE_BUNDLE}

In the example above, this would be:
esxcli software vib install -v /tmp/VMware_bootbank_net-driver.1.1.0-1vmw.0.0.372183.vib
Note: Depending on the certificate used to sign the VIB, you may need to
change the host acceptance level. To do this, use the following command:
esxcli software acceptance set --level=<level>
Also, depending on the type of VIB being installed, you may have to put
ESX into maintenance mode. This can be done through the VI Client, or by
adding the '--maintenance-mode' option to the above esxcli command.

Upgrade Installation
--------------------
The upgrade process is similar to a new install, except the command that should
be issued is the following:
esxcli software vib update -v {VIBFILE}
or
esxcli software vib update -d {OFFLINE_BUNDLE}
附具體命令用法:
Usage: esxcli software vib install [cmd options]
Description:
install Installs VIB packages from a URL or depot. VIBs may be installed, upgraded, or downgraded. WARNING: If
your installation requires a reboot, you need to disable HA first.
Cmd options:
-d|--depot=[ <str> ... ]
Specifies full remote URLs of the depot index.xml or server file path pointing to an offline bundle .zip
file.
--dry-run Performs a dry-run only. Report the VIB-level operations that would be performed, but do not change
anything in the system.
-f|--force Bypasses checks for package dependencies, conflicts, obsolescence, and acceptance levels. Really not
recommended unless you know what you are doing. Use of this option will result in a warning being
displayed in the vSphere Client. Use this option only when instructed to do so by VMware Technical
Support.
--maintenance-mode Pretends that maintenance mode is in effect. Otherwise, installation will stop for live installs that
require maintenance mode. This flag has no effect for reboot required remediations.
--no-live-install Forces an install to /altbootbank even if the VIBs are eligible for live installation or removal. Will
cause installation to be skipped on PXE-booted hosts.
--no-sig-check Bypasses acceptance level verification, including signing. Use of this option poses a large security risk
and will result in a SECURITY ALERT warning being displayed in the vSphere Client.
--proxy=<str> Specifies a proxy server to use for HTTP, FTP, and HTTPS connections. The format is proxy-url:port.
-n|--vibname=[ <str> ... ]
Specifies VIBs from a depot, using one of the following forms: name, name:version, vendor:name, or
vendor:name:version.
-v|--viburl=[ <str> ... ]
Specifies one or more URLs to VIB packages to install. http:, https:, ftp:, and file: are all supported

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章