6.0.2

Table Of Contents
When you specify a target server by using --server=server_name, the server prompts you for a user name
and password. Other connection options, such as a conguration le or session le, are supported. For a list
of connection options, see Geing Started with vSphere Command-Line Interfaces, or run esxcli --help at the
vCLI command prompt.
N Options to the update and install commands allow you to perform a dry run, to specify a specic
VIB, to bypass acceptance level verication, and so on. Do not bypass verication on production systems.
See the vSphere Command-Line Interface Reference.
Prerequisites
n
Install vCLI or deploy the vSphere Management Assistant (vMA) virtual machine. See Geing Started
with vSphere Command-Line Interfaces. For troubleshooting, run esxcli commands in the ESXi Shell.
n
Determine whether the update requires the host to be in maintenance mode or to be rebooted. If
necessary, place the host in maintenance mode.
See “Determine Whether an Update Requires the Host to Be in Maintenance Mode or to Be Rebooted,”
on page 191. See “Place a Host in Maintenance Mode,” on page 192.
n
If the update requires a reboot, and if the host belongs to a VMware HA cluster, remove the host from
the cluster or disable HA on the cluster.
Procedure
1 Determine which VIBs are installed on the host.
esxcli --server=server_name software vib list
2 Determine which image proles are available in the depot.
esxcli --server=server_name software sources profile list --depot=http://webserver/depot_name
You can specify a proxy server by using the --proxy argument.
3 Update the existing image prole to include the VIBs or install new VIBs.
I The software profile update command updates existing VIBS with the corresponding
VIBs from the specied prole, but does not aect other VIBs installed on the target server. The
software profile install command installs the VIBs present in the depot image prole, and removes
any other VIBS installed on the target server.
Option Description
Update the image profile from a
VMware-supplied zip bundle, in a
depot, accessible online from the
VMware Web site or downloaded to
a local depot.
esxcli software profile update --depot=depot_location --
profile=profile_name
I This is the only update method that VMware supports for zip
bundles supplied by VMware.
VMware-supplied zip bundle names take the form:
VMware-ESXi-6.0.0-build_number-depot.zip
The prole name for VMware-supplied zip bundles takes one of the
following forms.
n
ESXi-6.0.0-build_number-standard
n
ESXi-6.0.0-build_number-notools (does not include VMware
Tools)
Update the image profile from a
depot accessible by URL
esxcli --server=server_name software profile update --
depot=http://webserver/depot_name --profile=profile_name
Update the image profile from ZIP
file stored locally on the target
server
esxcli --server=server_name software profile update --
depot=file:///<path_to_profile_ZIP_file>/<profile_ZIP_file>
--profile=profile_name
Chapter 9 Upgrading Hosts
VMware, Inc. 195