6.0.2

Table Of Contents
n
vendor:name
n
vendor:name:version
For example, the command to remove a VIB specied by vendor, name and version would take this
form:
esxcli –-server myEsxiHost software vib remove --vibname=PatchVendor:patch42:version3
N The remove command supports several more options. See the vSphere Command-Line Interface
Reference.
Adding Third-Party Extensions to Hosts with an esxcli Command
You can use the esxcli software vib command to add to the system a third-party extension released as a
VIB package. When you use this command, the VIB system updates the rewall rule set and refreshes the
host daemon after you reboot the system.
Otherwise, you can use a rewall conguration le to specify port rules for host services to enable for the
extension. The vSphere Security documentation discusses how to add, apply, and refresh a rewall rule set
and lists the esxcli network firewall commands.
Perform a Dry Run of an esxcli Installation or Upgrade
You can use the --dry-run option to preview the results of an installation or upgrade operation. A dry run of
the installation or update procedure does not make any changes, but reports the VIB-level operations that
will be performed if you run the command without the --dry-run option.
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.
Prerequisites
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.
Procedure
1 Enter the installation or upgrade command, adding the --dry-run option.
n
esxcli --server=server_name software vib install --dry-run
n
esxcli --server=server_name software vib update --dry-run
n
esxcli --server=server_name software profile install --dry-run
n
esxcli --server=server_name software profile update --dry-run
2 Review the output that is returned.
The output shows which VIBs will be installed or removed and whether the installation or update
requires a reboot.
vSphere Upgrade
198 VMware, Inc.