6.0.2

Table Of Contents
Stage Patches to the vCenter Server Appliance
Before you install available patches, you can stage the patches to the appliance. You can use the software-
packages utility to stage patches either from a local repository by aaching an ISO image to the appliance, or
from a remote repository directly by using a repository URL.
Prerequisites
n
If you are staging patches from an ISO image that you previously downloaded from
hps://my.vmware.com/group/vmware/patch, you must aach the ISO image to the CD/DVD drive of
the vCenter Server Appliance. You can congure the ISO image as a datastore ISO le for the CD/DVD
drive of the appliance by using the vSphere Web Client. See vSphere Virtual Machine Administration.
n
If you are staging patches from a remote repository, verify that you have congured the repository
seings and that the current repository URL is accessible. See “Congure URL-Based Patching,” on
page 107.
Procedure
1 Access the appliance shell and log in as a user who has a super administrator role.
The default user with a super administrator role is root.
2 Stage the patches.
n
To stage the patches included in the aached ISO image, run the following command:
software-packages stage --iso
n
To stage the patches included in the current repository URL, run the following command:
software-packages stage --url
By default the current repository URL is the default VMware repository URL.
If you want to stage only the third-party patches, use the --thirdParty option.
n
To stage the patches included in a repository URL that is not currently congured in the appliance,
run the following command:
software-packages stage --url URL_of_the_repository
If you want to stage only the third-party patches, use the --thirdParty option.
If you want to directly accept the End User License Agreement, use the --acceptEulas option.
For example, to stage only the third-party patches from the current repository URL with directly
accepting the End User License Agreement, run the following command:
software-packages stage --url --thirdParty --acceptEulas
In the process of staging, the command validates that a patch is a VMware patch, that the staging area
has enough free space, and that the patches are not altered. Only completely new patches or patches for
existing packages that can be upgraded are staged.
3 (Optional) To see information about the staged patches, run the following command:
software-packages list --staged
Each patch includes a metadata le that contains information such as patch version, product name,
whether a restart of the system is required, and so on.
4 (Optional) To view a list of the staged patches, run the following command:
software-packages list --staged --verbose
Chapter 5 Upgrading and Patching the vCenter Server Appliance and Platform Services Controller Appliance
VMware, Inc. 109