vsphere-update-manager-50-install-administration-guide
vsphere-update-manager-50-install-administration-guide
EN-000457-01
Installing and Administering VMware vSphere Update Manager
You can find the most up-to-date technical documentation on the VMware Web site at:
http://www.vmware.com/support/
The VMware Web site also provides the latest product updates.
If you have comments about this documentation, submit your feedback to:
docfeedback@vmware.com
Copyright © 2009–2011 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and
intellectual property laws. VMware products are covered by one or more patents listed at
http://www.vmware.com/go/patents.
VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks
and names mentioned herein may be trademarks of their respective companies.
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
2 VMware, Inc.
Contents
Updated Information 11
2 System Requirements 23
Update Manager Hardware Requirements 23
Supported Operating Systems and Database Formats 24
Update Manager Compatibility with vCenter Server and the vSphere Client 24
Required Database Privileges 24
VMware, Inc. 3
Installing and Administering VMware vSphere Update Manager
4 VMware, Inc.
Contents
VMware, Inc. 5
Installing and Administering VMware vSphere Update Manager
6 VMware, Inc.
Contents
17 Troubleshooting 173
Connection Loss with Update Manager Server or vCenter Server in a Single vCenter Server
System 173
Connection Loss with Update Manager Server or vCenter Server in a Connected Group in vCenter
Linked Mode 174
Gather Update Manager Log Bundles 175
Gather Update Manager and vCenter Server Log Bundles 175
Log Bundle Is Not Generated 175
Host Extension Remediation or Staging Fails Due to Missing Prerequisites 176
No Baseline Updates Available 176
All Updates in Compliance Reports Are Displayed as Not Applicable 177
All Updates in Compliance Reports Are Unknown 177
VMware Tools Upgrade Fails if VMware Tools Is Not Installed 177
ESX/ESXi Host Scanning Fails 178
ESXi Host Upgrade Fails 178
The Update Manager Repository Cannot Be Deleted 178
Incompatible Compliance State 179
Updates Are in Conflict or Conflicting New Module State 180
Updates Are in Missing Package State 180
Updates Are in Not Installable State 181
Updates Are in Unsupported Upgrade State 181
Index 191
VMware, Inc. 7
Installing and Administering VMware vSphere Update Manager
8 VMware, Inc.
About This Book
Installing and Administering VMware vSphere Update Manager provides information about installing, configuring,
®
and using VMware vSphere Update Manager to scan and remediate the objects in your vSphere environment.
It also describes the tasks that you can perform to update your vSphere inventory objects and make them
compliant against attached baselines and baseline groups.
For scanning and remediation, Update Manager works with the following ESX/ESXi versions.
n For VMware Tools and virtual machine hardware upgrade operations, Update Manager works with
ESX/ESXi version 4.0 and later.
n For ESX/ESXi host patching operations, Update Manager works with ESX/ESXi 3.5 and later.
n For ESX/ESXi host upgrade and migration operations, Update Manager works with ESX/ESXi 4.0 and
later.
NOTE Update Manager 5.0 does not support virtual machine patch operations.
Intended Audience
This information is intended for anyone who wants to install, upgrade, or use Update Manager. The
information is written for experienced Windows or Linux system administrators who are familiar with virtual
machine technology and datacenter operations.
VMware, Inc. 9
Installing and Administering VMware vSphere Update Manager
10 VMware, Inc.
Updated Information
This Installing and Administering VMware vSphere Update Manager is updated with each release of the product
or when necessary.
This table provides the update history of the Installing and Administering VMware vSphere Update Manager.
Revision Description
EN-000457-01 n Provided references to vSphere Compatibility Guide and to VMware Product Interoperability Matrixes
in “Supported Operating Systems and Database Formats,” on page 24.
n Provided reference to VMware Product Interoperability Matrixes in “Update Manager Compatibility
with vCenter Server and the vSphere Client,” on page 24.
VMware, Inc. 11
Installing and Administering VMware vSphere Update Manager
12 VMware, Inc.
Understanding Update Manager 1
Update Manager enables centralized, automated patch and version management for VMware vSphere and
offers support for VMware ESX/ESXi hosts, virtual machines, and virtual appliances.
Update Manager requires network connectivity with VMware vCenter Server. Each installation of
Update Manager must be associated (registered) with a single vCenter Server instance. The
Update Manager module consists of a plug-in that runs on the vSphere Client, and of a server component,
which you can install either on the same computer as the vCenter Server system or on a different computer.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, and you want to use
Update Manager for each vCenter Server system, you must install and register Update Manager instances with
each vCenter Server system. You can use an Update Manager instance only with the vCenter Server system
with which it is registered.
To install Update Manager, you must have Windows administrator credentials for the computer on which you
install Update Manager.
You can deploy Update Manager in a secured network without Internet access. In such a case, you can use the
VMware vSphere Update Manager Download Service (UMDS) to download update metadata and update
binaries.
To access the Administration view, you can use the Update Manager icon under Solutions and Applications
in the vSphere Client Home page or click Admin view from the Update Manager tab. In the
Update Manager Client Administration view, you can do the following tasks:
n Configure the Update Manager settings
n Create and manage baselines and baseline groups
n View Update Manager events
VMware, Inc. 13
Installing and Administering VMware vSphere Update Manager
To view Compliance view information for a selected inventory object, click the Update Manager tab in the
Hosts and Clusters or VMs and Templates inventory view of the vSphere Client. In the Update Manager Client
Compliance view, you can do the following tasks:
n View compliance and scan results for each selected inventory object
n Attach and detach baselines and baseline groups from a selected inventory object
n Scan a selected inventory object
n Stage patches or extensions to hosts
n Remediate a selected inventory object
If your vCenter Server system is part of a connected group in vCenter Linked Mode, and you have installed
and registered more than one Update Manager instance, you can configure the settings for each
Update Manager instance. Configuration properties that you modify are applied only to the
Update Manager instance that you specify and are not propagated to the other instances in the group. You can
specify an Update Manager instance by selecting the name of the vCenter Server system with which the
Update Manager instance is registered from the navigation bar.
For a vCenter Server system that is a part of a connected group in vCenter Linked Mode, you can also manage
baselines and baseline groups as well as scan and remediate only the inventory objects managed by the
vCenter Server system with which Update Manager is registered.
The Update Manager process begins by downloading information (metadata) about a set of patches, extensions,
and virtual appliance upgrades. One or more of these patches or extensions are aggregated to form a baseline.
You can add multiple baselines to a baseline group. A baseline group is a composite object that consists of a
set of nonconflicting baselines. You can use baseline groups to combine different types of baselines, and scan
and remediate an inventory object against all of them as a whole. If a baseline group contains both upgrade
and patch or extension baselines, the upgrade runs first.
A collection of virtual machines, virtual appliances, and ESX/ESXi hosts or individual inventory objects can
be scanned for compliance with a baseline or a baseline group and later remediated. You can initiate these
processes manually or through scheduled tasks.
n Configuring the Update Manager Download Source on page 15
You can configure the Update Manager server to download patches, extensions, and virtual appliance
upgrades either from the Internet or from a shared repository. You can also import patches and extensions
manually from a ZIP file.
n Downloading Updates and Related Metadata on page 16
Downloading virtual appliance upgrades, host patches, extensions, and related metadata is a predefined
automatic process that you can modify. By default, at regular configurable intervals, Update Manager
contacts VMware or third-party sources to gather the latest information (metadata) about available
upgrades, patches, or extensions.
14 VMware, Inc.
Chapter 1 Understanding Update Manager
If your deployment system is connected to the Internet, you can use the default settings and links for
downloading upgrades, patches, and extensions to the Update Manager repository. You can also add URL
addresses to download virtual appliance upgrades or third-party patches and extensions. Third-party patches
and extensions are applicable only to hosts that are running ESX/ESXi 4.0 and later.
If your deployment system is not connected to the Internet, you can use a shared repository after downloading
the upgrades, patches, and extensions by using Update Manager Download Service (UMDS).
For more information about UMDS, see Chapter 9, “Installing, Setting Up, and Using Update Manager
Download Service,” on page 57.
With Update Manager, you can import both VMware and third-party patches or extensions manually from a
ZIP file, also called an offline bundle. Import of offline bundles is supported only for hosts that are running
ESX/ESXi 4.0 and later. You download the offline bundle ZIP files from the Internet or copy them from a media
drive, and save them on a local or a shared network drive. You can import the patches or extensions to the
Update Manager patch repository later. You can download offline bundles from the VMware Web site or from
the Web sites of third-party vendors.
VMware, Inc. 15
Installing and Administering VMware vSphere Update Manager
For detailed descriptions of the procedures, see “Configuring the Update Manager Download Sources,” on
page 68.
VMware provides information about patches for ESX/ESXi hosts and virtual appliance upgrades.
Update Manager downloads the following types of information:
n Metadata about all ESX/ESXi 4.x and ESXi 5.x patches regardless of whether you have hosts of such
versions in your environment.
n Patches for ESX/ESXi 3.5 hosts, which are downloaded the first time you add an ESX/ESXi 3.5 host to your
environment.
n Metadata about ESX/ESXi 4.x and ESXi 5.x patches as well as about extensions from third-party vendor
URL addresses.
n Notifications, alerts, and patch recalls for ESX/ESXi 4.x and ESXi 5.x hosts.
n Metadata about upgrades for virtual appliances.
Downloading information about all updates is a relatively low-cost operation in terms of disk space and
network bandwidth. The availability of regularly updated metadata lets you add scanning tasks for hosts or
appliances at any time.
Update Manager supports the recall of patches for hosts that are running ESX/ESXi 4.0 or later. A patch is
recalled if the released patch has problems or potential issues. After you scan the hosts in your environment,
Update Manager alerts you if the recalled patch has been installed on a certain host. Recalled patches cannot
be installed on hosts with Update Manager. Update Manager also deletes all the recalled patches from the
Update Manager patch repository. After a patch fixing the problem is released, Update Manager downloads
the new patch to its patch repository. If you have already installed the problematic patch, Update Manager
notifies you that a fix was released and prompts you to apply the new patch.
For more information about UMDS, see Chapter 9, “Installing, Setting Up, and Using Update Manager
Download Service,” on page 57.
You can configure Update Manager to use an Internet proxy to download upgrades, patches, extensions, and
related metadata.
You can change the time intervals at which Update Manager downloads updates or checks for notifications.
For detailed descriptions of the procedures, see “Configure Checking for Updates,” on page 73 and
“Configure Notifications Checks,” on page 74.
16 VMware, Inc.
Chapter 1 Understanding Update Manager
Bulletin A grouping of one or more VIBs. Bulletins are defined within metadata.
Depot A logical grouping of VIBs and associated metadata that is published online.
Host upgrade image An ESXi image that you can import in the Update Manager repository and use
for upgrading ESX/ESXi 4.x hosts to ESXi 5.0.
Extension A bulletin that defines a group of VIBs for adding an optional component to a
ESX host. An extension is usually provided by a third party that is also
responsible for patches or updates to the extension.
Metadata Extra data that defines dependency information, textual descriptions, system
requirements, and bulletins.
Offline bundle ZIP An archive that encapsulates VIBs and corresponding metadata in a self-
contained package that is useful for offline patching.
Patch A bulletin that groups one or more VIBs together to address a particular issue
or enhancement.
Roll-up A collection of patches that is grouped for ease of download and deployment.
VA upgrade Updates for a virtual appliance, which the vendor considers an upgrade.
With Update Manager 5.0 you can upgrade or migrate hosts that are running ESX/ESXi 4.x to ESXi 5.x. Host
upgrades to ESX/ESXi 4.x are not supported.
Before uploading ESXi images, obtain the image files from the VMware Web site or another source. You can
create custom ESXi images that contain third-party VIBs by using Image Builder. For more information, see
Image Builder Administration.
You can upload and manage ESXi images from the ESXi Images tab of the Update Manager Administration
view.
ESXi images that you import are kept in the Update Manager repository. You can include ESXi images in host
upgrade baselines. To delete an ESXi image from the Update Manager repository, first you must delete the
upgrade baseline that contains it. After you delete the baseline, you can delete the image from the ESXi
Images tab.
For more information about importing ESXi images and creating host upgrade baselines, see “Create a Host
Upgrade Baseline,” on page 90.
VMware, Inc. 17
Installing and Administering VMware vSphere Update Manager
Host baseline groups can contain a single upgrade baseline, as well as a number of patch and extension
baselines.
Virtual machine and virtual appliance baseline groups can contain up to three upgrade baselines: one
VMware Tools upgrade baseline, one virtual machine hardware upgrade baseline, and one virtual appliance
upgrade baseline.
When you scan hosts, virtual machines, and virtual appliances, you evaluate them against baselines and
baseline groups to determine their level of compliance.
Update Manager includes two predefined patch baselines and three predefined upgrade baselines. You cannot
edit or delete the three predefined virtual machine and virtual appliance upgrade baselines. You can use the
predefined baselines, or create patch, extension, and upgrade baselines that meet your criteria. Baselines you
create, as well as predefined baselines, can be combined in baseline groups. For more information about
creating and managing baselines and baseline groups, see Chapter 11, “Working with Baselines and Baseline
Groups,” on page 83.
Baseline Types
Update Manager supports different types of baselines that you can use when scanning and remediating objects
in your inventory.
Upgrade Baselines
Baseline Description
Host Upgrade Defines to which version to upgrade or migrate the hosts in your environment. With
Baseline Update Manager, you can upgrade or migrate ESX/ESXi hosts from version 4.x to ESXi 5.x.
Virtual Appliance Defines to which version to upgrade a selected virtual appliance. For example, you can upgrade to
Upgrade Baseline the latest released virtual appliance version by using the predefined VA Upgrade to Latest
(Predefined) baseline.
Virtual Machine Defines to which version to upgrade virtual hardware or VMware Tools. With Update Manager 5.0
Upgrade Baseline you can upgrade to hardware version 8.0 and to the latest VMware Tools version on hosts that are
running ESXi 5.0.
Patch Baselines
Patch baselines define a number of patches that must be applied to a given host. Patch baselines can be either
dynamic or fixed.
Baseline Description
Dynamic Patch The contents of a dynamic baseline are based on available patches that meet the specified criteria. As
Baseline the set of available patches changes, dynamic baselines are updated as well. You can explicitly include
or exclude any patches.
Fixed Patch Baseline You manually specify which patches to include in the fixed patch baseline from the total set of patches
available in the Update Manager repository.
18 VMware, Inc.
Chapter 1 Understanding Update Manager
Extension Baselines
Baseline Description
Extension Contains extensions (additional software such as third-party device drivers) that must be applied to a given
Baseline host. Extensions are installed on hosts that do not have such software installed on them, and patched on
hosts that already have the software installed. All third-party software for ESX/ESXi hosts is classified as
a host extension, although host extensions are not restricted to just third-party software.
Critical Host Patches Checks ESX/ESXi hosts for compliance with all critical patches.
(Predefined)
Non-Critical Host Checks ESX/ESXi hosts for compliance with all optional patches.
Patches (Predefined)
VMware Tools Upgrade Checks virtual machines for compliance with the latest VMware Tools version
to Match Host on the host. Update Manager supports upgrading of VMware Tools for virtual
(Predefined) machines on hosts that are running ESX/ESXi 4.0 and later.
VM Hardware Upgrade to Checks the virtual hardware of a virtual machine for compliance with the latest
Match Host (Predefined) version supported by the host. Update Manager supports upgrading to virtual
hardware version 8.0 on hosts that are running ESXi 5.x.
VA Upgrade to Latest Checks virtual appliance compliance with the latest released virtual appliance
(Predefined) version.
Baseline Groups
Baseline groups can contain patch, extension, and upgrade baselines. The baselines that you add to a baseline
group must be non-conflicting.
A baseline group is limited to a combination of patches, extensions, and upgrades. The following are valid
combinations of baselines that can make up a baseline group:
n Multiple host patch and extension baselines.
n One upgrade baseline, multiple patch and extension baselines.
For example, one ESX/ESXi upgrade baseline and multiple ESX/ESXi patch or extension baselines.
n Multiple upgrade baselines, but only one upgrade baseline per upgrade type (like VMware Tools, virtual
machine hardware, virtual appliance, or host).
For example, VMware Tools Upgrade to Match Host baseline, VM Hardware Upgrade to Match Host
baseline and one VA Upgrade to Latest baseline. You cannot create a baseline group containing two virtual
appliance upgrade baselines.
Although you can attach baselines and baseline groups to individual objects, a more efficient method is to
attach them to container objects, such as folders, vApps, clusters, and datacenters. Individual vSphere objects
inherit baselines attached to the parent container object. Removing an object from a container removes the
inherited baselines from the object.
VMware, Inc. 19
Installing and Administering VMware vSphere Update Manager
For a detailed description of the procedure, see “Attach Baselines and Baseline Groups to Objects,” on
page 97 .
You can scan a host installation to determine whether the latest patches or extensions are applied, or you can
scan a virtual machine to determine whether it is up to date with the latest virtual hardware or
VMware Tools version.
Host patch scan You can perform patch scans on ESX 3.5 and later, ESX 3i version 3.5 and later,
as well as ESX/ESXi 4.0 and later.
Host extensions scan You can scan ESX/ESXi 4.0 and later for extensions (additional software
modules).
Host upgrade scan You can scan ESX/ESXi 4.x for upgrading to ESXi 5.x.
VMware Tools scan You can scan virtual machines running Windows or Linux for the latest
VMware Tools version. You can perform VMware Tools scans on online as well
as offline virtual machines and templates. You should power on the virtual
machine at least once before performing a VMware Tools scan.
Virtual machine You can scan virtual machines running Windows or Linux for the latest virtual
hardware upgrade scan hardware supported on the host. You can perform hardware-upgrade scans on
online as well as offline virtual machines and templates.
Virtual appliance You can scan powered-on virtual appliances that are created with VMware
upgrade scan Studio 2.0 and later.
You can use VMware Studio 2.0 and later to automate the creation of ready-to-deploy vApps with pre-
populated application software and operating systems. VMware Studio adds a network agent to the guest so
that vApps bootstrap with minimal effort. Configuration parameters specified for vApps appear as OVF
properties in the vCenter Server deployment wizard. For more information about VMware Studio, see the
VMware SDK and API documentation for VMware Studio. For more information about vApp, you can also
check the VMware blog site. You can download VMware Studio from the VMware Web site.
You can initiate scans on container objects, such as datacenters, clusters, vApps, or folders, to scan all the
ESX/ESXi hosts or virtual machines and appliances contained in the container object.
You can configure Update Manager to scan virtual machines, virtual appliances, and ESX/ESXi hosts against
baselines and baseline groups by manually initiating or scheduling scans to generate compliance information.
You should schedule scan tasks at a datacenter or vCenter Server system level to make sure that scans are up
to date.
For manual and scheduled scanning procedures, see Chapter 12, “Scanning vSphere Objects and Viewing Scan
Results,” on page 101.
20 VMware, Inc.
Chapter 1 Understanding Update Manager
When you select a container object, you view the overall compliance status of the container against the attached
baselines as a group. You also see the individual compliance statuses of the objects in the selected container
against all baselines. If you select an individual baseline attached to the container object, you see the compliance
status of the container against the selected baseline.
If you select an individual virtual machine, appliance, or host, you see the overall compliance status of the
selected object against all attached baselines and the number of updates. If you select an individual baseline
attached to this object, you see the number of updates grouped by the compliance status for that baseline.
The compliance information is displayed on the Update Manager tab. For more information about viewing
compliance information, see “Viewing Scan Results and Compliance States for vSphere Objects,” on
page 103.
Staging patches and extensions to hosts that are running ESX/ESXi 4.0 or later lets you download the patches
and extensions from the Update Manager server to the ESX/ESXi hosts without applying the patches or
extensions immediately. Staging patches and extensions speeds up the remediation process because the
patches and extensions are already available locally on the hosts.
IMPORTANT Update Manager does not stage patches to PXE booted ESXi 4.x hosts. Update Manager can stage
patches to PXE booted ESXi 5.x hosts.
For more information about staging patches, see “Stage Patches and Extensions to ESX/ESXi Hosts,” on
page 121.
Remediation makes the selected vSphere objects compliant with patch, extension, and upgrade baselines.
As with scanning, you can remediate single hosts, virtual machines, or virtual appliances, and you can also
initiate remediation on the folder, cluster, or datacenter level, as well as on all objects in your virtual
infrastructure.
You can remediate the objects in your vSphere inventory by using either manual remediation or scheduled
remediation. For more information about manual and scheduled remediation, see Chapter 13, “Remediating
vSphere Objects,” on page 117.
VMware, Inc. 21
Installing and Administering VMware vSphere Update Manager
Remediating Hosts
Update Manager 5.0 supports only upgrade from ESXi 4.x to ESXi 5.x and migration from ESX 4.x to
ESXi 5.x. You cannot use Update Manager to upgrade a host to ESXi 5.0 if the host was upgraded from ESX
3.x to ESX 4.x. Such hosts do not have sufficient free space in the /boot partition to support the Update Manager
upgrade process. Use a scripted or interactive upgrade instead.
IMPORTANT Update Manager neither upgrades nor patches PXE booted ESXi hosts of version 4.x and skips
them when you remediate hosts in a container object. You can patch PXE booted ESXi 5.0 hosts if you enable
the setting from the ESX Host/Cluster Settings page of the Configuration tab or from the Remediate wizard.
After you upload ESXi images, upgrades for ESX/ESXi hosts are managed through baselines and baseline
groups.
Typically hosts are put into maintenance mode before remediation if the update requires it. Virtual machines
cannot run when a host is in maintenance mode. To ensure a consistent user experience, vCenter Server
migrates the virtual machines to other hosts within a cluster before the host is put in maintenance mode.
vCenter Server can migrate the virtual machines if the cluster is configured for vMotion and if VMware
Distributed Resource Scheduler (DRS) and VMware Enhanced vMotion Compatibility (EVC) are enabled. EVC
is not a prerequisite for vMotion. EVC guarantees that the CPUs of the hosts are compatible. For other
containers or individual hosts that are not in a cluster, migration with vMotion cannot be performed.
IMPORTANT After you have upgraded or migrated your host to ESXi 5.x, you cannot roll back to your version
4.x ESX or ESXi software. Back up your host configuration before performing an upgrade or migration. If the
upgrade or migration fails, you can reinstall the 4.x ESX or ESXi software that you upgraded or migrated from,
and restore your host configuration. For more information about backing up and restoring your ESX/ESXi
configuration, see vSphere Upgrade.
NOTE Update Manager 5.0 does not support virtual machine patch baselines.
Orchestrated Upgrades
With Update Manager, you can perform orchestrated upgrades of hosts and virtual machines. Orchestrated
upgrades allow you to upgrade all hosts in the inventory by using host upgrade baselines. You can use
orchestrated upgrades to upgrade the virtual hardware and VMware Tools of virtual machines in the inventory
at the same time, using baseline groups containing the following baselines:
n VM Hardware Upgrade to Match Host
n VMware Tools Upgrade to Match Host
22 VMware, Inc.
System Requirements 2
To be able to run and use the Update Manager server and the Update Manager Client plug-in you must ensure
that your environment satisfies certain conditions. You also must ensure that the vCenter Server,
vSphere Client and Update Manager are of compatible versions.
Before you install Update Manager, you must set up an Oracle or Microsoft SQL Server database. If your
deployment is relatively small and contains up to 5 hosts and 50 virtual machines, you can use the bundled
SQL Server 2008 R2 Express database, which you can install during the Update Manager installation.
You can install the Update Manager server component on the same computer as vCenter Server or on a different
computer. After you install the Update Manager server component, to use Update Manager, you must install
the Update Manager Client plug-in and enable it on the vSphere Client.
If your vCenter Server system is a part of a connected group in vCenter Linked Mode, you can install and
register Update Manager instances with each vCenter Server system. You cannot use Update Manager for the
vCenter Server systems in the vCenter Linked Mode without registering Update Manager instances with them.
Minimum hardware requirements for Update Manager vary depending on how Update Manager is deployed.
If the database is installed on the same machine as Update Manager, requirements for memory size and
processor speed are higher. To ensure acceptable performance, verify that your system meets the minimum
hardware requirements.
Processor Intel or AMD x86 processor with two or more logical cores, each with a speed of 2GHz
For best performance, use a Gigabit connection between Update Manager and the
ESX/ESXi hosts
Memory 2GB RAM if Update Manager and vCenter Server are on different machines
4GB RAM if Update Manager and vCenter Server are on the same machine
VMware, Inc. 23
Installing and Administering VMware vSphere Update Manager
Update Manager uses a SQL Server or Oracle database. You should use a dedicated database for
Update Manager, not a database shared with vCenter Server, and should back up the database periodically.
Best practice is to have the database on the same computer as Update Manager or on a computer in the local
network.
Depending on the size of your deployment, Update Manager requires a minimum amount of free space per
month for database usage. For more information about space requirements, see the VMware vSphere Update
Manager Sizing Estimator.
The Update Manager server requires a 64-bit Windows system. The Update Manager plug-in requires the
vSphere Client, and works with the same operating systems as the vSphere Client.
Update Manager scans and remediates Windows and Linux virtual machines for VMware Tools and virtual
hardware upgrades.
The Update Manager server requires SQL Server or Oracle database. Update Manager can handle small-scale
environments using the bundled SQL Server 2008 R2 Express. For environments with more than 5 hosts and
50 virtual machines, create either an Oracle or a SQL Server database for Update Manager. For large scale
environments, you should set up the Update Manager database on a different computer than the
Update Manager server and the vCenter Server database.
For detailed information about supported operating systems and database formats, see the vSphere
Compatibility Guide at http://www.vmware.com/resources/compatibility/search.php.
For detailed information about supported database formats, see the VMware Product Interoperability Matrixes
at http://www.vmware.com/resources/compatibility/sim/interop_matrix.php.
Update Manager is compatible with vCenter Server and vSphere Client of the same version.
Update Manager 5.0 is compatible only with vCenter Server 5.0. Although multiple versions of the
Update Manager Client plug-in might coexist on the same computer, the Update Manager Client plug-in of
version 5.0 can be installed and enabled only on vSphere Client 5.0.
For more information about the Update Manager compatibility with vCenter Server and vSphere Client, see
the VMware Product Interoperability Matrixes at
http://www.vmware.com/resources/compatibility/sim/interop_matrix.php.
Before installing or upgrading Update Manager, you must grant adequate privileges to the database user.
24 VMware, Inc.
Chapter 2 System Requirements
Table 2-2. Database Privileges Needed for Installation or Upgrade of Update Manager
Database Privileges
Oracle Either assign the DBA role, or grant the following set of privileges to the Update Manager Oracle
database user.
n connect
n execute on dbms_lock
n create view
n create procedure
n create table
n create sequence
n create any sequence
n create any table
n create type
n unlimited tablespace
Microsoft SQL Make sure that the database user has either a sysadmin server role or the db_owner fixed database
Server role on the Update Manager database and the MSDB database. Although the db_owner role is required
for the upgrade, SQL jobs are not created as part of the Update Manager installation or upgrade.
To run Update Manager, you must grant a set of minimum privileges to the database user.
Oracle The minimum required privileges of the Oracle database user are the following:
n create session
n create any table
n drop any table
Microsoft SQL The database user must have either a sysadmin server role or the db_owner fixed database role on the
Server Update Manager database and the MSDB database.
VMware, Inc. 25
Installing and Administering VMware vSphere Update Manager
26 VMware, Inc.
Preparing the Update Manager
Database 3
The Update Manager server and Update Manager Download Service require a database to store and organize
server data. Update Manager supports Oracle, Microsoft SQL Server, and Microsoft SQL Server 2008 R2
Express (64-bit).
Before installing the Update Manager server, you must create a database instance and configure it to ensure
that all Update Manager database tables can be created in it. If you are using Microsoft SQL Server 2008 R2
Express, you can install and configure the database when you install Update Manager. Microsoft SQL Server
2008 R2 Express is used for small deployments of up to 5 hosts and 50 virtual machines.
To use Microsoft SQL Server and Oracle databases, you must configure a 32-bit system DSN and test it with
ODBC.
IMPORTANT Although you can install the Update Manager server only on 64-bit machines, Update Manager
is a 32-bit application and requires a 32-bit DSN.
The Update Manager database you use can be the same as the vCenter Server database. You can also use a
separate database, or you can use existing database clusters. For best results in a large scale environment, you
should use a dedicated Update Manager database that is located on a different computer than the
vCenter Server system database.
The Update Manager server requires administrative credentials to connect to the database. If the database user
name and password change after you install the Update Manager server or UMDS, you can reconfigure Update
Manager and UMDS without the need to reinstall them. See Reconfiguring VMware vSphere Update Manager.
Before you begin the database setup, review the supported databases. If you create an ODBC connection to a
database server that is not supported, a DSN for the unsupported database might be displayed in the drop-
down menu of the Update Manager installation wizard. For more information about the supported database
patches, see vSphere Compatibility Matrixes. If you do not prepare your database correctly, the
Update Manager installer might display error or warning messages.
This chapter includes the following topics:
n “Create a 32-Bit DSN on a 64-Bit Operating System,” on page 28
n “About the Bundled Microsoft SQL Server 2008 R2 Express Database Package,” on page 28
n “Maintaining Your Update Manager Database,” on page 28
n “Configure a Microsoft SQL Server Database Connection,” on page 28
n “Configure an Oracle Database,” on page 30
VMware, Inc. 27
Installing and Administering VMware vSphere Update Manager
The requirement for a 32-bit DSN applies to all supported databases. By default, any DSN created on a 64-bit
system is a 64-bit DSN.
Procedure
You now have a DSN that is compatible with the Update Manager server. When the Update Manager installer
prompts you for a DSN, you should select the 32-bit DSN.
See your database documentation for information about backing up your database.
If you use SQL Server for Update Manager, do not use the master database.
See your Microsoft SQL ODBC documentation for specific instructions on configuring the SQL Server ODBC
connection.
28 VMware, Inc.
Chapter 3 Preparing the Update Manager Database
Procedure
1 Create a SQL Server database by using SQL Server Management Studio on SQL Server.
The Update Manager installer creates all tables, procedures, and user-defined functions (UDF) within the
default schema of the database user that you use for Update Manager. This default schema does not
necessarily have to be dbo schema.
2 Create a SQL Server database user with database operator (DBO) rights.
Make sure that the database user has either a sysadmin server role or the db_owner fixed database role
on the Update Manager database and the MSDB database.
The db_owner role on the MSDB database is required for installation and upgrade only.
Procedure
1 On your Update Manager server system, run the 32-bit ODBC Administrator application, located at
[WindowsDir]\SysWOW64\odbcad32.exe.
Option Action
Create an ODBC system data source a Click Add.
b For SQL Server 2005 or SQL Server 2008, select SQL Native Client, and
click Finish.
Modify an existing ODBC system Double-click the ODBC system data source that you want to modify.
data source
4 In the Microsoft SQL Server DSN Configuration window, enter the necessary information and click
Next.
c Select the SQL Server name from the Server drop-down menu.
Type the SQL Server machine name in the text field if you cannot find it in the drop-down menu.
IMPORTANT Update Manager does not support Windows authentication of the database when the database
is located on a different machine because of local system account issues. Make sure that if the
Update Manager database is located on a remote machine, the database and the system DSN use SQL
Server authentication.
VMware, Inc. 29
Installing and Administering VMware vSphere Update Manager
6 Select a database from the Change the default database to drop-down menu, specify the ANSI settings,
and click Next.
7 Specify the language and translation settings, where to save the log files, and click Finish.
What to do next
To test the data source, in the ODBC Microsoft SQL Server Setup window, click Test Data Source, and click
OK. Ensure that SQL Agent is running on your database server by double-clicking the SQL Server icon in the
system tray.
Procedure
Procedure
1 Download Oracle 10g or Oracle 11g from the Oracle Web site, install it, and create a database (for example,
VUM).
Make sure that the TNS Listener is up and running, and test the database service to be sure it is working.
3 Install the corresponding Oracle ODBC driver through the Oracle Universal Installer.
Prerequisites
Verify that the ODBC data source that you use is a 32-bit system DSN. See “Create a 32-Bit DSN on a 64-Bit
Operating System,” on page 28.
Procedure
1 Create a new tablespace specifically for Update Manager by using the following SQL statement:
CREATE TABLESPACE "VUM" DATAFILE 'ORACLE_BASE\ORADATA\VUM\VUM.dat' SIZE 1000M AUTOEXTEND ON
NEXT 500K;
30 VMware, Inc.
Chapter 3 Preparing the Update Manager Database
2 Create a user, such as vumAdmin, for accessing this tablespace through ODBC.
CREATE USER vumAdmin IDENTIFIED BY vumadmin DEFAULT TABLESPACE “vum”;
3 Either grant the dba permission to the user, or grant the following specific permissions to the user.
grant connect to vumAdmin
grant resource to vumAdmin
grant create any job to vumAdmin
grant create view to vumAdmin
grant create any sequence to vumAdmin
grant create any table to vumAdmin
grant lock any table to vumAdmin
grant create procedure to vumAdmin
grant create type to vumAdmin
grant execute on dbms_lock to vumAdmin
grant unlimited tablespace to vumAdmin
# To ensure space limitation is not an issue
Prerequisites
n Verify that the ODBC data source that you use is a 32-bit system DSN. See “Create a 32-Bit DSN on a 64-
Bit Operating System,” on page 28.
n Set up a database as described in “Configure an Oracle Database,” on page 30.
Procedure
2 Use the Net Configuration Assistant tool to add the entry to connect to the managed host.
VUM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS=(PROTOCOL=TCP)(HOST=host_address)(PORT=1521))
)
(CONNECT_DATA =(SERVICE_NAME = VUM)
)
)
In this example, host_address is the managed host to which the client needs to connect.
Here, ORACLE_HOME is located under C:\ORACLE_BASE, and it contains subdirectories for Oracle software
executable and network files.
VMware, Inc. 31
Installing and Administering VMware vSphere Update Manager
32 VMware, Inc.
Installing Update Manager 4
Update Manager consists of a server part and a plug-in part. You can install the Update Manager server and
Update Manager Client plug-in on Windows machines only.
You can install the Update Manager server component either on the same computer as vCenter Server or on
a different computer. To improve performance, especially in large-scale environments, install the
Update Manager server component on a different computer. After you install the Update Manager server
component, to use the Update Manager application, you must install the Update Manager Client plug-in and
enable it on the vSphere Client.
You can use Update Manager with a vCenter Server instance installed on a Windows machine or with the
VMware vCenter Server Appliance.
The Update Manager 5.0 installer generates a 2048-bit key and self-signed certificate. To replace the self-signed
SSL certificate after installation, you can use the Update Manager Utility.
You can install vCenter Server and the Update Manager server in a heterogeneous network environment,
where one of the machines is configured to use IPv6 and the other is configured to use IPv4. In this case, to
install and enable the Update Manager plug-in, the machine on which vSphere Client is installed must be
configured to use both IPv6 and IPv4.
To run and use Update Manager, you must use a local system account for the machine on which
Update Manager is installed.
VMware uses designated ports for communication. Additionally, the Update Manager server connects to
vCenter Server, ESX/ESXi hosts, and the Update Manager Client plug-in on designated ports. If a firewall exists
between any of these elements and Windows firewall service is in use, the installer opens the ports during the
installation. For custom firewalls, you must manually open the required ports.
VMware, Inc. 33
Installing and Administering VMware vSphere Update Manager
For more information about setting up the Update Manager database, see Chapter 3, “Preparing the Update
Manager Database,” on page 27.
n Create a database and 32-bit DSN, unless you are using the bundled SQL Server 2008 R2 Express.
n Make sure that if the Update Manager database is located on a remote machine, the database and the
system DSN use SQL Server authentication.
Update Manager does not support Windows authentication of the database when the database is located
on a different machine because of local system account problems.
n If you plan to use the bundled Microsoft SQL Server 2008 R2 Express database, make sure that you install
Microsoft Windows Installer version 4.5 (MSI 4.5) on your system. You can download MSI 4.5 from the
vSphere installer.
n Make sure that the database privileges meet the requirements listed in “Required Database Privileges,”
on page 24.
n Create the 32-bit ODBC connection to a supported database server version by using a supported database
client version.
If you create an ODBC connection to a database server that is of an unsupported version, and your database
client is of a supported version, a DSN for the unsupported database might be displayed in the drop-down
menu of the Update Manager installation wizard.
If prompted, you must restart the machine on which vCenter Server is installed. Otherwise, you might
not be able to register Update Manager with vCenter Server, and the Update Manager installation might
fail.
For more information about installing vCenter Server, see vSphere Installation and Setup.
n Gather the following networking information for the vCenter Server system.
n User name and password for the vCenter Server system.
During the Update Manager installation process, you must register the Update Manager server with
the vCenter Server system. To register Update Manager with vCenter Server, you must provide the
credentials of the vCenter Server user that has the Register extension privilege. For more information
about managing users, groups, roles, and permissions, see vCenter Server and Host Management.
n Port numbers. In most cases, the default Web service port 80 is used.
n IP address.
34 VMware, Inc.
Chapter 4 Installing Update Manager
If the IP address of the vCenter Server system or Update Manager changes, you can re-register the
Update Manager server with the vCenter Server system. For more information about configuring the
Update Manager server after installation, see Reconfiguring VMware vSphere Update Manager.
IMPORTANT You can install the Update Manager 5.0 server component only on a 64-bit machine.
n Log in as a local Administrator or a domain user that is member of the Administrators group.
Procedure
1 Download the zip file for vCenter Server from the VMware downloads page at
http://www.vmware.com/support/.
Prerequisites
See installation prerequisites in “Prerequisites for Installing the Update Manager Server,” on page 34.
Procedure
1 In the software installer directory, double-click the autorun.exe file and select vSphere Update
Manager.
If you cannot run autorun.exe, browse to the UpdateManager folder and run VMware-UpdateManager.exe.
6 Review the support information, select whether to download updates from the default download sources
immediately after installation, and click Next.
If you deselect Download updates from default sources immediately after installation, Update Manager
downloads updates once daily according to the default download schedule or immediately after you click
the Download Now button on the Download Settings page. You can modify the default download
schedule after the installation is complete.
If you deselect Download updates from default sources immediately after installation, the update
download task runs after installation, but it does not download any updates.
7 Type the vCenter Server IP address or name, HTTP port, and the administrative account that the
Update Manager server will use to connect to the vCenter Server system, and click Next.
VMware, Inc. 35
Installing and Administering VMware vSphere Update Manager
10 From the drop-down menu, select the IP address or the host name of your Update Manager instance.
If the computer on which you install Update Manager has one NIC, the Update Manager installer
automatically detects the IP address. If the computer has multiple NICs, you must select the correct IP
address or use a DNS name. The DNS name must be resolved from all hosts that this Update Manager
instance will manage.
11 Specify the Update Manager port settings, select whether you want to configure the proxy settings, and
click Next.
12 (Optional) Provide information about the proxy server, the port, and whether the proxy should be
authenticated, and click Next.
13 Select the Update Manager installation and patch download directories, and click Next.
If you do not want to use the default locations, you can click Change to browse to a different directory.
14 (Optional) In the warning message about the disk free space, click OK.
This message appears when you try to install Update Manager on a computer that has less than 120GB
free space.
16 Click Finish.
The Update Manager server component is installed, and the client component appears as an available plug-in
in the Plug-in Manager of the vSphere Client.
What to do next
In the vSphere Client, select Plug-ins > Manage Plug-ins to install and enable the Update Manager Client plug-
in.
You can install the Update Manager Client plug-in on both 32-bit and 64-bit operating systems.
36 VMware, Inc.
Chapter 4 Installing Update Manager
Prerequisites
n Install the Update Manager server.
n Install Microsoft.NET Framework 3.5 SP1. You can download it from the vSphere installer.
Procedure
1 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered.
3 In the Plug-in Manager window, click Download and install for the VMware vSphere Update Manager
extension.
7 Click Install.
The icon for the Update Manager plug-in is displayed on the vSphere Client Home page under Solutions and
Applications.
VMware, Inc. 37
Installing and Administering VMware vSphere Update Manager
38 VMware, Inc.
Migrating the Update Manager Data
and Upgrading Update Manager on a
Different Machine 5
You can install Update Manager 5.0 only on 64-bit operating systems. If you are running an earlier version of
Update Manager on a 32-bit platform, you must migrate your existing database and patch store to the 64-bit
machine in order to preserve your data.
If you use an Oracle or Microsoft SQL Server database installed on the Update Manager machine, you can back
up and move the database manually or you can detach the database from the source (64-bit or 32-bit) machine
and attach it to the destination (64-bit) machine. You can also leave the database on the existing machine and
connect to it from the new 64-bit machine by using a DSN.
When you want to upgrade Update Manager on a new machine, you should also copy the existing patch store
(patch metadata, patch binaries and upgrades) to the machine on which you are installing the
Update Manager server. During the installation process, you can specify the path to the copied patch store.
The configuration information that you can migrate includes the following parameters:
n Port settings
n Proxy settings
n Repository location
n Patch metadata, patch binaries, and host upgrade binaries
In addition, you can use the data migration tool to migrate the Update Manager database if it is a SQL Server
Express database installed on the same machine as Update Manager.
If your database is installed on a different machine from the Update Manager server, you can back up the
database manually, and create a DSN to connect to the database remotely.
When Update Manager and vCenter Server are installed on the same machine, you can use the data migration
tool to migrate configuration data for vCenter Server as well. The data migration tool first backs up the
vCenter Server data and then backs up the Update Manager data on the source machine. When you run the
tool to restore the data, the data migration tool first restores the vCenter Server data on the destination machine
and then restores the Update Manager data on the same destination machine.
When Update Manager and vCenter Server are installed on the same machine, Update Manager and
vCenter Server must use dedicated databases. If the Update Manager server shares its database with the
vCenter Server database, you receive an error message from the data migration tool and you cannot migrate
your data.
VMware, Inc. 39
Installing and Administering VMware vSphere Update Manager
If Update Manager and vCenter Server are installed on different machines, you can use the data migration tool
to separately back up and restore the Update Manager and vCenter Server data. First you can back up the
vCenter Server data and restore it on the 64-bit machine on which you are installing vCenter Server. Then you
can use the data migration tool to back up the Update Manager data and restore it on the 64-bit machine on
which you are installing Update Manager. In this case, the machine on which you install Update Manager
must be different from the machine on which you install vCenter Server.
You use the data migration tool by running two scripts backup.bat and install.bat. The backup.bat script
backs up the configuration and database on the source machine, and the install.bat script restores the backed
up data on the destination machine.
If Update Manager and vCenter Server are installed on the same machine, the script first takes a backup
of the vCenter Server configuration and then backs up the Update Manager configuration.
3 Copy the backed up configuration data to the destination machine. Database data in the backup bundle
is present only if your database is SQL Server Express.
4 (Optional) If you are using a different database, for example Oracle database, installed on a different
machine than Update Manager, back up the database manually and create a DSN on the 64-bit machine
to connect to the database remotely.
5 (Optional) If you are using a different database, for example Oracle database, installed on the same
machine as Update Manager, move the database from the source (64-bit or 32-bit) machine to the
destination (64-bit) machine and restore it manually.
6 If your database is not SQL Server Express, create a 32-bit DSN on the 64-bit machine to connect to the
database.
7 Run the install.bat script on the destination machine. This script examines the backup bundle and if you
have backed up both Update Manager and vCenter Server data, the script installs both Update Manager
and vCenter Server. If you have backed up only Update Manager or only vCenter Server data, the script
installs only Update Manager or only vCenter Server. When the script prompts you, specify the location
of the installation ISO. The script launches the installer, and you can install Update Manager, or both
Update Manager and vCenter Server with the configuration settings and the database backed up by the
data migration tool.
In case of failure, you can check the logs folder. The folder contains backup.log file for the backup process and
restore.log for the restore process.
40 VMware, Inc.
Chapter 5 Migrating the Update Manager Data and Upgrading Update Manager on a Different Machine
Procedure
n If your database is remote from the machine on which Update Manager is installed, and you want it to
remain remote after the upgrade, leave the database where it is after you back it up.
n If your database is local to the Update Manager server, and you want it to remain local after the upgrade,
you have various options depending on the type of database.
Option Action
Microsoft SQL Server Express Back up the database, and move the database along with other configuration
database data by using the data migration tool. A separate database migration step is
not necessary.
Microsoft SQL Server database Back up the database, detach the database, and attach it to the 64-bit machine
on which you are installing Update Manager.
Other local databases Back up the database, and restore it onto the machine on which you are
installing Update Manager.
What to do next
Back up the Update Manager configuration and database by using the data migration tool.
Consult your database administrator or see your database documentation about backing up and restoring
databases.
The machine with the original database that you want to back up is referred to as the source machine. The
machine on which the backup of the database will reside is referred to as the destination machine.
Prerequisites
n You must have an Update Manager system running with a local or remote Microsoft SQL Server database.
n You must have Microsoft SQL Server Management Studio installed on the source machine and the
destination machine. The Express versions (SQLServer2008_SSMSEE.msi and
SQLServer2008_SSMSEE_x64.msi) are free downloads from Microsoft.
Procedure
1 In SQL Server Management Studio, make a full backup of the source machine database.
2 Copy the backup file (.bak) to the C:\ drive on the destination machine.
3 On the destination machine, open SQL Server Management Studio and right-click the Databases folder.
4 Select New Database, enter the source machine database name, and click OK.
5 Right-click the new database icon and select Task > Restore > Database.
VMware, Inc. 41
Installing and Administering VMware vSphere Update Manager
8 In the Restore Database window, select the checkbox next to your .bak file.
9 On the Options page, select the Overwrite the existing database checkbox and click OK.
The database from the source machine is restored on the destination machine.
What to do next
Consult your database administrator or see your database documentation about detaching and attaching
databases. You should take the necessary steps to back up your data.
The machine with the original database that you want to detach is referred to as the source machine. The
machine on which the database will be reattached is referred to as the destination machine.
Prerequisites
n You must have an Update Manager system running with a local or remote Microsoft SQL Server database.
n You must have Microsoft SQL Server Management Studio installed on the source machine and the
destination machine. The Express versions (SQLServer2008_SSMSEE.msi and
SQLServer2008_SSMSEE_x64.msi) are free downloads from Microsoft.
Procedure
a Click Start > Control Panel > Administrative Tools > Services.
2 In SQL Server Management Studio, open the Databases directory, right-click the Update Manager
database, and select Tasks > Detach.
4 When the detach operation is complete, copy the data files (.mdf and .ldf) to the destination machine's
database folder.
The default location of the database folder in 64-bit Windows is C:\Program Files (x86)\Microsoft SQL
Server\MSSQL.1\MSSQL\Data.
5 In SQL Server Management Studio on the destination machine, right-click the Databases directory and
select Attach.
6 Select the .mdf file that you copied to the destination machine's database folder and click OK.
The database from the source machine is attached to the destination machine.
What to do next
Consult your database administrator or see your database documentation about backing up and restoring
databases.
42 VMware, Inc.
Chapter 5 Migrating the Update Manager Data and Upgrading Update Manager on a Different Machine
The machine with the original database that you want to back up is referred to as the source machine. The
machine on which the backup of the database will reside is referred to as the destination machine.
Prerequisites
You must have an Update Manager system with a local or remote Oracle 10g or Oracle 11g database.
Procedure
1 On the source machine, log in to Oracle SQL*Plus as the Update Manager database user and export the
database as a .dmp file.
2 Copy the .dmp file to the C:\ drive of the destination machine.
4 On the destination machine, in Oracle SQL*Plus, run the following command to create the tablespace.
create tablespace vumtest datafile 'c:\vumtest.dbf' size 100m autoextend on;
5 On the destination machine, create a user and grant the user either the dba permission, or the set of
permissions required for administering an Update Manager database.
create user VUMUSER identified by CENSORED default tablespace vumtest;
6 Import the .dmp file into the Oracle database on the destination machine.
The database from the source machine is restored on the destination machine.
What to do next
Back Up and Migrate the Existing Configuration and Database Using the
Migration Tool
You can use the migration tool to migrate your Update Manager configuration data and database.
If your database is a SQL Server Express database that is local to the machine on which Update Manager is
installed, the data migration tool backs up the configuration and the database, and restores it to the new
machine.
Prerequisites
n The Update Manager database must be a SQL Server Express database installed on the same machine as
Update Manager.
n If Update Manager server and vCenter Server are installed on the same machine, they must use dedicated
databases (that means that the servers must not share one database instance).
n Stop the Update Manager service.
Procedure
1 Log in as an administrator to the source machine and insert the Update Manager installation media in the
DVD drive of the source machine.
3 Extract the datamigration.zip file to a writeable filesystem (for example, datamigration folder) on the
source machine.
4 From the Windows command prompt, navigate to the datamigration folder, type backup.bat, and press
Enter to run the backup script of the data migration tool.
VMware, Inc. 43
Installing and Administering VMware vSphere Update Manager
5 Wait until the script backs up the Update Manager configuration and database, upgrades the database,
and restores the original database.
The time to back up the host patches and host upgrade files (if any) depends on the size of the patches,
extensions, and upgrade files.
7 Enter y to back up the available virtual machine patches, and press Enter.
The time to back up the virtual machine patches depends on the size of downloaded patches.
8 Respond to the script prompts and wait until the script completes.
The Update Manager configuration data and database are successfully backed up.
In case of failure, examine the log file that the script generates. This is the backup.log file located in the
datamigration\logs folder.
What to do next
n If your database is a SQL Server Express database local to the Update Manager machine, go to “Restore
the Update Manager Configuration and Install Update Manager on the 64-Bit Machine,” on page 44.
n If you use another database, go to “Create a 32-Bit DSN on a 64-bit Operating System,” on page 44.
The requirement for a 32-bit DSN applies to all supported databases. By default, any DSN created on a 64-bit
system is a 64-bit DSN.
Procedure
You now have a DSN that is compatible with the Update Manager server. When the Update Manager installer
prompts you for a DSN, you should select the 32-bit DSN.
If you use the tool to back up a SQL Server Express database that is local to the machine on which
Update Manager is installed, the migration tool restores the database to the new 64-bit machine as well.
Procedure
1 Copy the datamigration folder from the source (32-bit) machine to the destination (64-bit) machine.
44 VMware, Inc.
Chapter 5 Migrating the Update Manager Data and Upgrading Update Manager on a Different Machine
2 Insert the Update Manager installation media into the DVD-ROM drive on the destination machine, or
copy the installation ISO image to the destination machine.
3 From the Windows command prompt, navigate to the datamigration folder copied from the source
machine and run install.bat.
The script imports the backed up configuration data and the database.
The install script verifies that migration data is present, and launches the Update Manager installer.
The database user name and password for the DSN are required only if the DSN uses SQL Server
authentication. Update Manager does not support the use of a remote SQL Server database that uses
Windows NT authentication.
If the computer on which you install Update Manager has one NIC, the Update Manager installer
automatically detects the IP address. If the computer has multiple NICs, you must select the correct IP
address or use a DNS name. The DNS name must be resolved from all hosts that this Update Manager
instance will manage.
13 Enter the port numbers to use or accept the port numbers shown, specify whether you want to configure
the proxy settings, and click Next.
The port numbers displayed are those that were backed up from the source Update Manager installation.
14 (Optional) Provide information about the proxy server, the port, and whether the proxy should be
authenticated, and click Next.
15 Select the Update Manager installation and patch download locations and click Next.
The location for downloading patches is the one, that was backed up from the source Update Manager
installation.
VMware, Inc. 45
Installing and Administering VMware vSphere Update Manager
16 (Optional) In the warning message about the disk free space, click OK.
This message appears when you try to install Update Manager on a computer that has less than 120GB
free space.
17 Click Install.
Update Manager is installed, and the settings that you backed up are restored. If you migrated a SQL Server
Express database, and selected to install this database during the Update Manager installation, the database
is also restored on the new machine. After the installation is complete, Update Manager service is started.
In case of failure examine the log file that the script generates. This is the restore.log file located in the
datamigration\logs folder.
46 VMware, Inc.
Upgrading Update Manager 6
You can upgrade Update Manager 1.0 Update 6 and Update Manager 4.x to Update Manager 5.0.
You can install Update Manager 5.0 only on a 64-bit operating system. If you are running an earlier version of
Update Manager on a 32-bit platform, you must either back up and restore your database manually, or use the
data migration tool to back up the existing data on the 32-bit machine, and then restore your data on the 64-
bit machine on which you are installing Update Manager 5.0.
When you upgrade Update Manager, you cannot change the installation path and patch download location.
To change these parameters, you must install a new version of Update Manager rather than upgrade.
Previous versions of Update Manager use a 512-bit key and self-signed certificate and these are not replaced
during upgrade. If you require a more secure 2048-bit key, you can either perform a fresh installation of Update
Manager 5.0, or use the Update Manager Utility to replace the existing certificate.
Scheduled tasks for virtual machine patch scan and remediation are not removed during the upgrade. After
the upgrade, you can edit and remove scheduled scan tasks that exist from previous releases. You can remove
existing scheduled remediation tasks but you cannot edit them.
Virtual machine patch baselines are removed during the upgrade. Existing scheduled tasks that contain them
run normally and ignore only the scanning and remediation operations that use virtual machine patch
baselines.
You must upgrade the Update Manager database during the Update Manager upgrade. You can select whether
to keep your existing data in the database or to replace it during the upgrade.
The Update Manager 5.0 release allows upgrades from Update Manager 1.0 Update 6 and Update Manager
4.x.
Prerequisites
n Grant the database user the required set of privileges. For more information, see Chapter 3, “Preparing
the Update Manager Database,” on page 27.
n Stop the Update Manager service and back up the Update Manager database. The installer upgrades the
database schema, making the database irreversibly incompatible with previous Update Manager versions.
VMware, Inc. 47
Installing and Administering VMware vSphere Update Manager
Procedure
NOTE The vCenter Server installation wizard warns you that Update Manager is not compatible when
vCenter Server is upgraded.
If prompted, you must restart the machine that is running vCenter Server. Otherwise, you might not be
able to upgrade Update Manager.
2 In the software installer directory, double-click the autorun.exe file at C:\installer_location, and select
vSphere Update Manager.
If you cannot launch the autorun.exe file, browse to locate the UpdateManager folder and run VMware-
UpdateManager.exe.
8 Review the support information, select whether to delete old upgrade files, select whether to download
updates from the default download sources immediately after installation, and click Next.
If you deselect Delete the old host upgrade files from the repository, you retain files that you cannot use
with Update Manager 5.0.
If you deselect Download updates from default sources immediately after installation,
Update Manager downloads updates once daily according to the default download schedule or
immediately after you click Download Now on the Download Settings page. You can modify the default
download schedule after the installation is complete.
To keep the Update Manager registration with the original vCenter Server system valid, keep the
vCenter Server system IP address and enter the credentials from the original installation.
10 Type the database password for the Update Manager database and click Next.
The database password is required only if the DSN does not use Windows NT authentication.
11 On the Database Upgrade page, select Yes, I want to upgrade my Update Manager database and I have
taken a backup of the existing Update Manager database, and click Next.
12 (Optional) On the Database re-initialization warning page, select to keep your existing remote database
if it is already upgraded to the latest schema.
If you replace your existing database with an empty one, you lose all of your existing data.
13 Specify the Update Manager port settings, select whether you want to configure the proxy settings, and
click Next.
Configure the proxy settings if the computer on which Update Manager is installed has access to the
Internet.
14 (Optional) Provide information about the proxy server and port, specify whether the proxy should be
authenticated, and click Next.
48 VMware, Inc.
Chapter 6 Upgrading Update Manager
16 Click Finish.
What to do next
Prerequisites
Procedure
1 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered.
3 In the Plug-in Manager window, click Download and install for the VMware vSphere Update Manager
extension.
The icon for the Update Manager Client plug-in is displayed on the vSphere Client Home page.
VMware, Inc. 49
Installing and Administering VMware vSphere Update Manager
50 VMware, Inc.
Best Practices and Recommendations
for Update Manager Environment 7
You can install Update Manager on the server on which vCenter server runs or on a different server.
The Update Manager server and client plug-ins must be the same version. Update Manager, vCenter Server,
and the vSphere Client must be of a compatible version. For more information about compatibility, see “Update
Manager Compatibility with vCenter Server and the vSphere Client,” on page 24.
Internet-connected The Update Manager server is connected to the VMware patch repository, and
model third-party patch repositories (for ESX/ESXi 4.x, ESXi 5.0 hosts, as well as for
virtual appliances). Update Manager works with vCenter Server to scan and
remediate the virtual machines, appliances, hosts, and templates.
Air-gap model Update Manager has no connection to the Internet and cannot download patch
metadata. In this model, you can use UMDS to download and store patch
metadata and patch binaries in a shared repository. To scan and remediate
inventory objects, you must configure the Update Manager server to use a
shared repository of UMDS data as a patch datastore. For more information
about using UMDS, see Chapter 9, “Installing, Setting Up, and Using Update
Manager Download Service,” on page 57.
Outside of DRS clusters, you might not be able to remediate the host running the Update Manager or vCenter
Server virtual machines by using the same vCenter Server instance, because the virtual machines cannot be
suspended or shut down during remediation. You can remediate such a host by using separate vCenter Server
and Update Manager instances on another host. Inside DRS clusters, if you start a remediation task on the host
running the vCenter Server or Update Manager virtual machines, DRS attempts to migrate the virtual machines
to another host, so that the remediation succeeds. If DRS cannot migrate the virtual machine running
Update Manager or vCenter Server, the remediation fails. Remediation also fails if you have selected the option
to power off or suspend the virtual machines before remediation.
This chapter includes the following topics:
n “Update Manager Deployment Models,” on page 51
n “Update Manager Deployment Models and Their Usage,” on page 53
VMware, Inc. 51
Installing and Administering VMware vSphere Update Manager
I vCenter Server
vCenter Server
database
Update Manager
server
Update Manager
database
vSphere Client
Update Manager
Client plug-in
Update Manager
database
vSphere Client
Update Manager
Client plug-in
vSphere Client
VI vCenter Server Update Manager vCenter Server Update Manager vSphere Client
server database database
Update Manager
Client plug-in
52 VMware, Inc.
Chapter 7 Best Practices and Recommendations for Update Manager Environment
You can use one of several common host-deployment models for Update Manager server:
All-in-one model vCenter Server and Update Manager server are installed on one host and their
database instances are on the same host. This model is most reliable when your
system is relatively small.
Medium deployment vCenter Server and Update Manager server are installed on one host and their
model database instances are on two separate hosts. This model is recommended for
medium deployments, with more than 300 virtual machines or 30 hosts.
Large deployment model vCenter Server and Update Manager server run on different hosts, each with
its dedicated database server. This model is recommended for large
deployments when the datacenters contain more than 1,000 virtual machines
or 100 hosts.
For best practices and recommendations, see VMware vSphere Update Manager Performance and Best Practices.
VMware, Inc. 53
Installing and Administering VMware vSphere Update Manager
54 VMware, Inc.
Uninstalling Update Manager 8
Update Manager has a relatively small impact on computing resources such as disk space. Unless you are
certain that you want to remove Update Manager, leave an existing installation in place for later use and disable
the Update Manager Client plug-in.
The Update Manager server and Update Manager Client plug-in can be uninstalled separately.
Procedure
1 From the Windows Start menu, select Settings > Control Panel > Add or Remove Programs.
The Update Manager server component is uninstalled from your system. All downloaded metadata and
binaries, as well as log data remain on the machine where Update Manager was installed.
Procedure
1 From the Windows Start menu, select Settings > Control Panel > Add or Remove Programs.
2 Select VMware vSphere Update Manager Client 5.0 and click Remove.
After you uninstall the Update Manager plug-in, the Update Manager icon is no longer available in the
vSphere Client.
VMware, Inc. 55
Installing and Administering VMware vSphere Update Manager
56 VMware, Inc.
Installing, Setting Up, and Using
Update Manager Download Service 9
VMware vSphere Update Manager Download Service (UMDS) is an optional module of Update Manager.
UMDS downloads upgrades for virtual appliances, patch metadata, patch binaries, and notifications that
would not otherwise be available to the Update Manager server.
For security reasons and deployment restrictions, vSphere, including Update Manager, might be installed in
a secured network that is disconnected from other local networks and the Internet. Update Manager requires
access to patch information to function properly. In such an environment, you can install UMDS on a computer
that has Internet access to download upgrades, patch binaries, and patch metadata, and then export the
downloads to a portable media drive so that they become accessible to the Update Manager server.
In a deployment where the machine on which Update Manager is installed has no Internet access, but is
connected to a server that has Internet access, you can automate the export process and transfer files from
UMDS to the Update Manager server by using a Web server on the machine on which UMDS is installed.
UMDS 5.0 supports patch recalls and notifications. A patch is recalled if the released patch has problems or
potential issues. After you download patch data and notifications with UMDS, and export the downloads so
that they become available to the Update Manager server, Update Manager deletes the recalled patches and
displays the notifications on the Update Manager Notifications tab. For more information about patch recalls
and notifications, see “Configuring and Viewing Notifications,” on page 73.
Installing UMDS
You can install and use UMDS to download virtual appliance upgrades, patch binaries, patch metadata, and
notifications if Update Manager does not have access to the Internet. The machine on which you install UMDS
must have Internet access.
NOTE You cannot upgrade UMDS 4.x to UMDS 5.0, but under certain conditions you can perform a fresh
installation of UMDS 5.0 and use an existing patch store from UMDS 4.x. You can install UMDS only on 64-
bit machines.
Before installing UMDS, you must create a database instance and configure it to ensure that all tables are placed
in it. You must configure a 32-bit DSN and test the DSN from ODBC. If you are using Microsoft SQL Server
2008 R2 Express, you can install and configure the database when you install UMDS.
VMware, Inc. 57
Installing and Administering VMware vSphere Update Manager
Installing UMDS 5.0 in an Environment with Update Manager 5.0 Instances Only
In the UMDS 5.0 installation wizard, you can select the patch store to be an existing download directory from
a previous UMDS 4.x installation and reuse the applicable downloaded updates in UMDS 5.0. You should
uninstall existing UMDS 4.x instances before reusing the patch store. Once you associate an existing download
directory with UMDS 5.0, you cannot use it with earlier UMDS versions.
If you install UMDS with an existing download directory, make sure that you perform at least one download
by using UMDS 5.0 before you export updates.
Installing UMDS 5.0 in an Environment with both Update Manager 4.x and Update
Manager 5.0 Instances
You should not install UMDS 5.0 with an existing UMDS 4.x download directory if your environment contains
both Update Manager 4.x and Update Manager 5.x instances. In such a case, you need a UMDS 4.x and a UMDS
5.x installation on two separate machines, in order to export updates for the respective Update Manager
versions.
Update Manager can work with a certain UMDS version if the metadata and structure of the patch store that
UMDS exports is compatible with Update Manager, and if the data can be imported and used by the
Update Manager server.
Because Update Manager 5.0 does not support guest operating system patching, UMDS 5.0 does not download
patches for guest operating systems. UMDS 5.0 is compatible and can work with Update Manager 5.0 only.
Install UMDS
Install UMDS if the machine on which Update Manager is installed does not have access to the Internet.
Prerequisites
n Ensure that the machine on which you install UMDS has Internet access, so that UMDS can download
upgrades, patch metadata and patch binaries.
n Uninstall UMDS 1.0.x or UMDS 4.x if it is installed on the machine. If such a version of UMDS is already
installed, the installation wizard displays an error message and the installation cannot proceed.
n Before you install UMDS create a database instance and configure it. If you install UMDS on 64-bit
machine, you must configure a 32-bit DSN and test it from ODBC. The database privileges and preparation
steps are the same as the ones used for Update Manager. For more information, see Chapter 3, “Preparing
the Update Manager Database,” on page 27.
n UMDS and Update Manager must be installed on different machines.
Procedure
1 Insert the VMware vSphere Update Manager installation DVD into the DVD drive of the Windows server
that will host UMDS.
4 (Optional) If the wizard prompts you, install the required items such as Windows Installer 4.5.
This step is required only if Windows Installer 4.5 is not present on your machine and you must perform
it the first time you install a vSphere 5.0 product. After the system restarts, the installer launches again.
58 VMware, Inc.
Chapter 9 Installing, Setting Up, and Using Update Manager Download Service
10 Select the Update Manager Download Service installation and patch download directories and click
Next.
If you do not want to use the default locations, you can click Change to browse to a different directory.
You can select the patch store to be an existing download directory from a previous UMDS 4.x installation
and reuse the applicable downloaded updates in UMDS 5.0. After you associate an existing download
directory with UMDS 5.0, you cannot use it with earlier UMDS versions.
11 (Optional) In the warning message about the disk free space, click OK.
13 Click OK in the Warning message notifying you that .NET Framework 3.5 SP1 is not installed.
The UMDS installer installs the prerequisite before the actual product installation.
14 Click Finish.
UMDS is installed.
After you download the upgrades, patch binaries, patch metadata, and notifications, you can export the data
to a Web server or a portable media drive and set up Update Manager to use a folder on the Web server or the
media drive (mounted as a local disk) as a shared repository.
You can also set up UMDS to download ESX/ESXi 4.x and ESXi 5.0 patches and notifications from third-party
portals.
To use UMDS, the machine on which you install it must have Internet access. After you download the data
you want, you can copy it to a local Web server or a portable storage device, such as a CD or USB flash drive.
The best practice is to create a script to download the patches manually and set it up as a Windows Scheduled
Task that downloads the upgrades and patches automatically.
Procedure
1 Log in to the machine where UMDS is installed, and open a Command Prompt window.
VMware, Inc. 59
Installing and Administering VMware vSphere Update Manager
n To set up a download of all ESX/ESXi host updates and disable the download of virtual appliance
upgrades, run the following command:
vmware-umds -S --enable-host --disable-va
n To set up a download of all virtual appliance upgrades and disable the download of host updates,
run the following command:
vmware-umds -S --disable-host --enable-va
n To set up a download of only ESX 4.0 and ESXi 4.0 host updates, run the following commands:
vmware-umds -S --disable-host
vmware-umds -S -e esx-4.0.0 embeddedEsx-4.0.0
n To set up a download of all ESX/ESXi 4.x and ESXi 5.0 updates, and to disable downloading of only
ESX 3.5 and ESXi 3.5 host updates, run the following commands:
vmware-umds -S --enable-host
vmware-umds -S -d esx-3.5.0 embeddedEsx-3.5.0
What to do next
If you have already downloaded any virtual appliances upgrades, or host updates, make sure that you copy
all the files and folders from the old location to the new patch store location. The folder in which UMDS
downloads patch binaries and patch metadata must be located on the machine on which UMDS is installed.
Procedure
1 Log in as an administrator to the machine where UMDS is installed, and open a Command Prompt
window.
60 VMware, Inc.
Chapter 9 Installing, Setting Up, and Using Update Manager Download Service
In this example, your_new_patchstore_folder is the path to the new folder in which you want to
download the patch binaries and patch metadata.
You successfully changed the directory in which UMDS stores patch data.
What to do next
Procedure
1 Log in to the machine where UMDS is installed, and open a Command Prompt window.
n To add a URL address for downloading virtual appliance upgrades, run the following command:
vmware-umds -S --add-url https://virtual_appliance_URL/index.xml --url-type VA
4 (Optional) Remove a URL address, so that UMDS will not download data from it anymore.
UMDS is configured to download host patches and notifications, as well as virtual appliance upgrades from
specific URL addresses.
What to do next
Procedure
1 Log in to the machine where UMDS is installed, and open a Command Prompt window.
VMware, Inc. 61
Installing and Administering VMware vSphere Update Manager
This command downloads all the upgrades, patches and notifications from the configured sources for the
first time. Subsequently, it downloads all new patches and notifications released after the previous UMDS
download.
4 (Optional) If you have already downloaded upgrades, patches, and notifications and want to download
them again, you can include the start and end times to restrict the data to download.
The command to re-download patches and notifications deletes the existing data from the patch store (if
present) and re-downloads it.
To re-download the upgrades, patches and notifications that were downloaded in November 2010, for
example, run the following command:
vmware-umds -R --start-time 2010-11-01T00:00:00 --end-time 2010-11-30T23:59:59
The data previously downloaded for the specified period is deleted and downloaded again.
What to do next
Prerequisites
If you installed UMDS with an existing download directory, make sure that you perform at least one download
by using UMDS 5.0 before you export updates.
Procedure
1 Log in to the machine where UMDS is installed and open a Command Prompt window.
In the command, you must specify the full path of the export directory.
If you are working in a deployment in which the Update Manager server is installed on a machine
connected to the machine on which UMDS is installed, repository_path can be the path to the folder on the
Web server that serves as a shared repository.
If the Update Manager server is installed on a machine in an isolated and secure environment,
repository_path can be the path to a portable media drive. Export the downloads to the portable media
drive to physically transfer the patches to the machine on which Update Manager is installed.
The data you downloaded by using UMDS is exported to the path you specify. Make sure that all files are
exported. You can periodically perform export from UMDS and populate the shared repository so that
Update Manager can use the new patch binaries and patch metadata.
62 VMware, Inc.
Chapter 9 Installing, Setting Up, and Using Update Manager Download Service
4 (Optional) You can export the ESX/ESXi 3.5 patches that you downloaded during a specified time window.
For example, to export the patches downloaded in November 2010, run the following command:
vmware-umds -E --export-store repository-path --start-time 2010-11-01T00:00:00 --end-time
2010-11-30T23:59:59
What to do next
Configure Update Manager to use a shared repository as a patch download source. For more information, see
“Use a Shared Repository as a Download Source,” on page 70.
VMware, Inc. 63
Installing and Administering VMware vSphere Update Manager
64 VMware, Inc.
Configuring Update Manager 10
Update Manager runs with the default configuration properties if you have not modified them during the
installation. You can modify the Update Manager settings later from the Update Manager Administration
view.
You can modify the Update Manager settings only if you have the privileges to configure the
Update Manager settings and service. These permissions must be assigned on the vCenter Server system with
which Update Manager is registered. For more information about managing users, groups, roles and
permissions, see vCenter Server and Host Management. For a list of Update Manager privileges and their
descriptions, see “Update Manager Privileges,” on page 81.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, and you have installed
and registered more than one Update Manager instance, you can configure the settings for each
Update Manager instance. Configuration properties you modify are applied only to the Update Manager
instance you specify and are not propagated to the other instances in the group. You can specify an
Update Manager instance by selecting the name of the vCenter Server system with which the
Update Manager instance is registered from the navigation bar.
VMware, Inc. 65
Installing and Administering VMware vSphere Update Manager
9084 The port used by ESX/ESXi hosts to access host patch downloads
over HTTP.
902 The port used by Update Manager to push host upgrade files.
8084 The port used by Update Manager client plug-in to connect to the
Update Manager SOAP server.
9087 The HTTPS port used by Update Manager Client plug-in to upload
host upgrade files.
IMPORTANT To avoid any potential DNS resolution problems, use an IP address whenever possible. If you
must use a DNS name instead of an IP address, ensure that the DNS name you specify can be resolved from
all hosts managed by Update Manager as well as by vCenter Server.
Update Manager supports Internet Protocol version 6 (IPv6) environments for scanning and remediating hosts
running ESX/ESXi 4.0 and later. Update Manager does not support IPv6 for scanning and remediation of virtual
machines and virtual appliances.
If you have ESX 3.x hosts in your inventory and Update Manager is installed on a computer with IPv6, the
scan and remediation operations on the hosts fail, because the hosts cannot connect to the Update Manager
server. To be able to scan and remediate ESX 3.x hosts, you should install Update Manager on a computer with
IPv4 enabled.
vCenter Server, Update Manager, and your ESX/ESXi hosts might exist in a heterogeneous IPv6 and IPv4
network environment. In such an environment, if you use IP addresses, and no dual stack IPv4 or IPv6 DNS
servers exist, the ESX/ESXi hosts configured to use only IPv4 address cannot access the IPv6 network resources.
The hosts configured to use only IPv6 cannot access the IPv4 network resources either.
You can install Update Manager on a machine on which both IPv4 and IPv6 are enabled. During host operations
such as scanning, staging, and remediation, Update Manager provides the address of its patch store location
to the ESX/ESXi hosts. If Update Manager is configured to use an IP address, it provides an IP address of either
IPv4 or IPv6 type, and can be accessed only by some of the hosts. For example, if Update Manager provides
an IPv4 address, the hosts that use only an IPv6 address cannot access the Update Manager patch store. In such
a case, consider the following configuration.
66 VMware, Inc.
Chapter 10 Configuring Update Manager
IPv4 and IPv6 Configure Update Manager to use either IPv4 or IPv6.
Prerequisites
n Check for conflicts with other port settings.
n If any remediation or scan tasks are running, cancel them or wait until they complete.
n Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and
click Update Manager under Solutions and Applications on the Home page.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, specify the
Update Manager instance to configure, by selecting the name of the corresponding vCenter Server system
in the navigation bar.
n To obtain metadata for the patches, Update Manager must be able to connect to
https://www.vmware.com and requires outbound ports 80 and 443.
Procedure
Option Description
SOAP port Update Manager Client uses this port to communicate with the
Update Manager server. There are no limitations to the range of ports used,
as long as there are no conflicts.
Server port (range: 80, 9000–9100) Listening port for the Web server that provides access to the plug-in client
installer, and provides access to the patch depot for ESX/ESXi hosts.
Update Manager automatically opens ESX/ESXi firewall ports in this range
to allow outbound HTTP traffic to the patch store.
IP address or host name for the patch The IP address or name of the host in which patches are downloaded and
store stored.
3 Click Apply.
What to do next
Restart the Update Manager service for network changes to take effect.
VMware, Inc. 67
Installing and Administering VMware vSphere Update Manager
If your deployment system is connected to the Internet, you can use the default settings and links for
downloading upgrades, patches, and extensions to the Update Manager repository. You can also add URL
addresses to download virtual appliance upgrades or third-party patches and extensions. Third-party patches
and extensions are applicable only to hosts that are running ESX/ESXi 4.0 and later.
Downloading host patches from the VMware Web site is a secure process.
n Patches are cryptographically signed with the VMware private keys. Before you try to install a patch on
a host, the host verifies the signature. This signature enforces the end-to-end protection of the patch itself,
and can also address any concerns about patch download.
n Update Manager downloads patch metadata and patch binaries over SSL connections. Update Manager
downloads patch metadata and patch binaries only after verification of both the validity of the SSL
certificates and the common name in the certificates. The common name in the certificates must match the
names of the servers from which Update Manager downloads patches.
If your deployment system is not connected to the Internet, you can use a shared repository after downloading
the upgrades, patches, and extensions by using Update Manager Download Service (UMDS).
For more information about UMDS, see Chapter 9, “Installing, Setting Up, and Using Update Manager
Download Service,” on page 57.
Changing the download source from a shared repository to Internet, and the reverse, is a change in the
Update Manager configuration. Both options are mutually exclusive. You cannot download updates from the
Internet and a shared repository at the same time. To download new data, you must run the VMware vSphere
Update Manager Download task. You can start the task by clicking the Download Now button at the bottom
of the Download Sources pane.
If the VMware vSphere Update Manager Update Download task is running when you apply the new
configuration settings, the task continues to use the old settings until it completes. The next time the task to
download updates starts, it uses the new settings.
With Update Manager, you can import both VMware and third-party patches or extensions manually from a
ZIP file, also called an offline bundle. Import of offline bundles is supported only for hosts that are running
ESX/ESXi 4.0 and later. You download the offline bundle ZIP files from the Internet or copy them from a media
drive, and save them on a local or a shared network drive. You can import the patches or extensions to the
Update Manager patch repository later. You can download offline bundles from the VMware Web site or from
the Web sites of third-party vendors.
Offline bundles contain one metadata.zip file, one or more VIB files, and optionally two .xml files,
index.xml and vendor-index.xml. When you import an offline bundle to the Update Manager patch repository,
Update Manager extracts it and checks whether the metadata.zip file has already been imported. If the
metadata.zip file has never been imported, Update Manager performs sanity testing, and imports the files
successfully. After you confirm the import, Update Manager saves the files into the Update Manager database
and copies the metadata.zip file, the VIBs, and the .xml files, if available, into the Update Manager patch
repository.
n Configure Update Manager to Use the Internet as a Download Source on page 69
If your deployment system is connected to the Internet, you can directly download ESX/ESXi patches
and extensions, as well as virtual appliance upgrades.
68 VMware, Inc.
Chapter 10 Configuring Update Manager
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
3 Choose the type of updates to download by selecting or deselecting the check box next to the type of
update.
You can choose whether to download virtual appliance upgrades and host patches and extensions. You
cannot edit the download source location of the default ESX/ESXi patches and extensions. You can only
enable or disable downloading.
4 (Optional) Add an additional third-party download source for virtual appliances or hosts that are running
ESX/ESXi 4.0 and later.
5 Click Apply.
6 Click Download Now to run the VMware vSphere Update Manager Update Download task.
All notifications and updates are downloaded immediately even if the Enable scheduled download
checkbox is not selected in Configuration > Notification Check Schedule or Configuration > Download
Schedule, respectively.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
VMware, Inc. 69
Installing and Administering VMware vSphere Update Manager
Procedure
4 In the Add Download Source window, type the new download source URL.
Update Manager supports both HTTP and HTTPS URL addresses. You should specify HTTPS URL
addresses, so that the data is downloaded securely. The URL addresses that you add must be complete
and contain the index.xml file, which lists the vendor and the vendor index.
NOTE The proxy settings for Update Manager are applicable to third-party URL addresses too. You can
configure the proxy settings from the Proxy Settings pane.
7 Click OK.
8 Click Apply.
9 Click Download Now to run the VMware vSphere Update Manager Update Download task.
All notifications and updates are downloaded immediately even if the Enable scheduled download
checkbox is not selected in Configuration > Notification Check Schedule or Configuration > Download
Schedule, respectively.
Prerequisites
You must create the shared repository using UMDS and host it on a Web server or a local disk. The UMDS
version you use must be of a version compatible with your Update Manager installation.
For more information about the compatibility, see “Compatibility Between UMDS and the Update Manager
Server,” on page 58. You can find the detailed procedure about exporting the upgrades, patch binaries, patch
metadata, and notifications in “Export the Downloaded Data,” on page 62.
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
70 VMware, Inc.
Chapter 10 Configuring Update Manager
In these examples, repository_path is the path to the folder to which you have exported the downloaded
upgrades, patches, extensions, and notifications. In an environment where the Update Manager server
does not have direct access to the Internet, but is connected to a machine that has Internet access, the folder
can be on a Web server.
You can specify an HTTP or HTTPS address, or a location on the disk on which Update Manager is
installed. HTTPS addresses are supported without any authentication.
IMPORTANT You cannot use folders located on a network drive as a shared repository. Update Manager
does not download updates from folders on a network share either in the Microsoft Windows Uniform
Naming Convention form (such as \\Computer_Name_or_Computer_IP\Shared), or on a mapped network
drive (for example, Z:\).
IMPORTANT If the updates in the folder you specify are downloaded with a UMDS version that is not
compatible with the Update Manager version you use, the validation fails and you receive an error
message.
You must make sure that the validation is successful. If the validation fails, Update Manager reports a
reason for the failure. You can use the path to the shared repository only when the validation is successful.
5 Click Apply.
6 Click Download Now to run the VMware vSphere Update Manager Update Download task and to
download the updates immediately.
The shared repository is used as a source for downloading upgrades, patches, and notifications.
For example, export the patches and notifications using UMDS to F:\, which is a drive mapped to a
plugged-in USB device on the machine on which UMDS is installed. Then, plug in the USB device to the
machine on which Update Manager is installed. On this machine the device is mapped as E:\. The folder
to configure as a shared repository in the Update Manager is E:\.
n When you use a Web server as a shared repository, repository_path is the top-level directory on the Web
server where patches exported from UMDS are stored.
For example, export the patches and notifications from UMDS to C:\docroot\exportdata. If the folder is
configured on a Web server and is accessible from other machines at the URL
https://umds_host_name/exportdata, the URL to configure as a shared repository in Update Manager is
https://umds_host_name/exportdata.
You can import offline bundles only for hosts that are running ESX/ESXi 4.0 or later.
VMware, Inc. 71
Installing and Administering VMware vSphere Update Manager
Prerequisites
To import patches and extensions, you must have the Upload File privilege. For more information about
managing users, groups, roles, and permissions, see vCenter Server and Host Management. For a list of
Update Manager privileges and their descriptions, see “Update Manager Privileges,” on page 81.
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
3 On the Select Patches File page of the Import Patches wizard, browse to and select the .zip file containing
the patches you want to import.
4 Click Next and wait until the file upload completes successfully.
In case of upload failure, check whether the structure of the .zip file is correct or whether the
Update Manager network settings are set up correctly.
5 On the Confirm Import page of the Import Patches wizard, review the patches that you have selected to
import into the Update Manager repository.
6 Click Finish.
You imported the patches into the Update Manager patch repository. You can view the imported patches on
the Update Manager Patch Repository tab.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
2 In the Proxy Settings pane, select Use proxy and change the proxy information.
3 (Optional) If the proxy requires authentication, select Proxy requires authentication and provide a user
name and password.
4 (Optional) Click Test Connection at any time to test that you can connect to the Internet through the proxy.
5 Click Apply.
You configured Update Manager to use an Internet proxy to download upgrades, patches, extensions, and
related metadata.
72 VMware, Inc.
Chapter 10 Configuring Update Manager
In some cases you might want to decrease the duration between checks for updates. If you are not concerned
about the latest updates and want to reduce network traffic, or if you cannot access the update servers, you
can increase the duration between checks for updates.
By default the task to download update metadata and binaries is enabled and is called
VMware vSphere Update Manager Update Download task. By modifying this task, you can configure checking
for updates. You can modify the VMware vSphere Update Manager Update Download task from either the
Scheduled Tasks view of the vSphere Client or the Configuration tab of the Update Manager Client
Administration view.
Prerequisites
To download update data, the machine on which Update Manager is installed must have Internet access.
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
2 Make sure that the Enable scheduled download check box is selected.
NOTE If you deselect the check box, the scheduled task that checks for updates is disabled. However, you
can still force a check and download updates by clicking Download Now in Download Settings on the
Configuration tab.
5 Specify the Frequency, Start Time, Interval of the update download, and click Next.
6 (Optional) Specify one or more email addresses to be notified when the new updates are downloaded,
and click Next.
You must configure mail settings for the vCenter Server system to enable this option.
In case patches with issues or potential issues are released, the patch metadata is updated, and
Update Manager marks the patches as recalled. If you try to install a recalled patch, Update Manager notifies
you that the patch is recalled and does not install it on the host. Update Manager notifies you if a recalled patch
is already installed on certain hosts. Update Manager also deletes all the recalled patches from the patch
repository.
VMware, Inc. 73
Installing and Administering VMware vSphere Update Manager
When a patch fixing the problem is released, Update Manager downloads the new patch and prompts you to
install it to fix the issues that the recalled patch might cause. If you have already installed a recalled patch,
Update Manager alerts you that the patch is recalled and that there is a fix you must install.
Update Manager supports patch recalls for offline bundles that you have imported. Patches from an imported
offline bundle are recalled when you import a new offline bundle. The metadata.zip file contains information
about the patches that must be recalled. Update Manager removes the recalled patches from the patch
repository, and after you import a bundle containing fixes, Update Manager notifies you about the fixes and
sends email notifications if you have enabled them.
If you use a shared repository as a source for downloading patches and notifications, Update Manager
downloads recall notifications from the shared repository to the Update Manager patch repository, but does
not send recall email alerts. For more information about using a shared repository, see “Use a Shared Repository
as a Download Source,” on page 70.
NOTE After a download of patch recall notifications, Update Manager flags recalled patches but their
compliance state does not refresh automatically. You must perform a scan to view the updated compliance
state of patches affected by the recall.
By default the task to check for notifications and to send notifications alerts is enabled and is called the
VMware vSphere Update Manager Check Notification task. By modifying this task, you can configure the time
and frequency at which Update Manager checks for patch recalls or for the release of patch fixes, and sends
notifications to the email addresses you specify. You can modify the VMware vSphere Update Manager Check
Notification task from either the Scheduled Tasks view of the vSphere Client or the Configuration tab of the
Update Manager Client Administration view.
Prerequisites
To configure notification checks, make sure that the machine on which Update Manager is installed has Internet
access.
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
2 Make sure that the Enable scheduled download check box is selected.
NOTE If you deselect the check box, the scheduled task that checks for notifications is disabled. However,
you can still force a check and download notifications by clicking the Check Notifications link on the
Notifications tab or the Download Now button in Download Settings on the Configuration tab.
5 Specify the Frequency, Start Time, and Interval of the task, and click Next.
74 VMware, Inc.
Chapter 10 Configuring Update Manager
6 (Optional) Specify one or more email addresses where notifications about patch recalls or email alerts are
sent, and click Next.
You must configure mail settings for the vCenter Server system to enable this option.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
Any new notifications that are available on the VMware Web site are immediately downloaded even if
the Enable scheduled download checkbox is not selected in Configuration > Notification Check
Schedule.
Information notifications Information notifications appear in the Update Manager Notifications tab.
They do not trigger an alarm. Clicking an information notification opens the
Notification Details window.
Warning notifications Warning notifications appear in the Update Manager Notifications tab and
trigger an alarm, which appears in the vSphere Client Alarms tab. Warning
notifications are typically fixes for patch recalls. Clicking a warning notification
opens the Patch Recall Details window.
Alert notifications Alert notifications appear in the Update Manager Notifications tab and trigger
an alarm, which appears in the vSphere Client Alarms tab. Alert notifications
are typically patch recalls. Clicking an alert notification opens the Patch Recall
Details window.
Update Manager does not take snapshots of fault tolerant virtual machines and virtual machines that are
running virtual machine hardware version 3. If you decide to take snapshots of such virtual machines, the
remediation might fail.
VMware, Inc. 75
Installing and Administering VMware vSphere Update Manager
You can choose to keep snapshots indefinitely or for a fixed period of time. Use the following guidelines when
managing snapshots:
n Keeping snapshots indefinitely might consume a large amount of disk space and degrade virtual machine
performance.
n Keeping no snapshots saves space, ensures best virtual machine performance, and might reduce the
amount of time it takes to complete remediation, but limits the availability of a rollback.
n Keeping snapshots for a set period of time uses less disk space and offers a backup for a short time.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
2 To take snapshots of the virtual machines before remediating them, leave Take a snapshot of the virtual
machines before remediation to enable rollback selected.
4 Click Apply.
These settings become the default rollback option settings for virtual machines. You can specify different
settings when you configure individual remediation tasks.
Updates might require that the host enters maintenance mode during remediation. Virtual machines cannot
run when a host is in maintenance mode. To ensure availability, vCenter Server can migrate virtual machines
to other ESX/ESXi hosts within a cluster before the host is put into maintenance mode. vCenter Server migrates
the virtual machines if the cluster is configured for vMotion, and if DRS is enabled.
You should enable Enhanced vMotion Compatibility (EVC) to help ensure vMotion compatibility between the
hosts in the cluster. EVC ensures that all hosts in a cluster present the same CPU feature set to virtual machines,
even if the actual CPUs on the hosts differ. Use of EVC prevents migrations with vMotion from failing because
of incompatible CPUs. EVC can only be enabled in a cluster where host CPUs meet the compatibility
requirements. For more information about EVC and the requirements that the hosts in an EVC cluster must
meet, see vCenter Server and Host Management.
If a host has no running virtual machines, VMware DPM might put the host in standby mode and interrupt
an Update Manager operation. To make sure that scanning and staging complete successfully,
Update Manager disables VMware DPM during these operations. To ensure successful remediation, you
should allow Update Manager to disable VMware DPM and HA admission control before the remediation
operation. After the operation completes, Update Manager restores VMware DPM and HA admission control.
Update Manager disables HA admission control before staging and remediation but not before scanning.
If VMware DPM has already put hosts in standby mode, Update Manager powers on the hosts before scanning,
staging, and remediation. After the scanning, staging, or remediation is complete, Update Manager turns on
VMware DPM and HA admission control and lets VMware DPM put hosts into standby mode, if needed.
Update Manager does not remediate powered off hosts.
76 VMware, Inc.
Chapter 10 Configuring Update Manager
If hosts are put into standby mode and VMware DPM is manually disabled for a reason, Update Manager does
not remediate or power on the hosts.
Within a cluster, you should select to temporarily disable HA admission control to allow vMotion to proceed,
in order to prevent downtime of the machines on the hosts you remediate. After the remediation of the entire
cluster, Update Manager restores HA admission control settings.
If FT is turned on for any of the virtual machines on hosts within a cluster, you should select to temporarily
turn off FT before performing any Update Manager operations on the cluster. If FT is turned on for any of the
virtual machines on a host, Update Manager does not remediate that host. You should remediate all hosts in
a cluster with the same updates, so that FT can be re-enabled after the remediation, because a primary virtual
machine and a secondary virtual machine cannot reside on hosts of different ESX/ESXi version and patch level.
For hosts in a container different from a cluster or for individual hosts, migration of the virtual machines with
vMotion cannot be performed. If vCenter Server cannot migrate the virtual machines to another host, you can
configure how Update Manager responds.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
2 Under Maintenance Mode Settings, select an option from the VM Power state drop-down menu to
determine the change of the power state of the virtual machines and appliances that are running on the
host to be remediated.
Option Description
Power Off virtual machines Powers off all virtual machines and virtual appliances before remediation.
Suspend virtual machines Suspends all running virtual machines and virtual appliances before
remediation.
Do Not Change VM Power State Leaves virtual machines and virtual appliances in their current power state.
This is the default setting.
3 (Optional) Select Retry entering maintenance mode in case of failure, specify the retry delay, and the
number of retries.
If a host fails to enter maintenance mode before remediation, Update Manager waits for the retry delay
period and retries putting the host into maintenance mode as many times as you indicate in Number of
retries field.
4 (Optional) Select Temporarily disable any removable media devices that might prevent a host from
entering maintenance mode.
Update Manager does not remediate hosts on which virtual machines have connected CD/DVD or floppy
drives. All removable media drives that are connected to the virtual machines on a host might prevent the
host from entering maintenance mode and interrupt remediation.
After remediation, Update Manager reconnects the removable media devices if they are still available.
VMware, Inc. 77
Installing and Administering VMware vSphere Update Manager
5 Click Apply.
These settings become the default failure response settings. You can specify different settings when you
configure individual remediation tasks.
NOTE Remediating hosts in parallel can improve performance significantly by reducing the time required for
cluster remediation. Update Manager remediates hosts in parallel without disrupting the cluster resource
constraints set by DRS.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
2 Select the check boxes for features that you want to disable or enable.
Option Description
Distributed Power Management VMware DPM monitors the resource use of the running virtual machines in
(DPM) the cluster. If sufficient excess capacity exists, VMware DPM recommends
moving virtual machines to other hosts in the cluster and placing the original
host into standby mode to conserve power. If the capacity is insufficient,
VMware DPM might recommend returning standby hosts to a powered-on
state.
If you do not choose to disable DPM, Update Manager skips the cluster on
which VMware DPM is enabled. If you choose to temporarily disable
VMware DPM, Update Manager disables DPM on the cluster, remediates
the hosts in the cluster, and re-enables VMware DPM after remediation is
complete.
High Availability (HA) admission Admission control is a policy used by VMware HA to ensure failover
control capacity within a cluster. If HA admission control is enabled during
remediation, the virtual machines within a cluster might not migrate with
vMotion.
If you do not choose to disable HA admission control, Update Manager skips
the cluster on which HA admission control is enabled. If you choose to
temporarily disable HA admission control, Update Manager disables HA
admission control, remediates the cluster, and re-enables HA admission
control after remediation is complete.
Fault Tolerance (FT) FT provides continuous availability for virtual machines by automatically
creating and maintaining a secondary virtual machine that is identical to the
primary virtual machine. If you do not choose to turn off FT for the virtual
machines on a host, Update Manager does not remediate that host.
78 VMware, Inc.
Chapter 10 Configuring Update Manager
Option Description
Enable parallel remediation for hosts Update Manager can remediate hosts in clusters in a parallel manner. Update
in cluster Manager continuously evaluates the maximum number of hosts it can
remediate in parallel without disrupting DRS settings. If you do not select
the option, Update Manager remediates the hosts in a cluster sequentially.
Migrate powered off and suspended Update Manager migrates the suspended and powered off virtual machines
virtual machines to other hosts in the from hosts that must enter maintenance mode to other hosts in the cluster.
cluster, if a host must enter You can select to power off or suspend virtual machines before remediation
maintenance mode in the Maintenance Mode Settings pane.
3 Click Apply.
These settings become the default failure response settings. You can specify different settings when you
configure individual remediation tasks.
The global setting in the Update Manager Configuration tab enables solutions such as ESX Agent Manager or
Cisco Nexus 1000V to initiate remediation of PXE booted ESXi 5.x hosts. In contrast, the Enable patch
remediation of powered on PXE booted ESXi hosts setting in the Remediate wizard enables Update Manager
to patch PXE booted hosts.
To retain updates on stateless hosts after a reboot, use a PXE boot image that contains the updates. You can
update the PXE boot image before applying the updates with Update Manager, so that the updates are not lost
because of a reboot. For more information about creating custom ESXi images, see Image Builder
Administration. Update Manager itself does not reboot the hosts because it does not install updates requiring
a reboot on PXE booted ESXi 5.0 hosts.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
2 To enable installation of software for solutions on PXE booted ESXi.5x hosts, select Allow installation of
additional software on PXE booted ESXi 5.x hosts.
3 Click Apply.
A vApp is a prebuilt software solution, consisting of one or more virtual machines and applications, which
are potentially operated, maintained, monitored, and updated as a unit.
Smart rebooting is enabled by default. If you disable smart rebooting, the virtual appliances and virtual
machines are restarted according to their individual remediation requirements, disregarding existing startup
dependencies.
VMware, Inc. 79
Installing and Administering VMware vSphere Update Manager
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
Procedure
1 Log in as an administrator to the machine on which the Update Manager server is installed.
b In the left pane, expand Services and Applications and click Services.
c In the right pane, right-click VMware vSphere Update Manager Service and click Stop.
3 Navigate to the Update Manager installation directory and locate the vci-integrity.xml file.
4 Create a backup copy of this file in case you need to revert to the previous configuration.
<patchStore>your_new_location</patchStore>
7 Copy the contents from the old patchstore directory to the new folder.
8 Start the Update Manager service by right-clicking VMware vSphere Update Manager Service in the
Computer Management window and selecting Start.
Procedure
1 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered.
2 Select Administration > vCenter Server Settings to view the vCenter Server Settings dialog box.
80 VMware, Inc.
Chapter 10 Configuring Update Manager
The SMTP Server is the DNS name or IP address of the SMTP gateway to use for sending email messages.
6 Click OK.
Procedure
1 Log in as the administrator to the machine on which the Update Manager server component is installed.
3 In the left pane of the Computer Management window, expand Services and Applications and click
Services.
4 In the right pane, right-click VMware vSphere Update Manager Service and select Restart.
Procedure
1 In the vSphere Client, select Home > Management > Scheduled Tasks in the navigation bar.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, specify the
Update Manager instance to configure, by selecting the name of the corresponding vCenter Server system
in the navigation bar.
2 Right-click the VMware vSphere Update Manager Update Download task and select Run.
You can see the running task listed in the Recent Tasks pane.
VMware, Inc. 81
Installing and Administering VMware vSphere Update Manager
Manage Patches and Upgrades Remediate to Apply Patches, Remediate virtual machines, virtual
Extensions, and Upgrades appliances, and hosts to apply patches,
extensions, or upgrades. In addition, this
privilege allows you to view compliance
status.
Upload File Upload File Upload upgrade images and offline patch
bundles.
For more information about managing users, groups, roles, and permissions, see vCenter Server and Host
Management.
82 VMware, Inc.
Working with Baselines and Baseline
Groups 11
Baselines can be upgrade, extension, or patch baselines. Baselines contain a collection of one or more patches,
extensions, or upgrades.
Baseline groups are assembled from existing baselines, and might contain one upgrade baseline per type of
upgrade baseline and one or more patch and extension baselines, or might contain a combination of multiple
patch and extension baselines. When you scan hosts, virtual machines, and virtual appliances, you evaluate
them against baselines and baseline groups to determine their level of compliance.
To create, edit, or delete baselines and baseline groups, you must have the Manage Baseline privilege. To
attach baselines and baseline groups, you must have the Attach Baseline privilege. Privileges must be assigned
on the vCenter Server system with which Update Manager is registered. For more information about managing
users, groups, roles, and permissions, see vCenter Server and Host Management. For a list of Update Manager
privileges and their descriptions, see “Update Manager Privileges,” on page 81.
Update Manager includes two default dynamic patch baselines and three upgrade baselines.
Critical Host Patches Checks ESX/ESXi hosts for compliance with all critical patches.
(Predefined)
Non-Critical Host Checks ESX/ESXi hosts for compliance with all optional patches.
Patches (Predefined)
VMware Tools Upgrade Checks virtual machines for compliance with the latest VMware Tools version
to Match Host on the host. Update Manager supports upgrading of VMware Tools for virtual
(Predefined) machines on hosts that are running ESX/ESXi 4.0 and later.
VM Hardware Upgrade to Checks the virtual hardware of a virtual machine for compliance with the latest
Match Host (Predefined) version supported by the host. Update Manager supports upgrading to virtual
hardware version 8.0 on hosts that are running ESXi 5.x.
VA Upgrade to Latest Checks virtual appliance compliance with the latest released virtual appliance
(Predefined) version.
In the vSphere Client, default baselines are displayed on the Baselines and Groups tab of the Update Manager
Client Administration view.
If your vCenter Server system is part of a connected group in vCenter Linked Mode and you have an
Update Manager instance for each vCenter Server system in the group, the baselines and baseline groups you
create and manage are applicable only to inventory objects managed by the vCenter Server system with which
the selected Update Manager instance is registered. You can use an Update Manager instance only with a
vCenter Server system on which the instance is registered.
VMware, Inc. 83
Installing and Administering VMware vSphere Update Manager
Dynamic patch baselines contain a set of patches, which updates automatically according to patch availability
and the criteria that you specify. Fixed baselines contain only patches that you select, regardless of new patch
downloads.
Extension baselines contain additional software modules for ESX/ESXi hosts. This additional software might
be VMware software or third-party software. You can install additional modules by using extension baselines,
and update the installed modules by using patch baselines.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, and you have more than
one Update Manager instance, patch and extension baselines that you create are not applicable to all inventory
objects managed by other vCenter Server systems in the group. Baselines are specific for the
Update Manager instance you select.
Prerequisites
84 VMware, Inc.
Chapter 11 Working with Baselines and Baseline Groups
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Baselines and Groups tab, click Create above the Baselines pane.
5 Select individual patches to include and click the down arrow to add them to the Fixed Patches to Add
list.
7 Click Next.
The new baseline is displayed in the Baselines pane of the Baselines and Groups tab.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Baselines and Groups tab, click Create above the Baselines pane.
VMware, Inc. 85
Installing and Administering VMware vSphere Update Manager
5 On the Dynamic Baseline Criteria page, specify criteria to define the patches to include, and then click
Next.
Option Description
Patch Vendor Specifies which patch vendor to use.
Product Restricts the set of patches to the selected products or operating systems.
The asterisk at the end of a product name is a wildcard character for any
version number.
Severity Specifies the severity of patches to include.
Category Specifies the category of patches to include.
Release Date Specifies the range for the release dates of the patches.
The relationship between these fields is defined by the Boolean operator AND.
For example, when you select a product and severity option, the patches are restricted to the ones that are
applicable for the selected product and are of the specified severity level.
6 (Optional) On the Patches to Exclude page, select one or more patches in the list and click the down arrow
to permanently exclude them from the baseline.
7 (Optional) Click Advanced to search for specific patches to exclude from the baseline.
8 Click Next.
9 (Optional) On the Other Patches to Add page, select individual patches to include in the baseline and click
the down arrow to move them into the Fixed Patches to Add list.
The patches you add to the dynamic baseline stay in the baseline regardless of the new downloaded
patches.
10 (Optional) Click Advanced to search for specific patches to include in the baseline.
11 Click Next.
The new baseline is displayed in the Baselines pane of the Baselines and Groups tab.
Extensions can provide additional features, updated drivers for hardware, Common Information Model (CIM)
providers for managing third-party modules on the host, improvements to the performance or usability of
existing host features, and so on.
Host extension baselines that you create are always fixed. You must carefully select the appropriate extensions
for the ESX/ESXi hosts in your environment.
To perform the initial installation of an extension, you must use an extension baseline. After the extension is
installed on the host, you can update the extension module with either patch or extension baselines.
NOTE When applying extension baselines by using Update Manager, you must be aware of the functional
implications of new modules to the host. Extension modules might alter the behavior of ESX/ESXi hosts. During
installation of extensions, Update Manager only performs the checks and verifications expressed at the package
level.
86 VMware, Inc.
Chapter 11 Working with Baselines and Baseline Groups
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Baselines and Groups tab, click Create above the Baselines pane.
4 On the Extensions page, select individual extensions to include in the baseline and click the down arrow
to add them to the Included Extensions list.
5 (Optional) Click Advanced to filter the extensions to include specific extensions in the baseline.
6 Click Next.
The new baseline is displayed in the Baselines pane of the Baselines and Groups tab.
Procedure
2 On the Filter Patches or Filter Extensions page, specify the criteria to define the patches or extensions to
include or exclude.
Option Description
Patch Vendor Specifies which patch or extension vendor to use.
Product Restricts the set of patches or extensions to the selected products or operating
systems.
The asterisk at the end of a product name is a wildcard character for any
version number.
Severity Specifies the severity of patches or extensions to include.
Category Specifies the category of patches or extensions to include.
Release Date Specifies the range for the release dates of the patches or extensions.
Text Restricts the patches or extensions to those containing the text that you enter.
The relationship between these fields is defined by the Boolean operator AND.
3 Click Find.
The patches or extensions in the New Baseline wizard are filtered with the criteria that you specified.
VMware, Inc. 87
Installing and Administering VMware vSphere Update Manager
You edit patch baselines from the Update Manager Client Administration view.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
2 Select a patch baseline and click Edit above the Baselines pane.
3 Edit the name and description of the baseline and click Next.
4 Go through the Edit Baseline wizard to change the criteria, and select patches to include or exclude.
You can edit extension baselines from the Update Manager Client Administration view.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
2 Select an extension baseline and click Edit above the Baselines pane.
3 Edit the name and description of the baseline and click Next.
You can upload and manage ESXi images from the ESXi Images tab of the Update Manager Administration
view.
88 VMware, Inc.
Chapter 11 Working with Baselines and Baseline Groups
Update Manager 5.0 supports only upgrade from ESXi 4.x to ESXi 5.x and migration from ESX 4.x to
ESXi 5.x. You cannot use Update Manager to upgrade a host to ESXi 5.0 if the host was upgraded from ESX
3.x to ESX 4.x. Such hosts do not have sufficient free space in the /boot partition to support the Update Manager
upgrade process. Use a scripted or interactive upgrade instead.
Before uploading ESXi images, obtain the image files from the VMware Web site or another source. You can
create custom ESXi images that contain third-party VIBs by using Image Builder. For more information, see
Image Builder Administration.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, and you have more than
one Update Manager instance, host upgrade files that you upload and baselines that you create are not
applicable to the hosts managed by other vCenter Server systems in the group. Upgrade files and baselines
are specific for the Update Manager instance you select.
n Import Host Upgrade Images and Create Host Upgrade Baselines on page 89
You can create upgrade baselines for ESX/ESXi hosts with ESXi 5.x images that you import to the
Update Manager repository.
n Create a Host Upgrade Baseline on page 90
To upgrade or migrate the hosts in your vSphere environment, you must create host upgrade baselines.
n Edit a Host Upgrade Baseline on page 91
You can change the name, description, and upgrade options of an existing host upgrade baseline. You
cannot delete a host upgrade image by editing the host upgrade baseline.
n Delete ESXi Images on page 91
You can delete ESXi images from the Update Manager repository if you no longer need them.
You can use ESXi .iso images to upgrade ESXi 4.x hosts to ESXi 5.x or migrate ESX 4.x hosts to ESXi 5.x.
To upgrade or migrate hosts, use the ESXi installer image distributed by VMware with the name format VMware-
VMvisor-Installer-5.0.0-build_number.x86_64.iso or a custom image created by using Image Builder.
Prerequisites
Ensure that you have the Upload File privilege. For more information about managing users, groups, roles,
and permissions, see vCenter Server and Host Management.
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the ESXi Images tab click Import ESXi Image on the upper-right side.
2 On the Select ESXi Image page of the Import ESXi Image wizard, browse to and select the ESXi image that
you want to upload.
3 Click Next.
CAUTION Do not close the import wizard. Closing the import wizard stops the upload process.
VMware, Inc. 89
Installing and Administering VMware vSphere Update Manager
4 (Optional) In the Security Warning window, select an option to handle the certificate warning.
A trusted certificate authority does not sign the certificates that are generated for vCenter Server and
ESX/ESXi hosts during installation. Because of this, each time an SSL connection is made to one of these
systems, the client displays a warning.
Option Action
Ignore Click Ignore to continue using the current SSL certificate and start the upload
process.
Cancel Click Cancel to close the window and stop the upload process.
Install this certificate and do not Select this check box and click Ignore to install the certificate and stop
display any security warnings receiving security warnings.
b Specify a name, and optionally, a description for the host upgrade baseline.
7 Click Finish.
The ESXi image that you uploaded appears in the Imported ESXi Images pane. You can see more information
about the software packages that are included in the ESXi image in the Software Packages pane.
If you also created a host upgrade baseline, the new baseline is displayed in the Baselines pane of the Baselines
and Groups tab.
What to do next
To upgrade or migrate the hosts in your environment, you must create a host upgrade baseline if you have not
already done so.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Baselines and Groups tab, click Create above the Baselines pane.
3 On the ESXi Image page, select a host upgrade image and click Next.
The new baseline is displayed in the Baselines pane of the Baselines and Groups tab.
90 VMware, Inc.
Chapter 11 Working with Baselines and Baseline Groups
You can edit upgrade baselines from the Update Manager Client Administration view.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
2 Select an existing host upgrade baseline and click Edit above the Baselines pane.
3 Edit the name and description of the baseline, and click Next.
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Prerequisites
Verify that the ESXi images are not included in baselines. You cannot delete images that are included in a
baseline.
Procedure
1 In the Update Manager Administration view, click the ESXi Images tab.
2 Under Imported ESXi Images, select the file you want to delete and click Delete.
The ESXi image is deleted and no longer available under Imported ESXi Images.
Virtual appliance baselines that you create consist of a set of user-defined rules. If you add rules that conflict,
the Update Manager displays an Upgrade Rule Conflict window so that you can resolve the conflicts.
Virtual appliance baselines let you upgrade virtual appliances either to the latest available version or to a
specific version number.
VMware, Inc. 91
Installing and Administering VMware vSphere Update Manager
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Baselines and Groups tab, click Create above the Baselines pane.
4 On the Upgrade Options page, select Vendor and Appliance options from the respective drop-down
menus.
The options listed in these menus depend on the virtual appliance upgrades that are downloaded in the
Update Manager repository. If no upgrades are downloaded in the repository, the available options are
All Vendors and All Products, respectively.
Option Description
Latest Upgrades the virtual appliance to the latest version.
A specific version number Upgrades the virtual appliance to a specific version. This option is available
when you select a specific vendor and appliance name.
Do Not Upgrade Does not upgrade the virtual appliance.
d Select one Upgrade To option to apply to the selected appliances, and click OK.
If you create multiple rules to apply to the same virtual appliance, only the first applicable rule in the list
is applied.
a In the Upgrade Rule Conflict window, select whether to keep the existing rules, to use the newly
created rules, or to manually resolve the conflict.
b Click OK.
92 VMware, Inc.
Chapter 11 Working with Baselines and Baseline Groups
9 Click Next.
The new baseline is displayed in the Baselines pane of the Baselines and Groups tab.
You can edit upgrade baselines from the Update Manager Client Administration view.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
2 Select an existing baseline and click Edit above the Baselines pane.
3 Edit the name and the description of the baseline and click Next.
Delete Baselines
You can delete baselines that you no longer need from Update Manager. Deleting a baseline detaches it from
all the objects to which the baseline is attached.
You can delete baselines from the Update Manager Client Administration view.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 In the Baselines pane of the Baselines and Groups tab, select the baselines to remove, and click Delete.
You can perform an orchestrated upgrade of the virtual machines by remediating the same folder or datacenter
against a baseline group containing the following baselines:
n VMware Tools Upgrade to Match Host
n VM Hardware Upgrade to Match Host
VMware, Inc. 93
Installing and Administering VMware vSphere Update Manager
You can perform an orchestrated upgrade of hosts by using a baseline group that contains a single host upgrade
baseline and multiple patch or extension baselines.
You can create two types of baseline groups depending on the object type to which you want to apply them:
n Baseline groups for hosts
n Baseline groups for virtual machines and virtual appliances
Baseline groups that you create are displayed on the Baselines and Groups tab of the Update Manager Client
Administration view.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, and you have more than
one Update Manager instance, baseline groups you create are not applicable to all inventory objects managed
by other vCenter Server systems in the group. Baseline groups are specific for the Update Manager instance
that you select.
NOTE You can click Finish in the New Baseline Group wizard at any time to save your baseline group and
add baselines to it at a later stage.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Baselines and Groups tab, click Create above the Baseline Groups pane.
3 Under Baseline Group Type, select Host Baseline Group and click Next.
5 (Optional) Create a new host upgrade baseline by clicking Create a new Host Upgrade Baseline at the
bottom of the Upgrades page and complete the New Baseline wizard.
6 Click Next.
7 Select the patch baselines that you want to include in the baseline group.
8 (Optional) Create a new patch baseline by clicking Create a new Host Patch Baseline at the bottom of the
Patches page and complete the New Baseline wizard.
9 Click Next.
11 (Optional) Create a new extension baseline by clicking Create a new Extension Baseline at the bottom of
the Patches page and complete the New Baseline wizard.
94 VMware, Inc.
Chapter 11 Working with Baselines and Baseline Groups
NOTE You can click Finish in the New Baseline Group wizard at any time to save your baseline group, and
add baselines to it at a later stage.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Baselines and Groups tab, click Create above the Baseline Groups pane.
2 In the New Baseline Group wizard, under Baseline Group Type, select Virtual Machines and Virtual
Appliances Baseline Group.
4 For each type of upgrade (virtual appliance, virtual hardware, and VMware Tools), select one of the
available upgrade baselines to include in the baseline group.
NOTE If you decide to remediate only virtual appliances, the upgrades for virtual machines are ignored,
and the reverse. If a folder contains both virtual machines and virtual appliances, the appropriate upgrades
are applied to each type of object.
5 (Optional) Create a new Virtual Appliance upgrade baseline by clicking Create a new Virtual Appliance
Upgrade Baseline at the bottom of the Upgrades page, and complete the New Baseline wizard.
After you complete the New Baseline wizard, you return to the New Baseline Group wizard.
6 Click Next.
You edit baseline groups from the Update Manager Client Administration view.
Prerequisites
You can edit baseline groups only if you have the Manage Baseline privilege.
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Baselines and Groups tab, select the type of baseline group to edit by clicking either Hosts or
VMs/VAs.
2 Select a baseline group from the Baseline Groups pane and click Edit above the pane.
VMware, Inc. 95
Installing and Administering VMware vSphere Update Manager
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Baselines and Groups tab, click Hosts or VMs/VAs, depending on the type of baseline that you
want to add.
2 From the Baseline Groups pane, select a baseline group and expand it to view the included baselines.
3 Select a baseline from the list in the Baselines pane, and click the right arrow.
You can edit the contents of baseline groups from the Update Manager Client Administration view.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Baselines and Groups tab, click Hosts or VMs/VAs, depending on the type of baseline that you
want to remove.
2 From the Baseline Groups pane, select a baseline group and expand it to view the included baselines.
3 Select a baseline from the Baseline Groups pane on the right and click the left arrow.
You can delete baseline groups from the Update Manager Client Administration view.
96 VMware, Inc.
Chapter 11 Working with Baselines and Baseline Groups
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Baselines and Groups tab, select the baseline group to remove, and click Delete.
You can attach baselines and baseline groups to objects from the Update Manager Client Compliance view.
Although you can attach baselines and baseline groups to individual objects, a more efficient method is to
attach them to container objects, such as folders, vApps, clusters, and datacenters. Individual vSphere objects
inherit baselines attached to the parent container object. Removing an object from a container removes the
inherited baselines from the object.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, you can attach baselines
and baseline groups to objects managed by the vCenter Server system with which Update Manager is
registered. Baselines and baseline groups you attach are specific for the Update Manager instance that is
registered with the vCenter Server system.
Prerequisites
Procedure
1 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered and
select Home > Inventory in the navigation bar.
2 Select the type of object that you want to attach the baseline to.
For example, Hosts and Clusters or VMs and Templates.
3 Select the object in the inventory, and click the Update Manager tab.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, the
Update Manager tab is available only for the vCenter Server system with which an Update Manager
instance is registered.
5 In the Attach Baseline or Group window, select one or more baselines or baseline groups to attach to the
object.
If you select one or more baseline groups, all baselines in the groups are selected. You cannot deselect
individual baselines in a group.
6 (Optional) Click the Create Baseline Group or Create Baseline links to create a baseline group or a baseline
and complete the remaining steps in the respective wizard.
VMware, Inc. 97
Installing and Administering VMware vSphere Update Manager
7 Click Attach.
The baselines and baseline groups that you selected to attach are displayed in the Attached Baseline Groups
and Attached Baselines panes of the Update Manager tab.
You can filter baselines and baseline groups attached to an object from the Update Manager Client Compliance
view.
Procedure
1 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered and
select Home > Inventory.
This object can be a virtual machine, a virtual appliance, a host, or a container object.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, the Update
Manager tab is available only for the vCenter Server systems with which an Update Manager instance is
registered.
5 Type text in the Name contains text box above the Attached Baselines pane.
The baselines and baseline groups containing the text that you entered are listed in the respective panes. If the
inventory object you select is a container object, the virtual machines, appliances, or hosts in the bottom pane
of the Update Manager tab are also filtered.
You can detach baselines and baseline group from objects from the Update Manager Client Compliance view.
Prerequisites
Procedure
1 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered and
select Home > Inventory.
2 Select the type of object that you want to detach the baseline or group from.
3 Select the object in the inventory, and click the Update Manager tab.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, the Update
Manager tab is available only for the vCenter Server systems with which an Update Manager instance is
registered.
98 VMware, Inc.
Chapter 11 Working with Baselines and Baseline Groups
4 Right-click the baseline or baseline group to remove and select Detach Baseline or Detach Baseline
Group.
5 Select the inventory objects from which you want to detach the baseline or baseline group and click
Detach.
The baseline or baseline group you detach remains in the Compliance view until you detach it from all
objects.
The baseline or baseline group that you detach is no longer listed in the Attached Baselines or Attached Baseline
Groups pane.
VMware, Inc. 99
Installing and Administering VMware vSphere Update Manager
You can configure Update Manager to scan virtual machines, virtual appliances, and ESX/ESXi hosts by
manually initiating or scheduling scans to generate compliance information. To generate compliance
information and view scan results, you must attach baselines and baseline groups to the objects you scan.
To initiate or schedule scans, you must have the Scan for Applicable Patches, Extensions, and Upgrades
privilege. For more information about managing users, groups, roles, and permissions, see vCenter Server and
Host Management. For a list of Update Manager privileges and their descriptions, see “Update Manager
Privileges,” on page 81.
You can scan vSphere objects from the Update Manager Client Compliance view.
Procedure
1 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered and
select Home > Inventory > Hosts and Clusters in the navigation bar.
2 Right-click a host, datacenter, or any container object and select Scan for Updates.
4 Click Scan.
The selected inventory object and all child objects are scanned against all patches, extensions, and upgrades
in the attached baselines. The larger the virtual infrastructure and the higher up in the object hierarchy that
you initiate the scan, the longer the scan takes.
Prerequisites
After you import a VMware Studio created virtual appliance in the vSphere Client, power it on so that it is
discovered as a virtual appliance.
Procedure
1 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered and
select Home > Inventory > VMs and Templates in the navigation bar.
2 Right-click a virtual machine, virtual appliance, a folder of virtual machines and appliances, or a
datacenter, and select Scan for Updates.
The options are Virtual Appliance upgrades, VM Hardware upgrades, and VMware Tools upgrades.
4 Click Scan.
The virtual machines and appliances that you select are scanned against the attached baselines, depending on
the options that you select. All child objects are also scanned. The larger the virtual infrastructure and the
higher up in the object hierarchy that you initiate the scan, the longer the scan takes and the more accurate the
compliance view is.
Schedule a Scan
You can configure the vSphere Client to scan virtual machines, virtual appliances, and ESX/ESXi hosts at
specific times or at intervals that are convenient for you.
Procedure
1 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered and
select Home > Management > Scheduled Tasks in the navigation bar.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, specify the Update
Manager instance that you want to use to schedule a scan task by selecting the name of the corresponding
vCenter Server system in the navigation bar.
2 Click New in the toolbar to open the Schedule Task dialog box.
4 Select the type of vSphere infrastructure object to scan, and click Next.
5 In the inventory tree, select the inventory object to be scanned and click Next.
All child objects of the object that you select are also scanned.
8 Set the frequency and the start time for the task and click Next.
9 (Optional) Specify one or more email addresses to send the results to and click Next.
You must configure mail settings for the vCenter Server system to enable this option.
The scan task is listed in the Scheduled Tasks view of the vSphere Client.
Supported groups of virtual machines, appliances, or ESX/ESXi hosts include virtual infrastructure container
objects such as folders, vApps, clusters, and datacenters.
Baselines and baseline groups interact with virtual machines, virtual appliances, templates, and hosts in the
following ways:
n Objects must have an attached baseline or baseline group to be examined for compliance information.
n Compliance with baselines and baseline groups is assessed at the time of viewing, so a brief pause might
occur while information is gathered to make sure that all information is current.
n Compliance status is displayed based on privileges. Users with the privilege to view a container, but not
all the contents of the container are shown the aggregate compliance of all objects in the container. If a
user does not have permission to view an object, its contents, or a particular virtual machine, the results
of those scans are not displayed. To view the compliance status, the user must also have the privilege to
view compliance status for an object in the inventory. Users that have privileges to remediate against
patches, extensions, and upgrades and to stage patches and extensions on a particular inventory object,
can view the compliance status of the same object even if they do not have the view compliance privilege.
For more information about the Update Manager privileges, see “Update Manager Privileges,” on
page 81. For more information about managing users, groups, roles and permissions, see vCenter Server
and Host Management.
In the vSphere infrastructure hierarchy, the baseline and baseline groups you attach to container objects are
also attached to the child objects. Consequently, the computed compliance state is also inherited. For example,
a baseline or baseline group attached to a folder is inherited by all objects in the folder (including subfolders),
but the status of inherited baselines or baseline groups propagates upwards, from the contained objects to the
folder. Consider a folder that contains two objects A and B. If you attach a baseline (baseline 1) to the folder,
both A and B inherit baseline 1. If the baseline state is noncompliant for A and compliant for B, the overall state
of baseline 1 against the folder is non-compliant. If you attach another baseline (baseline 2) to B, and baseline
2 is incompatible with B, the overall status of the folder is incompatible.
NOTE After a download of patch recall notifications, Update Manager flags recalled patches but their
compliance state does not refresh automatically. You must perform a scan to view the updated compliance
state of patches affected by the recall.
When you select a container object, you view the overall compliance status of the attached baselines, as well
as all the individual compliance statuses. If you select an individual baseline attached to the container object,
you see the compliance status of the baseline.
If you select an individual virtual machine, appliance, or host, you see the overall compliance status of the
selected object against all attached baselines and the number of updates. If you further select an individual
baseline attached to this object, you see the number of updates grouped by the compliance status for that
baseline.
Procedure
1 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered and
select Home > Inventory in the navigation bar.
2 Select the type of object for which you want to view compliance information.
4 Click the Update Manager tab to view the scan results and compliance states.
Procedure
1 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered and
select Home > Inventory in the navigation bar.
2 Select the type of object for which you want to view scan results.
3 Select an individual object from the inventory, such as a virtual machine, virtual appliance, or host.
6 In the Compliance pane, select the All Applicable compliance status to view the overall compliance status
of the selected object.
The selected object together with the number of patches, upgrades, and extensions (if the selected object
is a host) appear in the bottom pane of the Update Manager tab.
7 Click a number link in the bottom pane to see more details about updates.
a Click the link in the Patches column in the bottom pane of the Update Manager tab.
The link indicates the number of patches in the selected compliance state.
b Click the link in the Upgrades column in the bottom pane of the Update Manager tab.
The link indicates the number of upgrades in the selected compliance state.
c Click the link in the Extensions column in the bottom pane of the Update Manager tab.
The link indicates the number of Extensions in the selected compliance state.
d Click the link in the Change log column in the bottom pane of the Update Manager tab.
The link is available only if the upgrade in the baseline is applicable to the selected virtual appliance.
Compliance View
Information about the compliance states of selected vSphere inventory objects against baselines and baseline
groups you attach is displayed in the Update Manager Client Compliance view.
Attached Baseline Groups Displays the baseline groups attached to the selected object. If you select All
Groups and Independent Baselines, all attached baselines in the Attached
Baselines pane are displayed. If you select an individual baseline group, only
the baselines in that group are displayed in the Attached Baselines pane.
Attached Baselines Displays the baselines attached to the selected object and included in the
selected baseline group.
Bottom pane The information in this pane depends on whether you select an individual
object or a container object.
If you select a container object, the bottom pane of the Update Manager tab
displays the following information:
n A list of virtual machines, appliances, or hosts that meet the selections from
the Attached Baseline Groups, Attached Baselines and Compliance panes.
n The overall compliance of the objects against the patches, extensions, or
upgrades included in the selected baselines and baseline groups.
If you select an individual object (such as virtual machine, appliance, or host),
the bottom pane of the Update Manager tab displays the following information:
n The number of patches, extensions, or upgrades included in the baseline
or baseline group that you select.
n The number of staged patches or extensions to a host.
n The overall compliance of the objects against the patches, extensions, or
upgrades included in the selected baselines and baseline groups.
Conflict The update conflicts with either an existing update on the host or another
update in the Update Manager patch repository. Update Manager reports the
type of conflict. A conflict does not indicate any problem on the target object.
It just means that the current baseline selection is in conflict. You can perform
scan, remediation, and staging operations. In most cases, you can take action
to resolve the conflict.
Conflicting New Module The host update is a new module that provides software for the first time, but
is in conflict with either an existing update on the host or another update in the
Update Manager repository. Update Manager reports the type of conflict. A
conflict does not indicate any problem on the target object. It just means that
the current baseline selection is in conflict. You can perform scan, remediation,
and staging operations. In most cases, you must take action to resolve the
conflict.
Incompatible Hardware The hardware of the selected object is incompatible or has insufficient resources
to support the update. For example, when you perform a host upgrade scan
against a 32-bit host or if a host has insufficient RAM.
Installed Installed compliance state indicates that the update is installed on the target
object, and no further user action is required.
Missing Missing compliance state indicates that the update is applicable to the target
object, but not yet installed. You must perform a remediation on the target
object with this update, so that the update becomes compliant.
Missing Package This state occurs when metadata for the update is in the depot but the
corresponding binary payload is missing. The reasons can be that the product
might not have an update for a given locale; the Update Manager patch
repository is deleted or corrupt, and Update Manager no longer has Internet
access to download updates; or you have manually deleted an upgrade
package from the Update Manager repository.
New Module New module compliance state indicates that the update is a new module. An
update in this compliance state cannot be installed when it is part of a host
patch baseline. When it is part of a host extension baseline, the new module
state signifies that the module is missing on the host and can be provisioned
by remediation. The compliance state of the baseline depends on the type of
baseline containing the update in new module state. If the baseline is a host
patch baseline, the overall status of the baseline is compliant. If the baseline is
a host extension baseline, the overall status of the baseline is not compliant.
Not Applicable Not applicable compliance state indicates that the patch is not applicable to the
target object. A patch might be in not applicable compliance state for one of the
following reasons:
n There are other patches in the Update Manager patch repository that
obsolete this patch.
n The update does not apply to the target object.
Not Installable The update cannot be installed. The scan operation might succeed on the target
object, but remediation cannot be performed.
Obsoleted By Host This compliance state applies mainly to patches. The target object has a newer
version of the patch. For example, if a patch has multiple versions, after you
apply the latest version to the host, the earlier versions of the patch are in
Obsoleted By Host compliance state.
Staged This compliance state applies to host patches and host extensions. It indicates
that the update is copied from the Update Manager repository to the host, but
is not yet installed. Staged compliance state might occur only when you scan
hosts running ESX/ESXi 4.0 and later.
Unknown A patch is in unknown state for a target object until Update Manager
successfully scans the object. A scan might not succeed if the target object is of
an unsupported version, if Update Manager lacks metadata, or if the patch
metadata is corrupt.
Unsupported Upgrade The upgrade path is not possible. For example, the current hardware version
of the virtual machine is greater than the highest version supported on the host.
Compliant
Compliant state indicates that a vSphere object is compliant with all baselines in an attached baseline group
or with all patches, extensions, and upgrades in an attached baseline. Compliant state requires no further action.
If a baseline contains patches or upgrades that are not relevant to the target object, the individual updates, and
baselines or baseline groups that contain them, are treated as not applicable, and represented as compliant.
Compliant are also hosts with attached patch baselines containing extensions or patches in Obsoleted By Host
state.
Non-Compliant
Non-compliant state indicates that one or more baselines in a baseline group, or one or more patches,
extensions, or upgrades in a baseline are applicable to the target object, but are not installed (missing) on the
target. You must remediate the target object to make it compliant.
When a baseline contains a non-compliant update, the overall status of the baseline is non-compliant. When a
baseline group contains a non-compliant baseline, the overall status of the baseline group is non-compliant.
The non-compliant state takes precedence over incompatible, unknown, and compliant states.
Unknown
When you attach a baseline or a baseline group to a vSphere object, and you do not scan the object, the state
of the vSphere object against the baseline or baseline group is Unknown. This state indicates that a scan
operation is required, that the scan has failed, or that you initiated a scan on an unsupported platform (for
example, you performed a VMware Tools scan on a virtual machine running on an ESX 3.5 host).
When a baseline contains updates in compliant and unknown states, the overall status of the baseline is
unknown. When a baseline group contains unknown baselines as well as compliant baselines, the overall status
of the baseline group is unknown. The unknown compliance state takes precedence over compliant state.
Incompatible
Incompatible state requires attention and further action. You must determine the reason for incompatibility
by probing further. You can remediate the objects in this state, but there is no guarantee that the operation will
succeed. In most cases Update Manager provides sufficient details for incompatibility. For more information
about incompatible compliance state, see “Incompatible Compliance State,” on page 179.
When a baseline contains updates in incompatible, compliant, and unknown states, the overall status of the
baseline is incompatible. When a baseline group contains incompatible, unknown, and compliant baselines,
the overall status of the baseline group is incompatible. The incompatible compliance state takes precedence
over compliant and unknown compliance states.
The compliance summary above the table in the Patch Details window represents the number of the applicable
patches, missing patches (noncompliant), compliant patches, staged patches, and so on. If any of the patches
are in the incompatible state, the compliance summary displays a detailed view of the incompatible patches.
Incompatibility might be a result of a conflict, missing update packages, and so on.
You can obtain complete information about a patch by double-clicking a patch in the Patch Details window.
Compliance Compliance status of the patch. The state might be Missing (Non-Compliant), Not
Applicable, Unknown, Installed (Compliant), and so on.
Severity Severity of the update. For hosts, the severity status might be Critical, General, Security,
and so on. For virtual machines, the severity might be Critical, Important, Moderate, and
so on.
Category Category of the update. The category might be Security, Enhancement, Recall, Info, Other,
and so on.
Impact The action that you must take to apply the update. This action might include rebooting
the system or putting the host into maintenance mode.
You can obtain complete information about an extension by double-clicking an extension in the Extension
Details window.
Compliance Compliance status of the patch. The state might be Missing (Non-Compliant), Not
Applicable, Unknown, Installed (Compliant), and so on.
Severity Severity of the update. For hosts, the severity status might be Critical, General, Security,
and so on. For virtual machines, the severity might be Critical, Important, Moderate, and
so on.
Category Category of the update. The category might be Security, Enhancement, Recall, Info, Other,
and so on.
Impact The action that you must take to apply the update. This action might include rebooting
the system or putting the host into maintenance mode.
Baseline Description Description of the baseline. If the baseline has no description, it is not displayed.
Compliance State Compliance status for the upgrade. It represents a comparison between the state of
the selected object and the upgrade baseline.
Acceptance level Acceptance level of the ESXi image and included software packages. ESXi images
can be either Signed or Unsigned, indicating their level of acceptance by VMware.
Software packages included in ESXi images have the following acceptance levels:
VMware Accepted The package has gone through a less rigorous acceptance
test program that only verifies that the package does not
destabilize the system, and is signed by VMware with a
private key. The test regimen does not validate the proper
functioning of the feature. VMware support will hand off
support calls directly to the partner.
Partner Supported The partner has signed an agreement with VMware and
has demonstrated a sound test methodology. VMware
provides a signed private/public key pair to the partner to
use for self-signing their packages. VMware support will
hand off support calls directly to the partner.
Table 12-5. VMware Tools and Virtual Machine Hardware Upgrade Details Window
Option Description
Baseline Type Type of the baseline. The values can be VMware Tools upgrade or virtual machine
hardware upgrade.
Compliance State Compliance status for the upgrade. It represents a comparison between the state of
the selected object and the upgrade baseline.
Reference URL URL location that provides a detailed description of the change, such as a link to a
knowledge base article.
Introduced in Version of the virtual appliance in which the change was introduced.
Messages that Update Manager provides correspond to error or warning codes from running the host upgrade
precheck script.
For interactive installations, upgrades, and migrations performed by using the ESXi installer, the errors or
warnings from the precheck script are displayed on the final panel of the installer, where you are asked to
confirm or cancel the installation or upgrade. For scripted installations, upgrades, or migrations, the errors or
warnings are written to the installation log.
Update Manager provides scan result messages in the Upgrade Details window for errors or warnings from
the precheck script. To see the original errors and warnings returned by the precheck script during an Update
Manager host upgrade scan operation, review the Update Manager log file C:\Documents and Settings\All
Users\Application Data\VMware\VMware Update Manager\Logs\vmware-vum-server-log4cpp.log.
Table 12-7. Scan Result Messages and Corresponding Error and Warning Codes
Scan Result Message in Update Manager Description
Host CPU is unsupported. New ESXi version This meesage appears if the the host processor is 32-bit and
requires a 64-bit CPU with support for LAHF/SAHF does not support required features.
instructions in long mode. The corresponding error code is 64BIT_LONGMODESTATUS.
Trusted boot is enabled on the host but the This message indicates that the host upgrade scan did not
upgrade does not contain the software package locate the esx-tboot VIB on the upgrade ISO.
esx-tboot. Upgrading the host will remove the The corresponding error code is TBOOT_REQUIRED
trusted boot feature.
The root password is encrypted with DES This message applies only to migrations from ESX to ESXi.
encryption, causing it to be authenticated up to This test checks whether the root password is encoded by
only 8 characters. For instructions on how to using the MD5 algorithm. On ESX 4.1 hosts, passwords
correct this, see VMware KB at encrypted by using the DES algorithm are limited to eight
http://kb.vmware.com/kb/1024500. symbols. For improved security, you should configure your
hosts to use longer passwords.
The corresponding error code is MD5_ROOT_PASSWORD.
VMkernel and Service Console network interfaces Warning. An IPv4 address was found on an enabled Service
are sharing the same subnet subnet_name. This Console virtual NIC for which there is no corresponding
configuration is not supported after upgrade. address in the same subnet in the vmkernel. A separate
Only one interface should connect to subnet warning will be output for each such occurrence.
subnet_name. The corresponding error code is COS_NETWORKING.
New ESXi version requires a minimum of The host must have at least two cores.
core_count processor cores. The corresponding error code is CPU_CORES.
Table 12-7. Scan Result Messages and Corresponding Error and Warning Codes (Continued)
Scan Result Message in Update Manager Description
Processor does not support hardware Host performance might be impaired if the host processor
virtualization or it is disabled in BIOS. does not support hardware virtualization or if hardware
Virtual machine performance may be slow. virtualization is not turned on in the host BIOS. Enable
hardware virtualization in the host machine boot options.
See your hardware vendor's documentation.
The corresponding error code is
HARDWARE_VIRTUALIZATION.
Insufficient memory, minimum size_in_MB required The host requires the specified amount of memory to
for upgrade. upgrade.
The corresponding error code is MEMORY_SIZE.
Host upgrade validity checks for file_name are This test checks whether the precheck script itself can be run.
not successful. The corresponding error code is PRECHECK_INITIALIZE.
The host partition layout is not suitable for Upgrading or migration is possible only if there is at most
upgrade. one VMFS partition on the disk that is being upgraded and
the VMFS partition starts after sector 1843200.
The corresponding error code is PARTITION_LAYOUT.
The host does not have sufficient space on boot The ESX host disk must have enough free space to store the
partition to store the upgrade image. A minimum contents of the installer DVD.
of size_in_MB is required. Retry after freeing The corresponding error code is SPACE_AVAIL_ISO.
up sufficient space or perform a CD-based
installation.
Cannot create a ramdisk of size size_in_MB to The ESXi host disk must have enough free space to store the
store the upgrade image. Check if the host has contents of the installer DVD.
sufficient memory. The corresponding error code is SPACE_AVAIL_ISO.
The host does not have sufficient free space on The host disk must have enough free space to store the
a local VMFS datastore to back up current host ESX/ESXi 4.x configuration between reboots.
configuration. A minimum of size_in_MB is The corresponding error code is SPACE_AVAIL_CONFIG.
required.
The upgrade is not supported for current host Upgrading or migration to ESXi 5.0 is possible only from
version. ESX/ESXi 4.x hosts.
The corresponding error code is SUPPORTED_ESX_VERSION.
Unsupported devices device_name found on the The script checks for unsupported devices. Some PCI devices
host. are not supported with ESXi 5.0.
The corresponding error code is UNSUPPORTED_DEVICES.
Host software configuration requires a reboot. To ensure a good bootbank for the upgrade, you must reboot
Reboot the host and try upgrade again. the hosts before remediation.
The corresponding error code is UPDATE_PENDING.
Table 12-7. Scan Result Messages and Corresponding Error and Warning Codes (Continued)
Scan Result Message in Update Manager Description
In an environment with Cisco Nexus 1000V Distributed If Cisco's Virtual Ethernet Module (VEM) software is found
Virtual Switch, Update Manager displays different messages on the host, the precheck script checks if the software is part
in different situations. For details, see “Host Upgrade Scan of the upgrade as well, and that the VEM supports the same
Messages When Cisco Nexus 1000V Is Present,” on version of the Virtual Supervisor Module (VSM) as the
page 114. existing version on the host. If the software is missing or is
compatible with a different version of the VSM, the script
returns a warning and the scan result indicates the version
of the VEM software that was expected on the upgrade ISO,
and the version, if any, that was found on the ISO.
The corresponding error code is
DISTRIBUTED_VIRTUAL_SWITCH.
The host uses an EMC PowerPath multipathing The script checks for installation of EMC PowerPath
module file_name to access storage. The host software, consisting of a CIM module and a kernel module.
will not be able to access such storage after If either of these components is found on the host, the script
upgrade. verifies that matching components (CIM, VMkernel module)
also exist in the upgrade. If they do not, the script returns a
warning that indicates which PowerPath components were
expected on the upgrade ISO and which, if any, were found.
The corresponding error code is POWERPATH.
Update Manager supports Cisco Nexus 1000V, a virtual access software switch that works with VMware
vSphere and consists of two components.
Virtual Supervisor The control plane of the switch and a virtual machine that runs NX-OS.
Module (VSM)
Update Manager determines whether a host is managed by Cisco Nexus 1000V. Update Manager verifies
whether Cisco Nexus 1000V VEM VIBs in the ESXi upgrade image are compatible with the Cisco Nexus 1000V
VSM managing the host.
By using vSphere ESXi Image Builder, you can create custom ESXi images, which contain third-party VIBs that
are required for a successful remediation operation.
Table 12-8. Host Upgrade Scan Messages for the Cisco Nexus 1000V network switch
Host Upgrade Scan Message Description
The upgrade does not contain any Cisco Nexus A VEM VIB is not available on the ESXi 5.x upgrade image.
1000V software package that is compatible with
the Cisco Nexus 1000V software package on the
host. Upgrading the host will remove the feature
from the host.
The host is currently added to a Cisco Nexus The VEM VIB on the ESXi 5.x upgrade image is not
1000V virtual network switch. The upgrade compatible with the version of the VSM.
contains a Cisco Nexus 1000V software package
VIB_name that is incompatible with the Cisco
Nexus 1000V VSM. Upgrading the host will remove
the feature from the host.
Table 12-8. Host Upgrade Scan Messages for the Cisco Nexus 1000V network switch (Continued)
Host Upgrade Scan Message Description
The host is currently added to a Cisco Nexus The host and the image do not contain VEM VIBs, but the
1000V virtual network switch. The upgrade does host is still listed in vCenter Server as managed by Cisco
not contain any Cisco Nexus 1000V software Nexus 1000V.
package that is compatible with the Cisco Nexus
1000V VSM. Upgrading the host will remove the
feature from the host.
Cannot determine whether the upgrade breaks There was a problem with determining compatibility
Cisco Nexus 1000V virtual network switch feature between the VEM VIB on the ESXi 5.x upgrade image and
on the host. If the host does not have the the VSM. Check whether the version of the VSM managing
feature, you can ignore this warning. the host is certified as being compatible with vCenter Server
5.x and ESXi 5.x.
VMware Tools version is The VMware Tools version is recent and Compliant
compliant. supported.
Remediation is not required.
VMware Tools is installed, but the A serious issue is present in the VMware Non-Compliant
installed version has a known Tools version that is installed on the
issue and should be immediately machine.
upgraded. You must remediate the virtual machine
against a VMware Tools upgrade baseline.
VMware Tools is installed, but the The existing newer version might cause Non-Compliant
version is too new to work problems on the virtual machine.
correctly with this virtual You must remediate the virtual machine
machine. against a VMware Tools upgrade baseline,
to downgrade to a supported version.
VMware Tools is installed, but the The VMware Tools version is no longer Non-Compliant
version is too old. supported.
You must remediate the virtual machine
against a VMware Tools upgrade baseline.
VMware Tools is not installed. VMware Tools is not present on the virtual Incompatible
machine.
You must install VMware Tools by using the
vSphere Client.
Status is empty. The virtual machine has not been scanned. Unknown
If your vCenter Server is part of a connected group in vCenter Linked Mode, you can remediate only the
inventory objects managed by the vCenter Server system with which Update Manager is registered.
To remediate vSphere objects, you need the Remediate to Apply Patches, Extensions, and Upgrades privilege.
For more information about managing users, groups, roles, and permissions, see the vCenter Server and Host
Management. For a list of Update Manager privileges and their descriptions, see “Update Manager
Privileges,” on page 81.
You can perform an orchestrated upgrade at the level of a container object or an individual object.
If the baseline group contains an upgrade baseline, Update Manager first upgrades the hosts and then applies
the patch or extension baselines. Because the upgrade runs first and patches are applicable to a specific host
version, the orchestrated workflow ensures that patches are not lost during the upgrade.
Upgrading the virtual hardware of the virtual machines exposes new devices and capabilities to the guest
operating systems. You must upgrade VMware Tools before upgrading the virtual hardware version so that
all required drivers are updated in the guest. You cannot upgrade the virtual hardware of the virtual machines
if VMware Tools is not installed, is out of date, or is managed by third-party tools.
When you upgrade virtual machines against a baseline group containing the VM Hardware Upgrade to Match
Host baseline and the VMware Tools Upgrade to Match Host baseline, Update Manager sequences the upgrade
operations in the correct order, and VMware Tools is upgraded first.
During the upgrade of VMware Tools, the virtual machines must be powered on. If a virtual machine is in the
powered off or suspended state before remediation, Update Manager powers it on. After the upgrade
completes, Update Manager restarts the machine and restores the original power state of the virtual machine.
During the virtual hardware upgrade, the virtual machines must be shut down. If a virtual machine is powered
on, Update Manager powers the machine off, upgrades the virtual hardware, and then powers the virtual
machine on.
Remediating Hosts
Host remediation runs in different ways depending on the types of baselines you attach and whether the host
is in a cluster or not.
When you remediate a cluster of hosts sequentially and one of the hosts fails to enter maintenance mode,
Update Manager reports an error, and the process stops and fails. The hosts in the cluster that are remediated
stay at the updated level. The ones that are not remediated after the failed host remediation are not updated.
If a host in a DRS enabled cluster runs a virtual machine on which Update Manager or vCenter Server are
installed, DRS first attempts to migrate the virtual machine running vCenter Server or Update Manager to
another host, so that the remediation succeeds. In case the virtual machine cannot be migrated to another host,
the remediation fails for the host, but the process does not stop. Update Manager proceeds to remediate the
next host in the cluster.
The host upgrade remediation of ESX/ESXi hosts in a cluster proceeds only if all hosts in the cluster can be
upgraded.
Remediation of hosts in a cluster requires that you temporarily disable cluster features such as VMware DPM
and HA admission control. You should also turn off FT if it is enabled on any of the virtual machines on a host,
and disconnect the removable devices connected to the virtual machines on a host, so that they can be migrated
with vMotion. Before you start a remediation process, you can generate a report that shows which cluster, host,
or virtual machine has the cluster features enabled. For more information, see “Cluster Remediation Options
Report,” on page 129.
When you remediate a cluster of hosts in parallel, Update Manager remediates multiple hosts concurrently.
During parallel remediation, if Update Manager encounters an error when remediating a host, it ignores the
host and the remediation process continues for the other hosts in the cluster. Update Manager continuously
evaluates the maximum number of hosts it can remediate concurrently without disrupting DRS settings. You
can limit the number of concurrently remediated hosts to a specific number.
For multiple clusters under a datacenter, the remediation processes run in parallel. If the remediation process
fails for one of the clusters within a datacenter, the remaining clusters are still remediated.
Host upgrade in a high-latency network in which Update Manager and the hosts are at different locations
might take a few hours because the upgrade file is copied from the Update Manager server repository to the
host before the upgrade. During this time, the host stays in maintenance mode.
IMPORTANT After you have upgraded or migrated your host to ESXi 5.x, you cannot roll back to your version
4.x ESX or ESXi software. Back up your host configuration before performing an upgrade or migration. If the
upgrade or migration fails, you can reinstall the 4.x ESX or ESXi software that you upgraded or migrated from,
and restore your host configuration. For more information about backing up and restoring your ESX/ESXi
configuration, see vSphere Upgrade.
Update Manager 5.0 supports only upgrade from ESXi 4.x to ESXi 5.x and migration from ESX 4.x to
ESXi 5.x. You cannot use Update Manager to upgrade a host to ESXi 5.0 if the host was upgraded from ESX
3.x to ESX 4.x. Such hosts do not have sufficient free space in the /boot partition to support the Update Manager
upgrade process. Use a scripted or interactive upgrade instead.
During patch remediation, Update Manager automatically installs the prerequisites of patches.
With Update Manager 5.0, you can remediate hosts of version ESX/ESXi 4.x and ESXi 5.0 against offline bundles
that you have imported manually.
If there is any additional software installed on the PXE booted ESXi host, the software might be lost if the host
restarts. You should update your image profile with the additional software so that it will be present after the
reboot.
IMPORTANT Update Manager does not remediate PXE booted ESXi hosts of version 4.x.
In the ESX 3.5 patch remediation process, cumulative rollups and updates are considered patches. If a rollup
contains two patches installed on the host, the state of the host is noncompliant against the rollup until the
rollup itself is installed on the host.
In the ESX 4.x patch remediation process, Update Manager operates with VIBs (.vib files). A VIB is the smallest
installable unit on an ESX 4.x host. A bulletin defines a specific fix for a host, a rollup that aggregates previous
fixes, or an update release. When a host is compliant with all bundles in a bulletin, it is compliant with the
vSphere bulletin that contains the bundles.
If a bundle depends on other bundles, Update Manager installs the necessary prerequisite bundles during the
remediation process. As a result, the number of patches after staging and remediation might be greater than
the number of patches that you selected for staging or remediation. For example, when you stage or remediate
a host against a baseline consisting of a bulletin that contains bundle A, and bundle A requires bundle B (bundle
B is not part of the bulletin), both bundles get staged or installed. In such a case, the patch count for staged or
installed patches is two, not one.
Update Manager 5.0 supports only upgrade from ESXi 4.x to ESXi 5.x and migration from ESX 4.x to
ESXi 5.x. You cannot use Update Manager to upgrade a host to ESXi 5.0 if the host was upgraded from ESX
3.x to ESX 4.x. Such hosts do not have sufficient free space in the /boot partition to support the Update Manager
upgrade process. Use a scripted or interactive upgrade instead.
The ESXi image on the host maintains two copies. The first copy is in the active boot and the second one is in
the standby boot. When you patch an ESXi host, Update Manager creates a new image based on the content
of the active boot and the content of the patch. The new ESXi image is then located in the standby boot and
Update Manager designates the active boot as the standby boot and reboots the host. When the ESXi host
reboots, the active boot contains the patched image and the standby boot contains the previous version of the
ESXi host image.
When you upgrade an ESXi host, Update Manager replaces the backup image of the host with the new image
and replaces the active boot and the standby boot. During the upgrade, the layout of the disk hosting the boots
changes. The total disk space for an ESXi host remains 1GB, but the disk partition layout within that 1GB disk
space changes to accommodate the new size of the boots where the ESXi 5.0 images will be stored.
For purposes of rollback, the term update refers to all ESXi patches, updates, and upgrades. Each time you
update an ESXi host, a copy of the previous ESXi build is saved on your host.
If an update fails and the ESXi 5.0 host cannot boot from the new build, the host reverts to booting from the
original boot build. ESXi permits only one level of rollback. Only one previous build can be saved at a time.
In effect, each ESXi 5.0 host stores up to two builds, one boot build and one standby build.
Remediation of ESXi hosts from version 4.0 to 4.0.x is a patching process, while the remediation from version
4.x to 5.0 is considered an upgrade.
You cannot directly migrate third-party solutions as part of a host upgrade. Architectural changes between
ESX/ESXi 4.x and ESXi 5.0 and VIB forward incompatibility result in the loss of third-party components and
possible system instability. To accomplish such migrations, you can create a custom ISO file with Image Builder.
For information about upgrading with third-party customizations, see the vSphere Upgrade documentation. For
information about using Image Builder to make a custom ISO, see the vSphere Installation and Setup
documentation.
You can remove installed third-party solutions by using the Update Manager Remediate wizard.
To discover potential problems with third-party software before an upgrade or migration operation, scan the
hosts against an upgrade baseline and review the scan messages in the Update Manager Compliance view.
See “Host Upgrade Scan Messages in Update Manager,” on page 112 and “Host Upgrade Scan Messages When
Cisco Nexus 1000V Is Present,” on page 114.
You can reduce the downtime during remediation, by staging patches and extensions whose installation
requires that a host enters maintenance mode. Staging patches and extensions itself does not require that the
hosts enter maintenance mode.
Patches cannot be staged if they are obsoleted by patches in the baselines or baseline groups for the same stage
operation. Update Manager stages only patches that it can install in a subsequent remediation process, based
on the present scan results of the host. If a patch is obsoleted by patches in the same selected patch set, the
obsoleted patch is not staged.
If a patch is in conflict with the patches in the Update Manager patch repository and is not in conflict with the
host, after a scan, Update Manager reports this patch as a conflicting one. You can stage the patch to the host
and after the stage operation, Update Manager reports this patch as staged.
During the stage operation, Update Manager performs prescan and postscan operations, and updates the
compliance state of the baseline.
After you stage patches or extensions to hosts, you should remediate the hosts against all staged patches or
extensions.
After a successful remediation of hosts, the host deletes all staged patches or extensions from its cache
regardless of whether they were applied during the remediation. The compliance state of patches or extensions
that were staged but not applied to the to the hosts reverts from Staged to its previous value.
IMPORTANT Staging patches and extensions is supported for hosts that are running ESX/ESXi 4.0 and later. You
can stage patches to PXE booted ESXi 5.0 hosts, but if the host is restarted prior to remediation, the staged
patches will be lost and you will have to stage them again.
Prerequisites
To stage patches or extensions to hosts, first attach a patch or extension baseline or a baseline group containing
patches and extensions to the host.
To stage patches or extensions to ESX/ESXi hosts, you need the Stage Patches and Extensions privilege. For
more information about managing users, groups, roles, and permissions, see vCenter Server and Host
Management. For a list of Update Manager privileges and their descriptions, see “Update Manager
Privileges,” on page 81.
Procedure
1 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered and
select Home > Inventory > Hosts and Clusters in the navigation bar.
3 On the Baseline Selection page of the Stage wizard, select the patch and extension baselines to stage.
4 Select the hosts where patches and extensions will be applied and click Next.
If you select to stage patches and extensions to a single host, it is selected by default.
5 (Optional) Deselect the patches and extensions to exclude from the stage operation.
6 (Optional) To search within the list of patches and extensions, enter text in the text box in the upper-right
corner.
7 Click Next.
The number of the staged patches and extensions for the specific host is displayed in the Patches and Extensions
columns in the bottom pane of the Update Manager tab.
After a remediation is successfully completed, all staged patches and extensions, whether installed or not
during the remediation, are deleted from the host.
The remediation process for host extension baselines is similar to the remediation process for host patch
baselines. You can remediate a host against a single baseline or multiple baselines of the same type. To
remediate against baselines of different types, you must create a baseline group. For more information about
remediating hosts against baseline groups containing host upgrade, patch, and extension baselines, see
“Remediate Hosts Against Baseline Groups,” on page 127.
Prerequisites
Before remediating a host against patch or extension baselines, ensure that a baseline is attached to the host.
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered. If your
vCenter Server system is a part of a connected group in vCenter Linked Mode, specify the Update Manager
instance by selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Home page of the vSphere Client, select Hosts and Clusters and click the Update Manager tab.
2 Right-click the inventory object you want to remediate and select Remediate.
If you select a container object, all hosts under the selected object are remediated.
3 On the Remediation Selection page of the Remediate wizard, select the baseline group and baselines to
apply.
4 (Optional) Select the hosts that you want to remediate and click Next.
If you have chosen to remediate a single host and not a container object, the host is selected by default.
5 (Optional) On the Patches and Extensions page, deselect specific patches or extensions to exclude them
from the remediation process, and click Next.
6 (Optional) On the Dynamic Patches and Extensions to Exclude page, review the list of patches or
extensions to be excluded and click Next.
7 On the Schedule page, specify a unique name and an optional description for the task.
8 Select Immediately to begin the process immediately after you complete the wizard, or specify a time for
the remediation process to begin, and click Next.
9 On the Host Remediation Options page, from the Power state drop-down menu, you can select the change
in the power state of the virtual machines and virtual appliances that are running on the hosts to be
remediated.
Option Description
Power Off virtual machines Power off all virtual machines and virtual appliances before remediation.
Suspend virtual machines Suspend all running virtual machines and virtual appliances before
remediation.
Do Not Change VM Power State Leave virtual machines and virtual appliances in their current power state.
A host cannot enter maintenance mode until virtual machines on the host
are powered off, suspended, or migrated with vMotion to other hosts in a
DRS cluster.
Some updates require that a host enters maintenance mode before remediation. Virtual machines and
appliances cannot run when a host is in maintenance mode.
To reduce the host remediation downtime at the expense of virtual machine availability, you can choose
to shut down or suspend virtual machines and virtual appliances before remediation. In a DRS cluster, if
you do not power off the virtual machines, the remediation takes longer but the virtual machines are
available during the entire remediation process, because they are migrated with vMotion to other hosts.
10 (Optional) Select Retry entering maintenance mode in case of failure, specify the number of retries, and
specify the time to wait between retries.
Update Manager waits for the retry delay period and retries putting the host into maintenance mode as
many times as you indicate in Number of retries field.
11 (Optional) Select Disable any removable media devices connected to the virtual machine on the host.
Update Manager does not remediate hosts on which virtual machines have connected CD, DVD, or floppy
drives. In cluster environments, connected media devices might prevent vMotion if the destination host
does not have an identical device or mounted ISO image, which in turn prevents the source host from
entering maintenance mode.
After remediation, Update Manager reconnects the removable media devices if they are still available.
12 (Optional) Select the check box under ESXi 5.x Patch Settings to enable Update Manager to patch powered
on PXE booted ESXi hosts.
This option appears only when you remediate hosts against patch or extension baselines.
13 Click Next.
The Cluster Remediation Options page is available only when you remediate hosts in a cluster.
Option Details
Disable Distributed Power Update Manager does not remediate clusters with active DPM.
Management (DPM) if it is enabled for DPM monitors the resource use of the running virtual machines in the
any of the selected clusters. cluster. If sufficient excess capacity exists, DPM recommends moving virtual
machines to other hosts in the cluster and placing the original host into
standby mode to conserve power. Putting hosts into standby mode might
interrupt remediation.
Disable High Availability admission Update Manager does not remediate clusters with active HA admission
control if it is enabled for any of the control.
selected clusters. Admission control is a policy used by VMware HA to ensure failover
capacity within a cluster. If HA admission control is enabled during
remediation, the virtual machines within a cluster might not migrate with
vMotion.
Disable Fault Tolerance (FT) if it is If FT is turned on for any of the virtual machines on a host, Update Manager
enabled for the VMs on the selected does not remediate that host.
hosts. For FT to be enabled, the hosts on which the Primary and Secondary virtual
machines run must be of the same version and must have the same patches
installed. If you apply different patches to these hosts, FT cannot be re-
enabled.
Enable parallel remediation for the Remediate hosts in clusters in a parallel manner. If the setting is not selected,
hosts in the selected clusters. Update Manager remediates the hosts in a cluster sequentially.
By default, Update Manager continuously evaluates the maximum number
of hosts it can remediate concurrently without disrupting DRS settings. You
can limit the number of concurrently remediated hosts to a specific number.
NOTE Update Manager remediates concurrently only the hosts on which
virtual machines are powered off or suspended. You can choose to power
off or suspend virtual machines from the Power State menu in the
Maintenance Mode Settings pane on the Host Remediation Options page.
Migrate powered off and suspended Update Manager migrates the suspended and powered off virtual machines
virtual machines to other hosts in the from hosts that must enter maintenance mode to other hosts in the cluster.
cluster, if a host must enter You can choose to power off or suspend virtual machines before remediation
maintenance mode. in the Maintenance Mode Settings pane.
15 (Optional) Generate a cluster remediation options report by clicking Generate Report on the Cluster
Remediation Options page and click Next.
Update Manager 5.0 supports only upgrade from ESXi 4.x to ESXi 5.x and migration from ESX 4.x to
ESXi 5.x. You cannot use Update Manager to upgrade a host to ESXi 5.0 if the host was upgraded from ESX
3.x to ESX 4.x. Such hosts do not have sufficient free space in the /boot partition to support the Update Manager
upgrade process. Use a scripted or interactive upgrade instead.
To upgrade or migrate hosts, use the ESXi installer image distributed by VMware with the name format VMware-
VMvisor-Installer-5.0.0-build_number.x86_64.iso or a custom image created by using Image Builder.
NOTE In case of an unsuccessful upgrade or migration from ESX/ESXi 4.x to ESXi 5.x, you cannot roll back to
your previous ESX/ESXi 4.x instance.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered. If your
vCenter Server system is a part of a connected group in vCenter Linked Mode, specify the Update Manager
instance by selecting the name of the corresponding vCenter Server system in the navigation bar.
To remediate a host against an upgrade baseline, attach the baseline to the host.
Review any scan messages in the Upgrade Details window for potential problems with hardware, third-party
software, and configuration issues that might prevent a successful upgrade or migration to ESXi 5.0. See “Host
Upgrade Scan Messages in Update Manager,” on page 112 and “Host Upgrade Scan Messages When Cisco
Nexus 1000V Is Present,” on page 114.
Procedure
1 On the Home page of the vSphere Client, select Hosts and Clusters and click the Update Manager tab.
2 Right-click the inventory object you want to remediate and select Remediate.
If you select a container object, all hosts under the selected object are remediated.
3 On the Remediation Selection page of the Remediate wizard, select the upgrade baseline to apply.
4 (Optional) Select the hosts that you want to remediate and click Next.
If you have chosen to remediate a single host and not a container object, the host is selected by default.
5 On the End User License Agreement page, accept the terms and click Next.
6 (Optional) On the ESXi 5.x Upgrade page, select the option to remove any installed third-party software
modules that are incompatible with the upgrade and to continue with the remediation.
In case any additional third-party modules installed on the hosts are incompatible with the upgrade, the
upgrade remediation does not succeed. To proceed and upgrade to ESXi 5.x your ESX/ESXi hosts that
contain third-party modules by using an ESXi image without the corresponding VIBs, you must choose
to remove the third-party software on the hosts.
7 Click Next.
8 On the Schedule page, specify a unique name and an optional description for the task.
9 Select Immediately to begin the process immediately after you complete the wizard, or specify a time for
the remediation process to begin, and click Next.
10 On the Host Remediation Options page, from the Power state drop-down menu, you can select the change
in the power state of the virtual machines and virtual appliances that are running on the hosts to be
remediated.
Option Description
Power Off virtual machines Power off all virtual machines and virtual appliances before remediation.
Suspend virtual machines Suspend all running virtual machines and virtual appliances before
remediation.
Do Not Change VM Power State Leave virtual machines and virtual appliances in their current power state.
A host cannot enter maintenance mode until virtual machines on the host
are powered off, suspended, or migrated with vMotion to other hosts in a
DRS cluster.
Some updates require that a host enters maintenance mode before remediation. Virtual machines and
appliances cannot run when a host is in maintenance mode.
To reduce the host remediation downtime at the expense of virtual machine availability, you can choose
to shut down or suspend virtual machines and virtual appliances before remediation. In a DRS cluster, if
you do not power off the virtual machines, the remediation takes longer but the virtual machines are
available during the entire remediation process, because they are migrated with vMotion to other hosts.
11 (Optional) Select Retry entering maintenance mode in case of failure, specify the number of retries, and
specify the time to wait between retries.
Update Manager waits for the retry delay period and retries putting the host into maintenance mode as
many times as you indicate in Number of retries field.
12 (Optional) Select Disable any removable media devices connected to the virtual machine on the host.
Update Manager does not remediate hosts on which virtual machines have connected CD, DVD, or floppy
drives. In cluster environments, connected media devices might prevent vMotion if the destination host
does not have an identical device or mounted ISO image, which in turn prevents the source host from
entering maintenance mode.
After remediation, Update Manager reconnects the removable media devices if they are still available.
13 Click Next.
The Cluster Remediation Options page is available only when you remediate hosts in a cluster.
Option Details
Disable Distributed Power Update Manager does not remediate clusters with active DPM.
Management (DPM) if it is enabled for DPM monitors the resource use of the running virtual machines in the
any of the selected clusters. cluster. If sufficient excess capacity exists, DPM recommends moving virtual
machines to other hosts in the cluster and placing the original host into
standby mode to conserve power. Putting hosts into standby mode might
interrupt remediation.
Disable High Availability admission Update Manager does not remediate clusters with active HA admission
control if it is enabled for any of the control.
selected clusters. Admission control is a policy used by VMware HA to ensure failover
capacity within a cluster. If HA admission control is enabled during
remediation, the virtual machines within a cluster might not migrate with
vMotion.
Disable Fault Tolerance (FT) if it is If FT is turned on for any of the virtual machines on a host, Update Manager
enabled for the VMs on the selected does not remediate that host.
hosts. For FT to be enabled, the hosts on which the Primary and Secondary virtual
machines run must be of the same version and must have the same patches
installed. If you apply different patches to these hosts, FT cannot be re-
enabled.
Option Details
Enable parallel remediation for the Remediate hosts in clusters in a parallel manner. If the setting is not selected,
hosts in the selected clusters. Update Manager remediates the hosts in a cluster sequentially.
By default, Update Manager continuously evaluates the maximum number
of hosts it can remediate concurrently without disrupting DRS settings. You
can limit the number of concurrently remediated hosts to a specific number.
NOTE Update Manager remediates concurrently only the hosts on which
virtual machines are powered off or suspended. You can choose to power
off or suspend virtual machines from the Power State menu in the
Maintenance Mode Settings pane on the Host Remediation Options page.
Migrate powered off and suspended Update Manager migrates the suspended and powered off virtual machines
virtual machines to other hosts in the from hosts that must enter maintenance mode to other hosts in the cluster.
cluster, if a host must enter You can choose to power off or suspend virtual machines before remediation
maintenance mode. in the Maintenance Mode Settings pane.
15 (Optional) Generate a cluster remediation options report by clicking Generate Report on the Cluster
Remediation Options page and click Next.
You can perform an orchestrated upgrade by using a host baseline group. The upgrade baseline in the baseline
group runs first, followed by patch and extension baselines.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered. If your
vCenter Server system is a part of a connected group in vCenter Linked Mode, specify the Update Manager
instance by selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Home page of the vSphere Client, select Hosts and Clusters and click the Update Manager tab.
2 Right-click the inventory object you want to remediate and select Remediate.
If you select a container object, all hosts under the selected object are remediated.
3 On the Remediation Selection page of the Remediate wizard, select the baseline group and baselines to
apply.
4 (Optional) Select the hosts that you want to remediate and click Next.
If you have chosen to remediate a single host and not a container object, the host is selected by default.
5 On the End User License Agreement page, accept the terms and click Next.
6 (Optional) On the ESXi 5.x Upgrade page, select the option to remove any installed third-party software
modules that are incompatible with the upgrade and to continue with the remediation.
In case any additional third-party modules installed on the hosts are incompatible with the upgrade, the
upgrade remediation does not succeed. To proceed and upgrade to ESXi 5.x your ESX/ESXi hosts that
contain third-party modules by using an ESXi image without the corresponding VIBs, you must choose
to remove the third-party software on the hosts.
7 Click Next.
8 (Optional) On the Patches and Extensions page, deselect specific patches or extensions to exclude them
from the remediation process, and click Next.
9 (Optional) On the Dynamic Patches and Extensions to Exclude page, review the list of patches or
extensions to be excluded and click Next.
10 On the Schedule page, specify a unique name and an optional description for the task.
11 Select Immediately to begin the process immediately after you complete the wizard, or specify a time for
the remediation process to begin, and click Next.
12 On the Host Remediation Options page, from the Power state drop-down menu, you can select the change
in the power state of the virtual machines and virtual appliances that are running on the hosts to be
remediated.
Option Description
Power Off virtual machines Power off all virtual machines and virtual appliances before remediation.
Suspend virtual machines Suspend all running virtual machines and virtual appliances before
remediation.
Do Not Change VM Power State Leave virtual machines and virtual appliances in their current power state.
A host cannot enter maintenance mode until virtual machines on the host
are powered off, suspended, or migrated with vMotion to other hosts in a
DRS cluster.
Some updates require that a host enters maintenance mode before remediation. Virtual machines and
appliances cannot run when a host is in maintenance mode.
To reduce the host remediation downtime at the expense of virtual machine availability, you can choose
to shut down or suspend virtual machines and virtual appliances before remediation. In a DRS cluster, if
you do not power off the virtual machines, the remediation takes longer but the virtual machines are
available during the entire remediation process, because they are migrated with vMotion to other hosts.
13 (Optional) Select Retry entering maintenance mode in case of failure, specify the number of retries, and
specify the time to wait between retries.
Update Manager waits for the retry delay period and retries putting the host into maintenance mode as
many times as you indicate in Number of retries field.
14 (Optional) Select Disable any removable media devices connected to the virtual machine on the host.
Update Manager does not remediate hosts on which virtual machines have connected CD, DVD, or floppy
drives. In cluster environments, connected media devices might prevent vMotion if the destination host
does not have an identical device or mounted ISO image, which in turn prevents the source host from
entering maintenance mode.
After remediation, Update Manager reconnects the removable media devices if they are still available.
15 (Optional) Select the check box under ESXi 5.x Patch Settings to enable Update Manager to patch powered
on PXE booted ESXi hosts.
This option appears only when you remediate hosts against patch or extension baselines.
16 Click Next.
The Cluster Remediation Options page is available only when you remediate hosts in a cluster.
Option Details
Disable Distributed Power Update Manager does not remediate clusters with active DPM.
Management (DPM) if it is enabled for DPM monitors the resource use of the running virtual machines in the
any of the selected clusters. cluster. If sufficient excess capacity exists, DPM recommends moving virtual
machines to other hosts in the cluster and placing the original host into
standby mode to conserve power. Putting hosts into standby mode might
interrupt remediation.
Disable High Availability admission Update Manager does not remediate clusters with active HA admission
control if it is enabled for any of the control.
selected clusters. Admission control is a policy used by VMware HA to ensure failover
capacity within a cluster. If HA admission control is enabled during
remediation, the virtual machines within a cluster might not migrate with
vMotion.
Disable Fault Tolerance (FT) if it is If FT is turned on for any of the virtual machines on a host, Update Manager
enabled for the VMs on the selected does not remediate that host.
hosts. For FT to be enabled, the hosts on which the Primary and Secondary virtual
machines run must be of the same version and must have the same patches
installed. If you apply different patches to these hosts, FT cannot be re-
enabled.
Enable parallel remediation for the Remediate hosts in clusters in a parallel manner. If the setting is not selected,
hosts in the selected clusters. Update Manager remediates the hosts in a cluster sequentially.
By default, Update Manager continuously evaluates the maximum number
of hosts it can remediate concurrently without disrupting DRS settings. You
can limit the number of concurrently remediated hosts to a specific number.
NOTE Update Manager remediates concurrently only the hosts on which
virtual machines are powered off or suspended. You can choose to power
off or suspend virtual machines from the Power State menu in the
Maintenance Mode Settings pane on the Host Remediation Options page.
Migrate powered off and suspended Update Manager migrates the suspended and powered off virtual machines
virtual machines to other hosts in the from hosts that must enter maintenance mode to other hosts in the cluster.
cluster, if a host must enter You can choose to power off or suspend virtual machines before remediation
maintenance mode. in the Maintenance Mode Settings pane.
18 (Optional) Generate a cluster remediation options report by clicking Generate Report on the Cluster
Remediation Options page and click Next.
You can generate a cluster remediation report when you create a remediation task for hosts that are contained
in a cluster. You generate the report from the Cluster Remediation Options page of the Remediate wizard.
A CD/DVD drive is attached. Disconnect the CD/DVD drive. Any CD/DVD drives or removable devices
connected to the virtual machines on a host might
prevent the host from entering maintenance mode.
When you start a remediation operation, the hosts
with virtual machines to which removable devices
are connected are not remediated.
A floppy drive is attached. Disconnect the floppy drive. Any floppy drives or removable devices connected
to the virtual machines on a host might prevent the
host from entering maintenance mode. When you
start a remediation operation, the hosts with virtual
machines to which removable devices are
connected are not remediated.
HA admission control prevents Disable HA admission control. HA admission control prevents migration of the
migration of the virtual virtual machines with vMotion and the hosts
machine. cannot enter maintenance mode. Disable HA
admission control on a cluster to make sure that
remediation is successful.
DPM is enabled on the cluster. Disable DPM on the cluster. DPM might put hosts into standby mode before or
during remediation and Update Manager cannot
remediate them. Disable DPM on a cluster to ensure
that the remediation process is successful.
EVC is disabled on the cluster. Enable EVC on the cluster. EVC helps ensure vMotion compatibility between
hosts in a cluster. When enabled on compatible
hosts, EVC ensures that all hosts in a cluster present
a common set of CPU features to virtual machines.
EVC must be enabled so that the virtual machines
are migrated successfully within the cluster during
remediation.
DRS is disabled on the cluster. Enable DRS on the cluster. DRS enables vCenter Server to automatically place
This prevents migration of the and migrate virtual machines on hosts to attain the
virtual machines. best use of cluster resources.
FT is enabled for a VM on a host Disable FT on the virtual machine. If FT is enabled on for any of the virtual machines
in the cluster. FT prevents on a host, Update Manager does not remediate that
successful remediation. host.
NOTE Update Manager 5.0 supports remediation of virtual appliances and vApps created with VMware Studio
2.0 and later.
To remediate virtual machines and virtual appliances together, they must be in one container, such as a folder,
vApp, or a datacenter. You must then attach a baseline group or a set of individual virtual appliance or virtual
machine baselines to the container. If you attach a baseline group, it can contain both virtual machine and
virtual appliance baselines. The virtual machine baselines apply to virtual machines only, and the virtual
appliance baselines apply to virtual appliances only.
During remediation, virtual appliances must be able to connect to the Update Manager server. Ensure that the
proxy configuration of virtual appliances lets them connect to the Update Manager server.
With Update Manager you can remediate templates. A template is a master copy of a virtual machine that can
be used to create and provision new virtual machines.
You can set up automatic upgrades of VMware Tools on power cycle for virtual machines. For more
information, see “Upgrade VMware Tools on Power Cycle,” on page 132.
NOTE Update Manager 5.0 does not support virtual machine patch baselines.
If a host is connected to vCenter Server by using an IPv6 address, you cannot scan and remediate virtual
machines and virtual appliances that run on the host.
Remediation of VMware vCenter Server Appliance is not supported. For more information about upgrading
the virtual appliance, see the vCenter Server upgrade documentation.
You can configure Update Manager to take snapshots of virtual machines and appliances and to keep them
indefinitely or for a specific period of time. After the remediation is completed, you can validate the remediation
and delete the snapshots if you do not need them.
NOTE When you upgrade VMware Tools on power cycle in selected virtual machines, Update Manager does
not take a snapshot of the virtual machines before remediation and you cannot roll back. Update Manager
does not take snapshots of fault tolerant virtual machines.
You can perform an orchestrated upgrade by using a virtual machine baseline group. The VMware Tools
upgrade baseline runs first, followed by the virtual machine hardware upgrade baseline.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered. If your
vCenter Server system is a part of a connected group in vCenter Linked Mode, specify the Update Manager
instance by selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 On the Home page of the vSphere Client , select VMs and Templates and click the Update Manager tab.
All virtual machines and appliances in the container are also remediated.
3 On the Remediation Selection page of the Remediate wizard, select the baseline group and upgrade
baselines to apply.
4 Select the virtual machines and appliances that you want to remediate and click Next.
5 On the Schedule page, specify a name and an optional description for the task.
6 Select Immediately to begin the remediation process immediately after you complete the wizard, or enter
specific times for powered on, powered off, or suspended virtual machines.
This option is active only when you perform an upgrade against a single Upgrade VMware Tools to Match
Host baseline. You can only enable VMware Tools upgrade on power cycle from the Remediate wizard,
but you cannot disable it. You can disable the setting by clicking the VMware Tools upgrade settings
button in the Update Manager Compliance view and deselecting the check box of a virtual machine in the
Edit VMware Tools upgrade settings window.
This option is not available if you selected to upgrade VMware Tools on power cycle.
a On the Rollback Options page of the Remediate wizard, select Take a snapshot of the virtual
machines before remediation to enable rollback.
A snapshot of the virtual machine (or virtual appliance) is taken before remediation. If the virtual
machine (or virtual appliance) needs to roll back, you can revert to this snapshot.
Update Manager does not take snapshots of fault tolerant virtual machines.
If you perform a VMware Tools upgrade and select to upgrade VMware Tools on power cycle,
Update Manager takes no snapshots of the selected virtual machines before remediation.
b Specify when the snapshot should be deleted or select Don’t delete snapshots.
d (Optional) Select the Take a snapshot of the memory for the virtual machine check box.
9 Click Next.
You can set up Update Manager to perform a check of the VMware Tools version when a machine is powered
on or restarted. If necessary, Update Manager upgrades VMware Tools to the latest version supported by the
host that is running the virtual machine.
When you perform a VMware Tools upgrade on power cycle, Update Manager does not take a snapshot of
the virtual machine, and you cannot roll back to the previous version.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered. If your
vCenter Server system is a part of a connected group in vCenter Linked Mode, specify the Update Manager
instance by selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
u To enable upgrading of VMware Tools on power cycle, use one of the following options.
Option Action
VMware Tools upgrade settings a On the Home page of the vSphere Client , select VMs and Templates
and click the Update Manager tab.
b Select a virtual machine or a container object from the inventory.
c Click VMware Tools upgrade settings.
d In the Edit VMware Tools upgrade settings window, select the check
boxes of the virtual machines for which you want to enable
VMware Tools upgrade on power cycle.
e Click Apply.
Check and update Tools during a Right-click an object in the vSphere inventory and select Edit Settings.
power cycle b On the Options tab, click VMware Tools.
c In the Advanced section, select the Check and upgrade Tools during
power cycling checkbox.
d Click OK.
The next time the virtual machines are restarted or powered on, Update Manager checks the version of
VMware Tools installed in the machines and performs an upgrade, if necessary.
You can schedule remediation for all hosts or all virtual machines in a container object from the vSphere
inventory. You can perform scheduled orchestrated upgrades of the hosts or virtual machines in a selected
container object.
To schedule remediation, you must specify a time for the remediation process on the Schedule page of the
Remediate wizard.
You cannot edit existing scheduled remediation tasks. You can remove a scheduled remediation task and create
a new one in its place.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, and you have installed
and registered more than one Update Manager instance, you can create scheduled tasks for each
Update Manager instance. Scheduled tasks you create are specific only to the Update Manager instance you
specify and are not propagated to the other instances in the group. From the navigation bar, you can specify
an Update Manager instance by selecting the name of the vCenter Server system with which the
Update Manager instance is registered.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
u In the Update Manager Administration view, click the Events tab to get information about recent events.
This chapter includes the following topics:
n “View Tasks and Events for a Selected Object,” on page 135
n “Update Manager Events,” on page 136
By default, the tasks list for an object includes tasks performed on its child objects. You can filter the list by
removing tasks performed on child objects and by using keywords to search for tasks.
If your vCenter Server system is part of a connected group in Linked Mode, a column in the task list displays
the name of the vCenter Server system on which the task was performed.
Procedure
1 In the vSphere Client select Home > Inventory in the navigation bar.
5 Switch between tasks and events by clicking the Tasks and Events buttons.
Error Could not download host patch definitions. Check your network connection to make
sure that your metadata source is
reachable.
Error Could not download host patch packages. Check your network connection to make
sure that your patch source is reachable.
Error Could not scan vSphere_object_name. Check the Update Manager log
(vmware-vum-server-log4cpp.log)
for scan errors.
Error Could not scan virtual_machine_name because the virtual Check the state of the virtual machine.
machine has an invalid connection state: Reboot the virtual machine to facilitate
virtual_machine_connection_state. scanning.
Error Could not scan host_name because the host has an invalid Check the state of the host. Reboot the
connection state: host_connection_state. host to facilitate scanning.
Error Remediation did not succeed for vSphere_object_name. Check the Update Manager log
(vmware-vum-server-log4cpp.log)
for remediation errors.
Error Could not enable the option for VMware Tools upgrade on
VM power cycle for virtual_machine_name.
Error Could not disable the option for VMware Tools upgrade on
VM power cycle for virtual_machine_name.
Error Could not remediate virtual_machine_name because the Check the virtual machine’s state.
virtual machine has an invalid connection state: Restart the virtual machine to facilitate
virtual_machine_connection_state. remediation.
Error Could not remediate host_name because the host has an Check the state of the host. Restart the
invalid connection state: host_connection_state. host to facilitate remediation.
Error Could not stage patches to host_name because the host has an
invalid connection state: host_connection_state.
Info VMware vSphere Update Manager download alert Provides information about the number
(critical/total): ESX data.esxCritical/data.esxTotal. of patches downloaded.
Error Could not scan virtual_machine_name because host For the latest information on which
host_name is of unsupported version host_version. virtual machines can be scanned, see the
release notes.
Error Could not remediate virtual_machine_name because host For the latest information on which
host_name is of unsupported version host_version. hosts can be scanned, see the release
notes.
Error Could not scan host_name for patches because it is of For the latest information on which
unsupported version host_version. ESX/ESXi hosts can be scanned, see the
release notes.
Error Could not stage patches to host_name because it is of You can stage patches to hosts that are
unsupported version host_version. running ESX/ESXi 4.0 or later.
Error Could not remediate host_name because it is of unsupported Hosts of versions later than ESX 3.0.3
version host_version. and ESX 3i can be remediated. For the
latest information on which ESX/ESXi
hosts can be remediated, see the release
notes.
Error There is no VMware vSphere Update Manager license for Obtain the required licenses to complete
vSphere_object_name for the required operation. the desired task.
Warning VMware vSphere Update Manager is running out of storage Add more storage.
space. Location: path_location. Available space: free_space.
Warning VMware vSphere Update Manager is critically low on Add more storage.
storage space! Location: path_location. Available space:
free_space.
Error Could not download patch packages for following patches: Check your network connections to
message. make sure that your patch source is
reachable.
Warning Action is not supported for offline or suspended virtual A scan or remediation process is not
appliance virtual_appliance_name. supported for offline or suspended
virtual appliance. Power on the virtual
appliance to scan or remediate it.
Info Could not discover virtual appliance virtual_appliance_name. An error occurred during the discovery
of the virtual appliance.
Error Auto update is set to ON for virtual appliance If auto-update is set to ON in the virtual
virtual_appliance_name. appliance, Update Manager cannot
perform remediation.
Warning The software modules modules found on the host are not part
of the upgrade image. These modules will be removed
during upgrade.
Error The host host_name has a VM virtual_machine_name with If a virtual machine on which
VMware vSphere Update Manager or VMware vCenter Update Manager or vCenter Server is
Server installed. The VM must be moved to another host for installed is on a host that is going to be
the remediation to proceed. remediated, the virtual machine is
migrated to another host.
Warning Cannot remediate host host_name because it is a part of a Update Manager does not remediate
VMware DPM enabled cluster. hosts in clusters with enabled VMware
DPM. Disable VMware DPM.
Warning Cannot scan host host_name because it is a part of a VMware Update Manager does not scan hosts in
DPM enabled cluster. clusters with enabled VMware DPM.
Disable VMware DPM.
Warning Cannot stage host host_name because it is a part of a VMware Update Manager does not stage patches
DPM enabled cluster. to hosts in clusters with enabled
VMware DPM. Disable VMware DPM.
Warning Cannot remediate host host_name because it is a part of a HA Update Manager does not remediate
admission control enabled cluster. hosts in clusters with enabled HA
admission control. Disable HA
admission control.
Warning Cannot remediate host host_name because it contains one or Update Manager does not remediate
more Primary or Secondary VMs on which FT is enabled. hosts in clusters on which virtual
machines are with enabled FT. Disable
FT.
Warning Cannot remediate host host_name because it is a part of a Update Manager does not remediate
VMware DPM enabled cluster and contains one or more hosts in clusters with enabled VMware
Primary or Secondary VMs on which FT is enabled. DPM and hosts on which virtual
machines are with enabled FT. Disable
VMware DPM and FT.
Warning Host host_name has FT enabled VMs. If you apply different Update Manager does not remediate
patches to hosts in a cluster, FT cannot be re-enabled. hosts in clusters on which virtual
machines are with enabled FT. Disable
FT.
Warning Host host_name has FT enabled VMs. The host on which the Update Manager does not remediate
Secondary VMs reside is not selected for remediation. As a hosts in clusters on which virtual
result FT cannot be re-enabled. machines are with enabled FT. Disable
FT.
Warning Host host_name is a PXE booted ESXi 5.0 host. You did not You can enable remediation for PXE
enable remediation of this host. booted ESXi hosts of version 5.0.
Warning Cannot remediate host host_name because it has VMs with a Update Manager does not remediate
connected removable device. Disconnect all removable hosts in clusters on which the virtual
devices before remediation. machines are with connected removable
devices such as CD/DVD or floppy
drives. Disconnect any removable
devices from the virtual machines on a
host.
Error Cannot disable FT for VM virtual_machine_name on host Update Manager does not scan, stage, or
host_name. remediate hosts on which virtual
machines are with enabled FT.
Error Unable to verify host reboot. To complete the upgrade reboot Reboot the host.
the host host_name manually.
Error Host patch patch_name conflicts with patch patch_name Remove one of the conflicting patches
included in the baseline and cannot be staged. Remove either and retry the stage operation.
of the patch from the baseline and retry the stage operation.
Error Host patch patch_name conflicts with the package Remove the conflicting patch from the
package_name installed on the host and cannot be staged. baseline and retry the stage
Remove the patch from the baseline or include any suggested
additional patches in the baseline and retry stage operation.
Error Host patch patch_name conflicts with patch patch_name Remove one of the conflicting patches
included in the baseline and cannot be remediated. Remove from the baseline and retry the
either of the patch from the baseline and retry the remediation.
remediation.
Error Host patch patch_name conflicts with the package Remove the conflicting patch from the
package_name installed on the host and cannot be remediated. baseline and retry the remediation.
Remove the patch from the baseline or include any suggested
additional patches in the baseline and retry remediation
operation.
Error PXE booted ESXi host host_name is supported for staging and
remediation.
Warning Patch patch_name was excluded from the stage operation Include the prerequisites in a Patch or
because its prerequisite prerequisite_name is neither installed Extension baseline and retry the stage
on the host nor included in the baseline. Include the operation.
prerequisites in a Patch or Extension baseline and retry the
stage operation. You can also add the baselines to a baseline
group for convenience and perform the stage operation.
Warning Patch patch_name was excluded from the remediation Include the prerequisites in a Patch or
because its prerequisite prerequisite_name is neither installed Extension baseline and retry the stage
on the host nor included in the baseline. Include the operation.
prerequisites in a Patch or Extension baseline and retry the
remediation. You can also add the baselines to a baseline
group for convenience and perform the remediation.
Error Cannot scan the host host_name because its power state is
state.
Error Cannot stage patches to the host host_name because its power
state is state.
Error Cannot remediate the host host_name because its power state
is state.
Error Could not scan host host_name because its power state is Power on the host manually.
invalid. The host is in standby mode and the individual
VMware DPM settings of the host are set to Disabled or
Manual.
Error Could not stage patches to host host_name because its power Power on the host manually.
state is invalid. The host is in standby mode and the
individual VMware DPM settings of the host are set to
Disabled or Manual.
Error Could not remediate host host_name because its power state Power on the host manually.
is invalid. The host is in standby mode and the individual
VMware DPM settings of the host are set to Disabled or
Manual.
Error Remediation did not succeed for host_name. The host could
not enter maintenance mode.
Error Remediation did not succeed for host_name. The host could
not exit maintenance mode.
Error Remediation did not succeed for host_name. The host did not
reboot after remediation.
Error Remediation did not succeed for host_name. The host has
virtual machines machine with connected removable media
devices. This prevents the host from entering maintenance
mode. Disconnect the removable devices and try again.
You can use the patch repository to manage patches and extensions, check on new patches and extensions,
view patch and extension details, view which baseline a patch or an extension is included in, view recalled
patches, import patches, and so on.
You can use the virtual appliance repository to view change log information about the virtual appliance
upgrades and accept EULAs for the available upgrades.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, and you have at least one
Update Manager instance, you can select the Update Manager repository that you want to view.
The patch repository and the virtual appliance upgrades are displayed in the Update Manager Administration
view.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
u Click the Patch Repository tab in the Update Manager Administration view to view all the available
patches and extensions.
The most recent patches and extensions are displayed in bold. The recalled patches are marked with a flag
icon.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 Click the Patch Repository tab to view all the available patches and extensions.
2 Click the Add to baseline link in the Baselines column for a selected patch.
3 In the Edit containing baselines window, select the baselines in which you want to include this patch or
extension and click OK.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, and you have at least
one Update Manager instance, you can add or exclude the patches from baselines specific to the selected
Update Manager instance.
Procedure
1 To locate a patch or an extension based on a keyword or phrase, enter text in the text box in the upper-
right corner of the Update Manager Patch Repository tab.
2 To search for patches or extensions using more specific criteria, click Advanced next to the text field.
Option Description
Patch Vendor Specifies which patch or extension vendor to use.
Product Restricts the set of patches or extensions to the selected products or operating
systems.
The asterisk at the end of a product name is a wildcard character for any
version number.
Severity Specifies the severity of patches or extensions to include.
Category Specifies the category of patches or extensions to include.
Release Date Specifies the range for the release dates of the patches or extensions.
Text Restricts the patches or extensions to those containing the text that you enter.
NOTE With Update Manager 5.0 you can sort security patches by category. In earlier vSphere releases,
security patches are only classified by severity. In Update Manager 5.0, old patches that are marked as
Security are classified as Category Security and Severity Critical. This ensures that earlier security-
related patches appear in the predefined critical updates dynamic baseline.
4 Click Find.
If you want to clear the search field and remove the filter, click Clear.
The contents of the Patch Repository are filtered according to the criteria you entered.
Available virtual appliance upgrades are stored in the Update Manager repository. When you upgrade virtual
appliances, you can select to which version to upgrade. You can view and filter available upgrades. You can
also view change logs and accept EULAs for the available virtual appliance upgrades.
Prerequisites
Connect the vSphere Client to a vCenter Server system with which Update Manager is registered, and on the
Home page, click Update Manager under Solutions and Applications. If your vCenter Server system is part
of a connected group in vCenter Linked Mode, you must specify the Update Manager instance to use, by
selecting the name of the corresponding vCenter Server system in the navigation bar.
Procedure
1 In the Update Manager Administration view, click the VA Upgrades tab to view all available virtual
appliance upgrades.
2 (Optional) If available, click EULA - Not Accepted in the EULA column to accept EULAs for virtual
appliance upgrades.
You can accepts EULAs from either the Remediation wizard or from the VA Upgrades tab. EULAs need
to be accepted only once.
3 (Optional) Right-click the name of a virtual appliance and select View change log to view additional
information in the Virtual Appliance Change Log Details window.
The common user goals provide task flows that you can perform with Update Manager to upgrade, apply
extensions and patches to your vSphere inventory objects and make them compliant against attached baselines
and baseline groups.
n Applying Patches to Hosts on page 152
Host patching is the process in which Update Manager applies VMware ESX/ESXi host patches or third-
party patches, such as Cisco Distributed Virtual Switch, to the ESX/ESXi hosts in your vSphere inventory.
n Applying Third-Party Patches to Hosts on page 153
You can use Update Manager to apply third-party software patches to the ESX/ESXi hosts in your vSphere
inventory.
n Testing Patches or Extensions and Exporting Baselines to Another Update Manager Server on
page 155
Before you apply patches or extensions to ESX/ESXi hosts, you might want to test the patches and
extensions by applying them to hosts in a test environment. You can then use Update Manager PowerCLI
to export the tested baselines to another Update Manager server instance and apply the patches and
extensions to the other hosts.
n Applying Extensions to Hosts on page 158
With Update Manager you can apply extensions to ESX/ESXi hosts. An extension is any additional
software that can be installed on the host or patched if the additional software already exists on the host.
n Orchestrated Datacenter Upgrades on page 159
Orchestrated upgrades allow you to upgrade the objects in your vSphere inventory in a two-step process:
host upgrades followed by virtual machine upgrades. You can configure the process at the cluster level
for higher automation, or at the individual host or virtual machine level for granular control.
n Upgrading and Patching Hosts Using Baseline Groups on page 162
You can use baseline groups to apply upgrade and patch baselines together for upgrading and updating
hosts in a single remediation operation.
n Upgrading Virtual Appliances on page 163
An upgrade remediation of a virtual appliance upgrades the entire software stack in the virtual appliance,
including the operating system and applications. To upgrade the virtual appliance to the latest released
or latest critical version, you can use one of the Update Manager predefined upgrade baselines or create
your own.
n Keeping the Hosts Compliant With the Most Recent Patches on page 164
You can use Update Manager to keep your vSphere inventory updated with the most recent patches.
n Associating the UMDS Patchstore Depot with the Update Manager Server on page 165
UMDS is an optional module of Update Manager. UMDS downloads patch metadata and patch binaries
when Update Manager is installed in an air-gap or semi-air-gap deployment system and has no access
to the Internet. The patch metadata and patch binaries that you download using UMDS must be
associated with the Update Manager server so that Update Manager can patch the hosts and virtual
machines in your vSphere environment.
n Generating Common Database Reports on page 169
Update Manager uses Microsoft SQL Server and Oracle databases to store information. Update Manager
does not provide a reporting capability, but you can use a third-party reporting tool to query the database
views to generate reports.
n Setting a Bandwidth Limit for Downloading of ESXi 5.0 Patches on page 170
You can limit the bandwidth used for downloading patches to ESXi 5.0 hosts by using either the vSphere
Client or the ESXi Shell. Limiting the patch download bandwidth prevents network congestion in slow
networks.
You must configure Update Manager network connectivity settings, patch download sources and schedule,
as well as proxy settings, so that Update Manager downloads the host patches, patch metadata, and patch
binaries. For more information, see Chapter 10, “Configuring Update Manager,” on page 65.
During host patch operations (scanning, staging, and remediation), you can check Update Manager events for
information about the status of the operations. You can also see which host patches are available in the
Update Manager repository.
This workflow describes the process to apply patches to the hosts in your vSphere inventory. You can apply
patches to hosts at a folder, cluster or datacenter level. You can also apply patches to a single host. This
workflow describes the process to apply patches to multiple hosts in a container object.
Some updates might require that the host enters maintenance mode during remediation. You should
configure the Update Manager response when a host cannot enter maintenance mode. If you want to apply
updates at a cluster level, you should configure the cluster settings as well. You can configure the
Update Manager settings from the Configuration tab of the Update Manager Administration view. For
more information and the detailed procedure about configuring host and cluster settings by using
Update Manager, see “Configuring Host and Cluster Settings,” on page 76.
Patch data in dynamic baselines change depending on the criteria you specify each time Update Manager
downloads new patches. Fixed baselines contain only the patches you select, regardless of new patch
downloads.
You can create patch baselines from the Baselines and Groups tab of the Update Manager Administration
view. For more information about creating fixed patch baselines, see “Create a Fixed Patch Baseline,” on
page 85. For detailed instructions about creating a dynamic patch baseline, see “Create a Dynamic Patch
Baseline,” on page 85.
3 Attach the patch baselines to a container object containing the hosts that you want to scan or remediate.
The container object can be a folder, cluster, or datacenter. You can attach baselines and baseline groups
to objects from the Update Manager Compliance view. For more information about attaching baselines
and baseline groups to vSphere objects, see “Attach Baselines and Baseline Groups to Objects,” on
page 97.
After you attach baselines to the selected container object, you must scan it to view the compliance state
of the hosts in the container. You can scan selected objects manually to start the scanning immediately.
For detailed instructions on how to scan your hosts manually, see “Manually Initiate a Scan of ESX/ESXi
Hosts,” on page 101.
You can also scan the hosts in the container object at a time convenient for you by scheduling a scan task.
For more information and detailed instructions about scheduling a scan, see “Schedule a Scan,” on
page 102.
5 Review the scan results displayed in the Update Manager Client Compliance view.
For a detailed procedure about viewing scan results and for more information about compliance states,
see “Viewing Scan Results and Compliance States for vSphere Objects,” on page 103.
6 (Optional) Stage the patches in the attached baselines to the hosts that you want to update.
You can stage the patches and copy them from the Update Manager server to the hosts before applying
them. Staging patches speeds up the remediation process and helps minimize host downtime during
remediation. For a detailed procedure about staging patches and extensions to hosts, see “Stage Patches
and Extensions to ESX/ESXi Hosts,” on page 121.
Remediate the hosts that are in Non-Compliant state to make them compliant with the attached baselines.
For more information about remediating hosts against patch or extension baselines, see “Remediate Hosts
Against Patch or Extension Baselines,” on page 122.
During patch staging and remediation, Update Manager performs prescan and postscan operations. After
remediation is completed, the compliance state of the hosts against the attached baseline is updated to
Compliant.
This workflow describes the overall process to apply third-party patches to the hosts in your vSphere inventory.
You can apply patches to hosts at the folder, cluster or datacenter level. You can also apply patches to a single
host. This workflow describes the process to apply patches to multiple hosts in a container object.
1 Make the third-party software patches available to the Update Manager server.
n Download the third-party patches from the Internet to make them available to the Update Manager
server.
If the machine on which the Update Manager server is installed has access to the Internet, you must
either configure Update Manager to download patch binaries and patch metadata from third-party
Web sites, or you must manually download the third-party patches and import them into the
Update Manager patch repository as an offline bundle.
By default, Update Manager contacts VMware at regular configurable intervals to gather information
about the latest available patches. You can add third-party URLs to download third-party patches
that are applicable to the ESX/ESXi 4.x and ESXi 5.0 hosts in your inventory. You can configure the
Update Manager download source from the Configuration tab of the Update Manager
Administration view. For a detailed procedure about configuring Update Manager to use third-party
download URL addresses as patch download sources, see “Add a New Download Source,” on
page 69.
You can import offline bundles in the Update Manager repository from the Configuration tab of the
Update Manager Administration view. For a detailed procedure about importing offline bundles, see
“Import Patches Manually,” on page 71.
n Use UMDS to download third-party patches and make the patches available to the Update Manager
server.
If the machine on which the Update Manager server is installed is not connected to the Internet, you
can use UMDS to download the third-party patches. For more information about configuring UMDS
to download third-party patches, see “Configure URL Addresses for Hosts and Virtual
Appliances,” on page 61.
The patch metadata and patch binaries that you download using UMDS must be associated with the
Update Manager server so that Update Manager can patch the hosts in your vSphere environment.
For more information about associating the UMDS depot with the Update Manager server, see
“Associating the UMDS Patchstore Depot with the Update Manager Server,” on page 165.
Some updates might require that the host enters maintenance mode during remediation. You should
configure the Update Manager response when a host cannot enter maintenance mode. If you want to apply
updates at a cluster level, you should configure the cluster settings as well. You can configure the
Update Manager settings from the Configuration tab of the Update Manager Administration view. For
more information and the detailed procedure about configuring host and cluster settings by using
Update Manager, see “Configuring Host and Cluster Settings,” on page 76.
3 Create fixed or dynamic patch baselines containing the third-party software patches that you downloaded
to the Update Manager repository.
You can create patch baselines from the Baselines and Groups tab of the Update Manager Administration
view. For more information about creating fixed patch baselines, see “Create a Fixed Patch Baseline,” on
page 85. For detailed instructions about creating a dynamic patch baseline, see “Create a Dynamic Patch
Baseline,” on page 85.
4 Attach the patch baselines to a container object containing the hosts that you want to scan or remediate.
The container object can be a folder, cluster, or datacenter. You can attach baselines and baseline groups
to objects from the Update Manager Compliance view. For more information about attaching baselines
and baseline groups to vSphere objects, see “Attach Baselines and Baseline Groups to Objects,” on
page 97.
After you attach baselines to the selected container object, you must scan it to view the compliance state
of the hosts in the container. You can scan selected objects manually to start the scanning immediately.
For detailed instructions on how to scan your hosts manually, see “Manually Initiate a Scan of ESX/ESXi
Hosts,” on page 101.
You can also scan the hosts in the container object at a time convenient for you by scheduling a scan task.
For more information and detailed instructions about scheduling a scan, see “Schedule a Scan,” on
page 102.
6 Review the scan results displayed in the Update Manager Client Compliance view.
For a detailed procedure about viewing scan results and for more information about compliance states,
see “Viewing Scan Results and Compliance States for vSphere Objects,” on page 103.
Remediate the hosts that are in Non-Compliant state to make them compliant with the attached baselines.
For more information about remediating hosts against patch or extension baselines, see “Remediate Hosts
Against Patch or Extension Baselines,” on page 122.
After remediation is completed, the compliance state of the hosts against the attached baseline is updated to
Compliant.
Update Manager PowerCLI is a command-line and scripting tool built on Windows PowerShell, and provides
a set of cmdlets for managing and automating Update Manager. For more information about installing and
using Update Manager PowerCLI, see VMware vSphere Update Manager PowerCLI Installation and Administration
Guide.
This workflow describes how to test patches by using one Update Manager instance and how to export the
patch baseline containing the tested patches to another Update Manager instance.
Create fixed patch baselines containing the patches that you want to test. Fixed patch baselines do not
change their content when new patches are downloaded into the Update Manager patch repository. You
can create a fixed patch baseline from the Baselines and Groups tab of the Update Manager
Administration view. For more information and a detailed procedure, see “Create a Fixed Patch
Baseline,” on page 85.
2 Attach the patch baselines to a container object containing the hosts that you want to scan or remediate.
The container object can be a folder, cluster, or datacenter. You can attach baselines and baseline groups
to objects from the Update Manager Compliance view. For more information about attaching baselines
and baseline groups to vSphere objects, see “Attach Baselines and Baseline Groups to Objects,” on
page 97.
After you attach baselines to the selected container object, you must scan it to view the compliance state
of the hosts in the container. You can scan selected objects manually to start the scanning immediately.
For detailed instructions on how to scan your hosts manually, see “Manually Initiate a Scan of ESX/ESXi
Hosts,” on page 101.
You can also scan the hosts in the container object at a time convenient for you by scheduling a scan task.
For more information and detailed instructions about scheduling a scan, see “Schedule a Scan,” on
page 102.
4 Review the scan results displayed in the Update Manager Client Compliance view.
For a detailed procedure about viewing scan results and for more information about compliance states,
see “Viewing Scan Results and Compliance States for vSphere Objects,” on page 103.
5 (Optional) Stage the patches in the attached baselines to the hosts that you want to update.
You can stage the patches and copy them from the Update Manager server to the hosts before applying
them. Staging patches speeds up the remediation process and helps minimize host downtime during
remediation. For a detailed procedure about staging patches and extensions to hosts, see “Stage Patches
and Extensions to ESX/ESXi Hosts,” on page 121.
Remediate the hosts that are in Non-Compliant state to make them compliant with the attached baselines.
For more information about remediating hosts against patch or extension baselines, see “Remediate Hosts
Against Patch or Extension Baselines,” on page 122.
7 Export the patch baselines from the Update Manager server that you used to test the patches, and import
them to another Update Manager server.
You can export and import patch baselines from one Update Manager server to another by using an
Update Manager PowerCLI script. The following example script creates a duplicate of the baseline
MyBaseline on the $destinationServer.
NOTE The script works for fixed and dynamic patch baselines as well as for extension baselines.
$ConfirmPreference = 'None'
$includePatches = @()
$excludePatches = @()
function ExtractPatchesFromServer([VMware.VumAutomation.Types.Patch[]]$patches,
[VMware.VimAutomation.Types.VIServer]$destinationServer){
$result = @()
if ($patches -ne $null){
foreach($patch in $patches){
$extractedPatches = Get-Patch -Server $destinationServer -SearchPhrase
$patch.Name
if ($extractedPatches -eq $null){
Write-Warning -Message "Patch '$($patch.Name)' is not available on the server
$destinationServer"
} else {
$isFound = $false
foreach ($newPatch in $extractedPatches){
if ($newPatch.IdByVendor -eq $patch.IdByVendor){
$result += $newPatch
$isFound = $true
}
}
if ($isFound -eq $false) {
Write-Warning -Message "Patch '$($patch.Name)' with VendorId '$($patch.IdByVendor)' is
not available on the server $destinationServer"
}
}
}
}
return .$result;
}
function
CreateStaticBaseline([VMware.VumAutomation.Types.Baseline]$baseline,
[VMware.VimAutomation.Types.VIServer]$destinationServer){
$includePatches = ExtractPatchesFromServer $baseline.CurrentPatches $destinationServer
if ($includePatches.Count -lt 1){
write-error "Static baseline '$($baseline.Name)' can't be imported. No one of the patches
it contains are available on the server $destinationServer"
} else {
$command = 'New-PatchBaseline -Server $destinationServer -Name $baseline.Name -Description
$baseline.Description -Static -TargetType $baseline.TargetType -IncludePatch $includePatches'
if ($baseline.IsExtension) {
$command += ' -Extension'
}
Invoke-Expression $command
}
}
function
CreateDynamicBaseline([VMware.VumAutomation.Types.Baseline]$baseline,
[VMware.VimAutomation.Types.VIServer]$destinationServer)
{
if ($baseline.BaselineContentType -eq 'Dynamic'){
$command = 'New-PatchBaseline -Server $destinationServer -Name $baseline.Name -Description
$baseline.Description -TargetType $baseline.TargetType -Dynamic -SearchPatchStartDate
$baseline.SearchPatchStartDate - SearchPatchEndDate $baseline.SearchPatchEndDate -
SearchPatchProduct $baseline.SearchPatchProduct -SearchPatchSeverity
$baseline.SearchPatchSeverity -SearchPatchVendor $baseline.SearchPatchVendor'
} elseif ($baseline.BaselineContentType -eq 'Both'){
$includePatches = ExtractPatchesFromServer $baseline.InclPatches $destinationServer
$excludePatches = ExtractPatchesFromServer $baseline.ExclPatches $destinationServer
#check for null because there is known issue for creating baseline with null
SearchPatchPhrase
if ($baseline.SearchPatchPhrase -ne $null){
$command += ' -SearchPatchPhrase $baseline.SearchPatchPhrase'
}
Invoke-Expression $command
}
You have now exported the tested baseline to another Update Manager server.
8 Apply the patches to your ESX/ESXi hosts by using the Update Manager server instance to which you
exported the tested patch baseline.
To perform the initial installation of an extension, you must use an extension baseline. After the extension is
installed on the host, you can update the extension module with either patch or extension baselines.
When applying extension baselines by using Update Manager, you must be aware of the functional
implications of new modules to the host. Extension modules might alter the behavior of ESX/ESXi hosts. During
installation of extensions, Update Manager only performs the checks and verifications expressed at the package
level.
This workflow describes the overall process to apply extensions to the hosts in your vSphere inventory. You
can apply extensions to hosts at a folder, cluster or datacenter level. You can also apply extensions to a single
host.
Some updates might require that the host enters maintenance mode during remediation. You should
configure the Update Manager response when a host cannot enter maintenance mode. If you want to apply
updates at a cluster level, you should configure the cluster settings as well. You can configure the
Update Manager settings from the Configuration tab of the Update Manager Administration view. For
more information and the detailed procedure about configuring host and cluster settings by using
Update Manager, see “Configuring Host and Cluster Settings,” on page 76.
2 (Optional) Import an offline bundle to download extensions to the Update Manager server.
Offline bundles might contain extensions that you download from the Internet or copy from a media drive.
Offline bundles are ZIP files that can be located on a local or a shared network drive. You can import
offline bundles from the Configuration tab of the Update Manager Administration view. For more
information about importing offline bundles and for a detailed procedure on importing offline bundles,
see “Import Patches Manually,” on page 71.
You can create host extension baselines from the Baselines and Groups tab in the Update Manager
Administration view. For a detailed procedure about creating extension baselines, see “Create a Host
Extension Baseline,” on page 86.
4 Attach the extension baselines to a container object containing the hosts that you want to remediate.
To scan and remediate hosts, attach the extensions baselines to a container object containing the hosts to
which you want to apply the extensions. The container object can be a folder, cluster, or datacenter. You
can attach baselines and baseline groups to objects from the Update Manager Compliance view. For more
information about attaching baselines and baseline groups to vSphere objects, see “Attach Baselines and
Baseline Groups to Objects,” on page 97.
After you attach baselines to the selected container object, you must scan it to view the compliance state
of the hosts in the container. You can scan selected objects manually to start the scanning immediately.
For detailed instructions on how to scan your hosts manually, see “Manually Initiate a Scan of ESX/ESXi
Hosts,” on page 101.
You can also scan the hosts in the container object at a time convenient for you by scheduling a scan task.
For more information and detailed instructions about scheduling a scan, see “Schedule a Scan,” on
page 102.
6 Review the scan results displayed in the Update Manager Client Compliance view.
For a detailed procedure about viewing scan results and for more information about compliance states,
see “Viewing Scan Results and Compliance States for vSphere Objects,” on page 103.
7 (Optional) Stage the extensions from the attached baselines to the ESX/ESXi hosts.
You can stage the extensions and copy them from the Update Manager server to selected hosts before
applying them. Staging extensions speeds up the remediation process and helps minimize host downtime
during remediation. For a detailed procedure about staging patches and extensions to hosts, see “Stage
Patches and Extensions to ESX/ESXi Hosts,” on page 121.
You can remediate the container object of the hosts against the attached baselines. If hosts are in a Non-
Compliant state, remediate the container object to make the hosts compliant with the attached baselines.
You can start the remediation process manually or schedule a remediation task. See “Remediate Hosts
Against Patch or Extension Baselines,” on page 122 for a detailed procedure.
During staging extensions and extension remediation, Update Manager performs prescan and postscan
operations. After remediation is completed, the compliance state of the hosts against the attached baselines is
updated to Compliant.
You can upgrade clusters without powering the virtual machine off as long as VMware Distributed Resource
Scheduler (DRS) is available for the cluster. To perform an orchestrated upgrade, you must first remediate a
cluster against a host upgrade baseline, and then remediate the same cluster against a virtual machine upgrade
baseline group containing the VM Hardware Upgrade to Match Host and
VMware Tools Upgrade to Match Host baselines.
n Orchestrated Upgrade of Hosts on page 160
You can use Update Manager to perform orchestrated upgrades of the ESX/ESXi hosts in your vSphere
inventory by using a single upgrade baseline.
n Orchestrated Upgrade of Virtual Machines on page 161
An orchestrated upgrade allows you to upgrade VMware Tools and the virtual hardware for the virtual
machines in your vSphere inventory at the same time. You can perform an orchestrated upgrade of virtual
machines at the folder or datacenter level.
This workflow describes the overall process to perform an orchestrated upgrade of the hosts in your vSphere
inventory.
You can perform orchestrated upgrades of hosts at the folder, cluster, or datacenter level.
Update Manager 5.0 supports only upgrade from ESXi 4.x to ESXi 5.x and migration from ESX 4.x to
ESXi 5.x. You cannot use Update Manager to upgrade a host to ESXi 5.0 if the host was upgraded from ESX
3.x to ESX 4.x. Such hosts do not have sufficient free space in the /boot partition to support the Update Manager
upgrade process. Use a scripted or interactive upgrade instead.
IMPORTANT After you have upgraded or migrated your host to ESXi 5.x, you cannot roll back to your version
4.x ESX or ESXi software. Back up your host configuration before performing an upgrade or migration. If the
upgrade or migration fails, you can reinstall the 4.x ESX or ESXi software that you upgraded or migrated from,
and restore your host configuration. For more information about backing up and restoring your ESX/ESXi
configuration, see vSphere Upgrade.
You can configure the Update Manager settings from the Configuration tab of the Update Manager
Administration view. For more information and the detailed procedures about configuring host and
cluster settings by using Update Manager, see “Configuring Host and Cluster Settings,” on page 76.
2 Import an ESXi image (which is distributed as an ISO file) and create a host upgrade baseline.
Import an ESXi 5.0 image so that you can upgrade the hosts in your vSphere inventory. You can import
a host image from the ESXi Images tab of the Update Manager Administration view.
For the complete procedure about importing host upgrade releases, see “Import Host Upgrade Images
and Create Host Upgrade Baselines,” on page 89.
3 Attach the host upgrade baseline to a container object containing the hosts that you want to upgrade.
You can attach baselines and baseline groups to objects from the Update Manager Compliance view. For
more information about attaching baselines and baseline groups to vSphere objects, see “Attach Baselines
and Baseline Groups to Objects,” on page 97.
After you attach baselines to the selected container object, you must scan it to view the compliance state
of the hosts in the container. You can scan selected objects manually to start the scanning immediately.
For detailed instructions on how to scan your hosts manually, see “Manually Initiate a Scan of ESX/ESXi
Hosts,” on page 101.
You can also scan the hosts in the container object at a time convenient for you by scheduling a scan task.
For more information and detailed instructions about scheduling a scan, see “Schedule a Scan,” on
page 102.
5 Review the scan results displayed in the Update Manager Client Compliance view.
For a detailed procedure about viewing scan results and for more information about compliance states,
see “Viewing Scan Results and Compliance States for vSphere Objects,” on page 103.
If hosts are in Non-Compliant state, remediate the container object of the hosts to make it compliant with
the attached baseline. You can start the remediation process manually or schedule a remediation task. For
more information about remediating hosts against an upgrade baseline and for a detailed procedure, see
“Remediate Hosts Against an Upgrade Baseline,” on page 124.
Hosts that are upgraded reboot and disconnect for some time during the remediation.
Update Manager makes the process of upgrading the virtual machines convenient by providing baseline
groups. When you remediate a virtual machine against a baseline group containing the
VMware Tools Upgrade to Match Host baseline and the VM Hardware Upgrade to Match Host baseline,
Update Manager sequences the upgrade operations in the correct order. As a result, the guest operating system
is in a consistent state at the end of the upgrade.
This workflow describes the overall process to perform an orchestrated upgrade of the virtual machines in
your vSphere inventory.
To upgrade virtual machines, you must create a virtual machine baseline group containing the
VMware Tools Upgrade to Match Host baseline and the VM Hardware Upgrade to Match Host baseline.
You can create baseline groups from the Baselines and Groups tab of the Update Manager Administration
view. For more information about creating baseline groups and for detailed instructions, see “Create a
Virtual Machine and Virtual Appliance Baseline Group,” on page 95.
2 Attach the baseline group to an object containing the virtual machines that you want to upgrade.
To scan and remediate the virtual machines, attach the baseline group to a container object that contains
the virtual machines that you want to upgrade. The container object can be a folder or a datacenter. For
detailed instructions about attaching baselines and baseline groups to objects, see “Attach Baselines and
Baseline Groups to Objects,” on page 97.
You must scan it to view the compliance state of the virtual machines in the container. You can scan selected
objects manually to start the scanning immediately. For detailed instructions on how to scan your virtual
machines manually, see “Manually Initiate a Scan of Virtual Machines and Virtual Appliances,” on
page 102.
You can also scan the virtual machines in the container object at a time convenient for you by scheduling
a scan task. For more information and detailed instructions about scheduling a scan, see “Schedule a
Scan,” on page 102.
4 Review the scan results displayed in the Update Manager Client Compliance view.
For a detailed procedure about viewing scan results and for more information about compliance states,
see “Viewing Scan Results and Compliance States for vSphere Objects,” on page 103.
5 Remediate the non-compliant virtual machines in the container object to make them compliant with the
attached baseline group.
If virtual machines are in a Non-Compliant state, you can remediate the container object to make the virtual
machines compliant with the baselines in the attached baseline group. You can start the remediation
manually or schedule a remediation task. For more information about remediating virtual machines and
for detailed instructions, see “Remediate Virtual Machines and Virtual Appliances,” on page 131.
During an upgrade of VMware Tools, the virtual machines must be powered on. If a virtual machine is
in a powered off or suspended state before remediation, Update Manager powers on the machine. After
the upgrade is completed, Update Manager restarts the machine and restores the original power state of
the virtual machine.
During a virtual machine hardware upgrade, the virtual machines must be shut down. After the
remediation is completed, Update Manager restores the original power state of the virtual machines. If a
virtual machine is powered on, Update Manager powers the machine off, upgrades the virtual hardware,
and then powers the virtual machine on.
The virtual machines in the container object become compliant with the attached baseline group.
You can upgrade all ESX/ESXi hosts in your deployment system by using a single upgrade baseline. You can
apply patches to the hosts at the same time by using a baseline group containing one upgrade baseline and
multiple host patch baselines.
This workflow describes how to upgrade and patch the hosts in your vSphere inventory at the same time. You
can upgrade hosts and apply patches to hosts at the folder, cluster, or datacenter level. You can also upgrade
and patch a single host. This workflow describes the process to patch and upgrade multiple hosts in a container
object.
Some updates might require that the host enters maintenance mode during remediation. You should
configure the Update Manager response when a host cannot enter maintenance mode. If you want to apply
updates at a cluster level, you should configure the cluster settings as well. You can configure the
Update Manager settings from the Configuration tab of the Update Manager Administration view. For
more information and the detailed procedure about configuring host and cluster settings by using
Update Manager, see “Configuring Host and Cluster Settings,” on page 76.
2 Import an ESXi image (which is distributed as an ISO file) and create a host upgrade baseline.
You must import an ESXi image, so that you can upgrade the hosts in your vSphere inventory. You can
import ESXi images from the ESXi Images tab of the Update Manager Administration view.
For a complete procedure about importing ESXi images, see “Import Host Upgrade Images and Create
Host Upgrade Baselines,” on page 89.
Dynamic patch baselines contain a set of patches, which updates automatically according to patch
availability and the criteria that you specify. Fixed baselines contain only patches that you select, regardless
of new patch downloads.
You can create patch baselines from the Baselines and Groups tab of the Update Manager Administration
view. For more information about creating fixed patch baselines, see “Create a Fixed Patch Baseline,” on
page 85. The detailed instructions about creating a dynamic patch baseline are described in “Create a
Dynamic Patch Baseline,” on page 85.
4 Create a baseline group containing the patch baselines as well as the host upgrade baseline that you
created.
You can create baseline groups from the Baselines and Groups tab of the Update Manager Administration
view. For more information about creating baseline groups for hosts, see “Create a Host Baseline
Group,” on page 94.
To scan and remediate the hosts in your environment, you must first attach the host baseline group to a
container object containing the hosts that you want to remediate. You can attach baseline groups to objects
from the Update Manager Compliance view. For more information about attaching baseline groups to
vSphere objects, see “Attach Baselines and Baseline Groups to Objects,” on page 97.
After you attach the baseline group to the selected container object, you must scan it to view the compliance
state of the hosts in the container. You can scan selected objects manually to start the scanning immediately.
For detailed instructions on how to scan your hosts manually, see “Manually Initiate a Scan of ESX/ESXi
Hosts,” on page 101.
You can also scan the hosts in the container object at a time convenient for you by scheduling a scan task.
For more information and detailed instructions about scheduling a scan, see “Schedule a Scan,” on
page 102.
7 Review the scan results displayed in the Update Manager Client Compliance view.
For a detailed procedure about viewing scan results and for more information about compliance states,
see “Viewing Scan Results and Compliance States for vSphere Objects,” on page 103.
Remediate the hosts that are in Non-Compliant state to make them compliant with the attached baseline
group. For more information about remediating hosts against baseline groups containing patch, extension,
and upgrade baselines, see “Remediate Hosts Against Baseline Groups,” on page 127.
During the remediation, the upgrade is performed first. Hosts that need to be both upgraded and updated
with patches are first upgraded and then patched. Hosts that are upgraded might reboot and disconnect
for a period of time during remediation.
The hosts in the container object become compliant with the attached baseline group.
This workflow describes how to upgrade the virtual appliances in your vSphere inventory. You can upgrade
virtual appliances at the folder or datacenter level. You can also upgrade a single virtual appliance. This
workflow describes the process to upgrade multiple virtual appliances in a container object.
You create virtual appliance baselines from the Baselines and Groups tab in the Update Manager
Administration view. For a detailed description of the procedure, see “Create and Edit a Virtual Appliance
Upgrade Baseline,” on page 91.
2 Attach virtual appliance upgrade baselines to an object containing the virtual appliances that you want
to upgrade.
To scan and upgrade virtual appliances, attach your virtual appliance upgrade baselines to a container
object containing the virtual appliances that you want to upgrade. The container object can be a folder,
vApp, or datacenter. For a detailed description of the procedure, see “Attach Baselines and Baseline
Groups to Objects,” on page 97.
After you attach the virtual appliance upgrade baselines to the selected container object, you must scan it
to view the compliance state of the virtual appliances in the container. You can scan selected objects
manually to start the scanning immediately. For detailed instructions on how to scan your virtual
appliances manually, see “Manually Initiate a Scan of Virtual Machines and Virtual Appliances,” on
page 102.
You can also scan the virtual appliances in the container object at a time convenient for you by scheduling
a scan task. For more information and detailed instructions about scheduling a scan, see “Schedule a
Scan,” on page 102.
4 Review the scan results displayed in the Update Manager Client Compliance view.
For a detailed procedure about viewing scan results and for more information about compliance states,
see “Viewing Scan Results and Compliance States for vSphere Objects,” on page 103.
5 Remediate the virtual appliances in the container object against the attached virtual appliance upgrade
baselines.
If virtual appliances are in a Non-Compliant state, remediate the container object of the virtual appliances
to make it compliant with the attached baselines. You can start the remediation process manually or
schedule a remediation task. For a detailed description of the procedure, see “Remediate Virtual Machines
and Virtual Appliances,” on page 131.
Update Manager directs the virtual appliances to download the missing updates and controls the
remediation process of when and how to remediate, but the virtual appliance downloads and installs the
updates itself.
The remediated virtual appliances become compliant with the attached baselines.
You can change the frequency of the checks for updates and patches, create dynamic patch baselines, attach
the baselines to the objects in the inventory, and perform regular scans and scheduled remediation, to keep
your vSphere inventory of hosts and virtual machines updated.
This workflow describes the overall process to keep the hosts and virtual machines in your vSphere inventory
updated with the most recent patches.
Update Manager checks for patches at regular intervals. You can modify the schedule for checking and
downloading patch data. For a detailed description of the procedure, see “Configure Checking for
Updates,” on page 73.
The contents of dynamic patch baselines are updated when new patches that meet the criteria become
available. For information about creating dynamic patch baselines, see “Create a Dynamic Patch
Baseline,” on page 85.
To scan and remediate the objects in your vSphere inventory, attach the baselines to selected objects in the
inventory. For a detailed description of the procedure, see “Attach Baselines and Baseline Groups to
Objects,” on page 97.
4 Schedule a scan.
You can schedule periodic scans of the hosts in your vSphere inventory. For a detailed description of the
procedure, see “Schedule a Scan,” on page 102.
Schedule remediation tasks at times convenient for you for the hosts in your vSphere inventory. For more
information about scheduling remediation, see “Scheduling Remediation for Hosts, Virtual Machines, and
Virtual Appliances,” on page 133.
Before you associate the UMDS patchstore depot with the Update Manager server, set up UMDS and download
patches. For more information about installing, setting up UMDS, and downloading patches, see Chapter 9,
“Installing, Setting Up, and Using Update Manager Download Service,” on page 57.
You can either use a portable media drive to transfer the downloads to the machine on which Update Manager
is installed, or you can copy them to a Web server. You must then set up Update Manager to use a shared
repository as a patch download source.
IMPORTANT You cannot use folders located on a network drive as a shared repository. Update Manager does
not download patch binaries and patch metadata from folders on a network share either in the Microsoft
Windows Uniform Naming Convention form (such as \\Computer_Name_or_Computer_IP\Shared), or on a
mapped network drive (for example, Z:\).
n Associate the UMDS Depot with the Update Manager Server Using a Portable Media Drive on
page 165
In an air-gap deployment system where the Update Manager server is installed on a computer with no
access to the Internet or other networks, the patch metadata and patch binaries you download using
UMDS must be transferred to the machine on which Update Manager is installed.
n Associate the UMDS Depot with Update Manager Server Using IIS on page 166
In a semi-air-gap environment, you can set up Internet Information Services (IIS) on the machine on
which UMDS is installed and configure Update Manager to use the downloaded patch binaries and patch
metadata from the IIS Web server.
n Associate the UMDS Depot with Update Manager Server Using Apache on page 168
In a semi-air-gap environment, you can set up an Apache Web server on the machine on which UMDS
is installed and configure Update Manager to use the downloaded patch binaries and patch metadata
from the Apache Web server.
Associate the UMDS Depot with the Update Manager Server Using a Portable
Media Drive
In an air-gap deployment system where the Update Manager server is installed on a computer with no access
to the Internet or other networks, the patch metadata and patch binaries you download using UMDS must be
transferred to the machine on which Update Manager is installed.
Procedure
1 Connect a portable media drive to the computer on which you have installed UMDS and have downloaded
the patch binaries and patch metadata.
2 Open a Command Prompt window and navigate to the folder in which UMDS is installed.
Here F:\ is the path to the media drive, for example a USB flash drive.
4 Verify that all files are exported to the portable media drive, and then safely remove it and connect it to
the machine on which the Update Manager server is installed.
5 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered and
select Home > Solutions and Applications > Update Manager in the navigation bar.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, specify the
Update Manager instance to configure by selecting the name of the corresponding vCenter Server system
in the navigation bar.
F:\
Here F:\ is the path to the media drive, for example a USB flash drive.
Make sure that the validation is successful. If the validation fails, Update Manager reports the reason for
the failure. You can use the path to the shared repository only if the validation succeeds.
The patch binaries and patch metadata downloaded using the UMDS are imported to the machine on which
the Update Manager server is installed.
Associate the UMDS Depot with Update Manager Server Using IIS
In a semi-air-gap environment, you can set up Internet Information Services (IIS) on the machine on which
UMDS is installed and configure Update Manager to use the downloaded patch binaries and patch metadata
from the IIS Web server.
Use this approach when the Update Manager server is installed on a machine that is connected to the UMDS
machine, but does not have direct Internet access.
NOTE The procedure uses IIS 6. Other versions of IIS can be configured similarly.
Prerequisites
Install and set up IIS on the machine on which UMDS is running. For information about setting up an IIS Web
server, see the Internet Information Services documentation on the Microsoft Web site.
Procedure
1 Log in to the computer on which you have installed UMDS and download the patch binaries and patch
metadata.
2 Create a directory for the patch data under the document root of the Web server.
3 Export the downloaded metadata and binaries to the UMDS directory under the Web server root.
vmware-umds -E --export-store C:\inetpub\wwwroot\UMDS
4 Add .vib, .sig, and .xml as allowed MIME types for the Web server.
a Click Start > Programs > Administrative Tools > Internet Information Services (IIS) Manager.
b In the Internet Information Services (IIS) Manager window, select IIS Manager Information >
Computer Name(local computer) > Web Sites > Default Web Site.
c Right click the UMDS folder where you exported the patch data and select Properties.
In the Extension text field, enter .vib, .sig, and .xml. Enter one file extension for each MIME type
entry. In the MIME Type field, enter application/octet-stream for .vib and .sig. For .xml, enter
text/xml in the MIME Type field.
5 Set appropriate permissions for the UMDS folder in the Web server root.
a Right-click the UMDS folder under Default Web Site in the Internet Information Services (IIS)
Manager window, and select Permissions.
b In the Advanced Security Settings dialog box, select the Allow inheritable permissions from the
parent to propagate to this object and all child objects. Include these with entries explicitly defined
here and Replace permission entries on all child objects with entries shown here that apply to child
objects check boxes.
c Click Apply.
7 (Optional) Verify that you can view the UMDS directory under the Web server root in a browser and
download files.
8 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered and
select Home > Solutions and Applications > Update Manager in the navigation bar.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, specify the
Update Manager instance to configure by selecting the name of the corresponding vCenter Server system
in the navigation bar.
11 Enter the URL of the folder on the Web server where you exported the patch binaries and patch metadata.
For example, http://ip_address_or_hostname/UMDS
Make sure that the validation is successful. If the validation fails, Update Manager reports the reason for
the failure. You can use the path to the shared repository only if the validation succeeds.
Update Manager is now configured to use the patch metadata and patch binaries downloaded through UMDS
and hosted on the IIS Web server.
Associate the UMDS Depot with Update Manager Server Using Apache
In a semi-air-gap environment, you can set up an Apache Web server on the machine on which UMDS is
installed and configure Update Manager to use the downloaded patch binaries and patch metadata from the
Apache Web server.
Use this approach when the Update Manager server is installed on a machine that is connected to the UMDS
machine, but does not have direct Internet access.
NOTE The procedure uses Apache 2.2.14. Other versions of Apache can be configured similarly.
Prerequisites
Set up Apache on the machine on which UMDS is running. For information about setting up an Apache Web
server, see the documentation on the Apache HTTP Server Project Web site.
Procedure
1 Log in to the computer on which you have installed UMDS and download the patch binaries and patch
metadata.
2 Create a directory for the patch data under the document root of the Web server.
3 Export the downloaded patch metadata and patch binaries to the UMDS directory in the Web server root.
vmware-umds -E --export-store C:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\UMDS
4 (Optional) Verify that you can view the UMDS directory under the Web server root in a browser and
download files.
5 Connect the vSphere Client to a vCenter Server system with which Update Manager is registered and
select Home > Solutions and Applications > Update Manager in the navigation bar.
If your vCenter Server system is part of a connected group in vCenter Linked Mode, specify the
Update Manager instance to configure by selecting the name of the corresponding vCenter Server system
in the navigation bar.
8 Enter the URL of the folder on the Web server where you exported the patch binaries and patch metadata.
Make sure that the validation is successful. If the validation fails, Update Manager reports the reason for
the failure. You can use the path to the shared repository only if the validation succeeds.
Update Manager is now configured to use the patch metadata and patch binaries downloaded through UMDS
and hosted on the Apache Web server.
IMPORTANT The Update Manager database does not contain information about the objects in the inventory,
but contains internal inventory entity IDs. To get the original IDs for virtual machines, virtual appliances, and
hosts, you must have access to the vCenter Server system database. From the vCenter Server system database,
you can retrieve the ID of the objects that you want to access. To obtain the Update Manager database IDs of
the objects, Update Manager adds the prefix vm- (for virtual machines), va- (for virtual appliances), or host-
(for hosts).
n Generate Common Reports Using Microsoft Office Excel 2003 on page 169
Using Microsoft Excel, you can connect to the Update Manager database and query the database views
to generate a common report.
n Generate Common Reports Using Microsoft SQL Server Query on page 170
Using a Microsoft SQL Server query, you can generate a common report from the Update Manager
database.
Prerequisites
Procedure
1 Log in to the computer on which the Update Manager database is set up.
2 From the Windows Start menu, select Programs > Microsoft Office > Microsoft Excel.
3 Click Data > Import External Data > New Database Query.
4 In the Choose Data Source window, select VMware Update Manager and click OK.
If necessary, in the database query wizard, select the ODBC DSN name and enter the user name and
password for the ODBC database connection.
5 In the Query Wizard - Choose Columns window, select the columns of data to include in your query and
click Next.
Option Description
Available tables and columns Lists the available tables, views, and columns. Scroll down to select a
database view beginning with VUMV_, and expand the view to select
specific columns by double-clicking them.
Columns in your query Lists the columns you can select to include in your query.
Preview of data in selected column Displays the data in a selected column when you click Preview Now.
For example, if you want to get the latest scan results for all objects in the inventory and all patches for an
inventory object, select the following database views and their corresponding columns from the Available
tables and columns pane:
n VUMV_UPDATES
n VUMV_ENTITY_SCAN_RESULTS
6 Click OK in the warning message that the query wizard cannot join the tables in your query.
7 In the Microsoft Query window, drag a column name from the first view to the other column to join the
columns in the tables manually.
For example, join the META_UID column from the VUMV_UPDATES database view with the
UPDATE_METAUID column from the VUMV_ENTITY_SCAN_RESULTS database view.
A line between the columns selected indicates that these columns are joined.
The data is automatically queried for all inventory objects in the Microsoft Query window.
Procedure
u To generate a report containing the latest scan results for all objects in the inventory and for all patches
for an inventory object, run the query in Microsoft SQL Client.
SELECT r.entity_uid,r.ENTITY_STATUS,
u.meta_uid, u.title, u.description, u.type, u.severity,
(case when u.SPECIAL_ATTRIBUTE is null then 'false'
else 'true'
end) as IS_SERVICE_PACK,
r.scanh_id, r.scan_start_time, r.scan_end_time
FROM VUMV_UPDATES u JOIN VUMV_ENTITY_SCAN_RESULTS r ON (u.meta_uid = r.update_metauid)
ORDER BY r.entity_uid, u.meta_uid
The query displays all patches that are applicable to the scanned objects in the inventory.
NOTE You should not limit the download bandwidth when you upgrade hosts. When you start an upgrade
remediation, ESX/ESXi hosts are put into maintenance mode, and a limited download rate might cause hosts
to remain in maintenance mode for an extended period of time.
Patches are software updates that address a particular issue or enhancement on the host. Update Manager
downloads patches for ESXi 5.0 hosts from download sources on the Internet. The download sources can be
provided by VMware or third-party vendors. To patch hosts by using Update Manager, you use patch
baselines. To upgrade ESX/ESXi 4.x hosts to ESXi 5.0, you must upload at least one ESXi 5.0 .iso image to the
Update Manager repository and create a host upgrade baseline. For more information about different types of
software updates, see “Downloading Updates and Related Metadata,” on page 16.
In the Update Manager process, hosts download patches during remediation or staging operations. To prevent
patch downloads from using all available bandwidth in slow networks, you can configure bandwidth throttling
for ESXi 5.0 hosts.
n Limit the Update Download Bandwidth by Using the vSphere Client on page 171
From the Configuration tab of the vSphere Client, you can set a maximum value for the bandwidth that
an ESXi 5.0 host uses when downloading VIBs.
n Limit the Update Download Bandwidth by Running an esxcli Command on page 171
You can set a maximum value for downloading VIBs to ESXi 5.0 hosts by running an esxcli command.
Procedure
2 In the vSphere inventory pane, select the ESXi 5.0 host for which you want to limit the update download
bandwidth.
3 On the Configuration tab, click Advanced Settings in the Software pane.
5 Type a value for UserVars.EsximageNetRateLimit to set the maximum rate for downloading VIBs in bytes
per second.
For example, type 1048756 to limit the download rate to 1048756 bytes per second, or 1MB per second.
Procedure
1 Verify that you can run esxcli commands on the ESXi 5.0 host.
All esxcli commands are available in the ESXi Shell and also included in the vCLI package. For improved
security, VMware recommends you install the vCLI package or deploy the vMA virtual appliance, then
run commands against your ESXi hosts, instead of running commands in the ESXi Shell itself. By default,
remote command execution is disabled on an ESXi host. For more information about running esxcli
commands or enabling remote command execution, see Getting Started with vSphere Command-Line
Interfaces.
2 Run the esxcli command with a bandwidth limit value that suits your environment.
The command limits the download rate to 1048756 bytes per second, or 1MB per second.
3 (Optional) To verify that you have set a download rate limit, run the following command.
Problem
The connection between the Update Manager plug-in and the Update Manager server or vCenter Server system
is interrupted, when the servers are restarting or are stopped. In such a case various symptoms are observed.
n Update Manager plug-in displays a reconnection dialog, and after 15-20 seconds, a failure message
appears. The plug-in is disabled.
n Update Manager plug-in displays a reconnection dialog. Within 15-20 seconds, the dialog disappears, and
the plug-in can be used.
n vSphere Client displays a reconnection dialog. After an interval, it displays the login form. To use
Update Manager, you must re-enable the Update Manager plug-in.
Cause
n The Update Manager server stops and is not available for more than 15-20 seconds.
n The Update Manager server restarts, and the service becomes available within 15-20 seconds.
n vCenter Server stops.
Solution
n If the Update Manager server has stopped, start the Update Manager service and re-enable the Update
Manager Client plug-in.
n If the Update Manager server has restarted, wait for it to become available.
n If the vCenter Server service has stopped, start the vCenter Server service and enable the Update Manager
plug-in.
Problem
The connection between the Update Manager plug-in and the Update Manager server or vCenter Server system
is interrupted, when the servers are restarting or are stopped. In such a case various symptoms are observed.
n Update Manager plug-in displays a modal reconnection dialog, and after 15-20 seconds, a failure message
appears. The plug-in for the Update Manager server in use disappears from the vSphere Client.
n Update Manager plug-in displays a modal reconnection dialog. Within 15-20 seconds, the dialog
disappears, and the plug-in can be used.
n If you select to use a vCenter Server system with which a stopped Update Manager server is registered,
the Update Manager plug-in shows a modal reconnection dialog and tries to reconnect to the newly
selected Update Manager server for 15-20 seconds.
n vSphere Client disables all tabs for the vCenter Server system. The Update Manager plug-in is disabled.
When the vCenter Server system is available again, the Update Manager plug-in is automatically enabled
for it.
Cause
n The Update Manager server in use stops and is not available for more than 15-20 seconds.
n The Update Manager server in use restarts, and the service becomes available within 15-20 seconds.
n An Update Manager server that is not currently in use stops.
n vCenter Server stops.
Solution
n If the Update Manager server has stopped, start the Update Manager service.
NOTE Although the Update Manager plug-in is shown as enabled, you have to disable and enable the
plug-in after the connection is restored.
If you select to use another vCenter Server system from the connected group, and the Update Manager
registered with this vCenter Server system is running, the Update Manager plug-in is available for the
running Update Manager server.
n If the Update Manager server has restarted, wait for the Update Manager service to become available.
n If the Update Manager server has stopped, start the Update Manager service.
n If the vCenter Server service has stopped, start the vCenter Server service.
Procedure
To obtain the complete set of the logs, you should log in with the user name and password used for
installing Update Manager.
2 Select Start > All Programs > VMware > Generate Update Manager log bundle.
Log files are generated as a ZIP package, which is stored on the current user’s desktop.
Procedure
1 Log in as an administrator to the computer on which vCenter Server and Update Manager are installed.
2 Select Start > All Programs > VMware > Generate vCenter Server log bundle.
Log files for vCenter Server and the Update Manager server are generated as a ZIP package, which is stored
on the current user’s desktop.
Problem
Update Manager does not generate log bundle after the script is run.
Solution
1 Log in to the computer on which Update Manager is installed, and open a Command Prompt window.
3 To run the script and exclude the vCenter Server logs enter the following command:
cscript vum-support.wsf /n
The /n option lets the script skip the vCenter Server support bundle and collect only the Update Manager
log bundle.
4 Press Enter.
Problem
Cause
Update Manager skips the extensions with missing prerequisites and lists the missing prerequisites as events
when it detects them during the staging and remediation operations. To proceed with staging and remediation,
you must install the prerequisites.
Solution
1 To see which prerequisites are missing, in Compliance View select Tasks & Events > Events.
2 Add the missing prerequisites manually to either an extension or a patch baseline, depending on the type
of the missing prerequisites.
3 (Optional) Create a baseline group that contains the new baseline as well as the original baseline.
Problem
Cause
n Misconfigured Web server proxy.
n Third-party servers are unavailable.
n VMware update service is unavailable.
n Poor network connectivity.
Solution
n Check the connectivity settings. For more information, see “Change the Update Manager Network
Settings,” on page 67.
n Check the third-party Web sites to determine whether they are available.
Problem
Cause
Solution
1 Examine the server logs for scan tasks that are marked as failed.
Problem
Cause
Such a condition typically indicates an error at the start of the scanning process. This might also indicate that
no scan occurred or that the object is not supported for scan.
Solution
Problem
You cannot upgrade VMware Tools because a virtual machine in incompatible compliance state cannot be
remediated.
Cause
If no VMware Tools installation is detected on a virtual machine, a scan of the virtual machine against the
VMware Tools Upgrade to Match Host baseline or a baseline group containing this baseline results in an
incompatible compliance state of the virtual machine.
Solution
Install VMware Tools manually, or right-click the virtual machine in the vSphere Client Inventory and select
Guest > Install/Upgrade VMware Tools.
Problem
Cause
If the VMware vSphere Update Manager Update Download task is not completed successfully after you add
a host to the vSphere inventory, no host patch metadata is downloaded.
Solution
After you add a host or a virtual machine to the vSphere inventory, run the VMware vSphere Update Manager
Update Download task before performing the scan. For more information, see “Run the VMware vSphere
Update Manager Update Download Task,” on page 81.
Problem
Cause
When you upgrade an ESXi host with less than 10MB of free space in its /tmp directory, although
Update Manager indicates that the remediation process completed successfully, the ESXi host is not upgraded.
Solution
1 If you see an Agent Deploy failure, make sure that the /tmp directory has at least 10MB of free space.
Problem
Cause
The maximum number of characters that a filename (including the path) can contain on the operating system
is set to 255 by default.
As part of the patch and upgrade download process, the files that Update Manager downloads in the
Update Manager repository, might have paths that are deeper than the Windows MAX_PATH. You cannot
open, edit, or delete such files, by using Windows Explorer, for example.
Map a network drive to a folder that is as deep in the folder tree of the Update Manager repository as possible.
This shortens the virtual path.
IMPORTANT Ensure that you have the necessary permissions on the network drive and the Update Manager
repository. Otherwise, you might not be able to delete the files from the Update Manager repository.
Solution
u Map the local folder to a network drive, in a command prompt run the following command.
subst Z: C:\Documents And Settings\All Users\Application Data\VMware\VMware Update
Manager\data\vaupgrade\
For example, if the path to the folder of the Update Manager repository where Update Manager stores
virtual appliance upgrades is the following: C:\Documents And Settings\All Users\Application
Data\VMware\VMware Update Manager\data\vaupgrade\... , and the total length of this path exceeds 255
characters, you should map a network drive to the vaupgrade directory (inclusive) or a directory deeper.
Conflict The update conflicts with either an existing update on the host or another
update in the Update Manager patch repository. Update Manager reports the
type of conflict. A conflict does not indicate any problem on the target object.
It just means that the current baseline selection is in conflict. You can perform
scan, remediation, and staging operations. In most cases, you can take action
to resolve the conflict.
Conflicting New Module The host update is a new module that provides software for the first time, but
is in conflict with either an existing update on the host or another update in the
Update Manager repository. Update Manager reports the type of conflict. A
conflict does not indicate any problem on the target object. It just means that
the current baseline selection is in conflict. You can perform scan, remediation,
and staging operations. In most cases, you must take action to resolve the
conflict.
Missing Package This state occurs when metadata for the update is in the depot but the
corresponding binary payload is missing. The reasons can be that the product
might not have an update for a given locale; the Update Manager patch
repository is deleted or corrupt, and Update Manager no longer has Internet
access to download updates; or you have manually deleted an upgrade
package from the Update Manager repository.
Not Installable The update cannot be installed. The scan operation might succeed on the target
object, but remediation cannot be performed.
Incompatible Hardware The hardware of the selected object is incompatible or has insufficient resources
to support the update. For example, when you perform a host upgrade scan
against a 32-bit host or if a host has insufficient RAM.
Unsupported Upgrade The upgrade path is not possible. For example, the current hardware version
of the virtual machine is greater than the highest version supported on the host.
Problem
The state of the attached baseline is incompatible because an update in the baseline is in conflict with either
other updates in the Update Manager patch repository or an existing update on the host.
Cause
n The baseline contains a host update that conflicts with another update already installed on the host.
n The baseline contains a host update that conflicts with other updates in the Update Manager repository.
n The dynamic baseline criteria results in a conflicting set.
n The baseline is attached to a container object and conflicts with one or more inventory objects in the folder.
This is an indirect conflict.
Solution
n Detach or remove the baseline containing the update that conflicts with another update already installed
on the host.
If Update Manager suggests a resolution for the conflicting update, add the resolution update into the
baseline and retry the scan operation.
n Open the Patch Details or the Extension Details window to see details about the conflict and the other
updates with which the selected update is in conflict.
n If the conflicting updates are in the same baseline, remove the conflicting updates from the baseline
and perform the scan again.
n If the conflicting updates are not in the same baseline, ignore the conflict and proceed to install the
updates by starting a remediation.
n Edit the dynamic baseline criteria or exclude the conflicting patches and scan again.
If Update Manager suggests a resolution for the conflicting patch, add the resolution patches into the
baseline and retry the scan operation.
n If the conflict is indirect, you can remediate the container object, but only the objects that are not in conflict
are remediated. You should resolve the conflicts or move the inventory objects that are in conflict, and
then remediate.
Problem
When you perform a host upgrade scan, if the binary package for the host is missing or not uploaded, or if you
upload the wrong binary package, the scan fails.
Solution
1 Edit the host upgrade baseline and import the required package.
Problem
The state of the attached baseline is incompatible because it contains updates that cannot be installed.
Cause
n A VMware Tools Upgrade to Match Host baseline is attached to a virtual machine on which VMware
Tools is not installed. The Upgrade Details window shows the actual reason for the Incompatible state.
n A VMware Tools Upgrade to Match Host baseline is attached to a virtual machine with VMware Tools
not managed by the VMware vSphere platform. The Upgrade Details window shows the actual reason
for the Incompatible state.
Solution
n If VMware Tools is not installed on the virtual machine, install a version of VMware Tools and retry the
scan operation.
n If VMware Tools on the virtual machine is not managed by the VMware vSphere platform, you should
detach the baseline and perform the upgrade manually. For more information about upgrading VMware
Tools when it is packaged and distributed as OSPs, see VMware Tools Installation Guide for Operating System
Specific Packages.
Problem
Cause
The upgrade path for the virtual hardware of the virtual machine is not possible, because the current hardware
version is higher than the latest version supported on the host. The Upgrade Details window shows the actual
hardware version.
Solution
No workaround is available. See the upgrade details to check the current hardware version.
VUMV_VERSION
This database view contains Update Manager version information.
DATABASE_SCHEMA_VERSION Update Manager database schema version (an increasing integer value),
for example 1
VUMV_UPDATES
This database view contains software update metadata.
TITLE Title
DESCRIPTION Description
META_UID Unique ID provided by the vendor for this update (for example,
MS12444 for Microsoft updates)
DOWNLOAD_TIME Date and time this update was downloaded by the Update Manager
server into the Update Manager database
SPECIAL_ATTRIBUTE Any special attribute associated with this update (for example, all
Microsoft Service packs are marked as Service Pack)
VUMV_HOST_UPGRADES
This database view provides detailed information about the host upgrade packages.
VUMV_VA_UPGRADES
This database view represents detailed information about the virtual appliance upgrade packages.
VUMV_PATCHES
This database view contains patch binary metadata.
PATCH_ID Unique ID for the current patch, generated by the Update Manager
server
DOWNLOAD_TIME Date and time the patch was downloaded by the Update Manager
server into the Update Manager database
VUMV_BASELINES
This database view contains the details for a particular Update Manager baseline.
BASELINE_ID Unique ID generated for this baseline by the Update Manager server
BASELINE_VERSION History of when the baseline has been changed (old version remains in
the database)
VUMV_BASELINE_GROUPS
This database view contains the details for a particular Update Manager baseline group.
BASELINE_GROUP_ID Unique ID generated for this baseline group by the Update Manager
server
TYPE Type of targets that this baseline applies to: virtual machine, virtual
appliance, or ESX/ESXi host
LASTUPDATED Information about the last time that the baseline group was updated
VUMV_BASELINE_GROUP_MEMBERS
This database view contains information about the relationship between the baseline and the baseline group
in which it is included.
BASELINE_GROUP_ID Unique ID generated for this baseline group by the Update Manager
server
VUMV_PRODUCTS
This database view contains product metadata, including that for operating systems and applications.
PRODUCT_ID Unique ID for the product, generated by the Update Manager server
FAMILY Windows, Linux, ESX host, or Embedded ESXi host, Installable ESXi
host
VUMV_BASELINE_ENTITY
This database view contains the objects to which a particular baseline is attached.
VUMV_UPDATE_PATCHES
This database view contains patch binaries that correspond to a software update.
VUMV_UPDATE_PRODUCT
This database view contains products (operating systems and applications) to which a particular software
update is applicable.
VUMV_ENTITY_SCAN_HISTORY
This database view contains the history of scan operations.
SCAN_STATUS Result of the scan operation (for example, Success, Failure, or Canceled)
VUMV_ENTITY_REMEDIATION_HIST
This database view contains the history of remediation operations.
VUMV_UPDATE_PRODUCT_DETAILS
This database view contains information about the products (operating systems and applications) to which a
particular software update is applicable.
VUMV_BASELINE_UPDATE_DETAILS
This database view contains information about the software updates that are part of a baseline.
BASELINE_ID Unique ID generated for this baseline by the Update Manager server
BASELINE_VERSION History about when the baseline was changed (old version remains in
the database)
TARGET_COMPONENT Type of targets this baseline applies to: virtual machine, virtual
appliance, or host
VUMV_ENTITY_SCAN_RESULTS
This database view contains status history of a particular entity for an update.
ENTITY_STATUS Status of the entity with regard to the update: Missing, Installed, Not
Applicable, Unknown, Staged, Conflict, ObsoletedByHost,
MissingPackage, NotInstallable, NewModule, UnsupportedUpgrade,
and IncompatibleHardware
VUMV_VMTOOLS_SCAN_RESULTS
This database view contains information about the latest results for VMware Tools scan.
ENTITY_STATUS Status of the entity against the latest VMware Tools version
VUMV_VMHW_SCAN_RESULTS
This database view contains information about the latest results for virtual machine hardware scan.
VUMV_VA_APPLIANCE
This database view contains information about virtual appliances.
VAID Managed object ID of the virtual appliance, used as the primary key
LASTGOODIP Last known IP address that the virtual appliance had (can be IPv6 or
IPv4)
PRODUCTID ID in VUMV_VA_PRODUCTS
VUMV_VA_PRODUCTS
This database view contains information about the virtual appliance vendor.
P scheduled remediation
patch baseline for hosts 133
creating 84 for virtual machines and virtual
editing 88 appliances 133
patch details, overview 109 set up and use UMDS 165
patch download location setting up and using UMDS 59
configuring for UMDS 60 shared repository, using 70
configuring for Update Manager 80 smart rebooting, configuring 79
patch download task, running 81 snapshot, configuring 75
patch fix notifications 73 staging, overview 21
patch recall notifications 73 staging patches 121
patches supported database formats 24
configure UMDS 59 system requirements for Update Manager 23
conflicting 180
deleting 178 T
download using UMDS 61 tasks and events, viewing 135
filtering 87, 148 testing patches 155
import 71 third-party URL, adding in UMDS 61
include in a baseline 148 throttle update download bandwidth
staging 121 command line 171
viewing 147 vSphere Client 171
troubleshooting
pre-remediation check report 129
baselines 176
prerequisites, for the database 24
compliance 177
privileges 81
conflicting updates 180
proxy settings, configuring 72
connection loss 173, 174
PXE booted ESXi hosts, enable remediation 79
ESX host applicable 177
ESX/ESXi host scanning failure 178
R
remediation ESXi host upgrade failure 178
of hosts 122, 124, 127 extension remediation or staging failure 176
of virtual appliances 131 generating Update Manager and vCenter
of virtual machines 131 Server log bundles 175
overview 21 generating Update Manager log bundles 175
remediation, overview 117 incompatible compliance state 179
removing, Update Manager 55 log files are not generated 175
removing, baselines from baseline groups 96 missing package 180
restart Update Manager 81 not installable status 181
restoring scanning 177
Update Manager configuration 44 unsupported upgrade 181
Update Manager database 44 VMware Tools upgrade fails 177
roll back 131
running, patch download task 81 U
UMDS
add third-party URL 61
S
scanning compatibility matrix 58
hosts 101 configuring 59
overview 20, 101 download data 59
schedule 102 download host updates 59
viewing results 103 download patches 61
virtual appliance 102 download VA upgrades 61
virtual machine 102 download virtual appliance upgrades 59
schedule, scanning 102 export downloaded patches 62
installing 57, 58
overview 57 V
setting up and using 59 VA upgrades, download with UMDS 61
upgrading 57 vCenter Server, downloading the installer 35
understanding, Update Manager 13 viewing
uninstalling compliance information 103
Update Manager Client 55 events 135
Update Manager server 55 notifications 75
uninstalling Update Manager 55 patches 147
unsupported upgrade 181 scan results 21, 103
update, inventory objects 164 tasks and events 135
update download schedule, modify 73 virtual appliance
update download, overview 16 configure URL in UMDS 61
Update Manager manually scan 102
add third-party URL 69 scanning 102
best practices 51 schedule scan 102
common user goals 151 virtual appliance remediation, overview 130
virtual appliance upgrade baseline
database 27, 41
creating 91, 92
database views 183
editing 93
deployment configurations 51 virtual appliance upgrades
deployment models usage 53 accept EULA 149
hardware requirements 23 view available 149
installing 33 virtual appliances, upgrade 163
network connectivity settings 66 virtual machine
manually scan 102
patch repository 147
remediation failure 75
process 14
scanning 102
recommendations 51
schedule scan 102
restart the service 81
snapshot 75
supported Operating Systems 24
virtual machine and virtual appliance baseline
system requirements 23
group, creating 95
understanding 13
virtual machine remediation, overview 130
uninstalling 55 virtual machines, upgrade 161
upgrading 47 VMware Tools 132
Update Manager PowerCLI script 155 VMware Tools upgrade fails,
updated information 11 troubleshooting 177
updates, deleting 178 VMware Tools upgrade on power cycle 132
upgrade VMware Tools, status 115
of hosts 160
virtual machines 161 W
upgrade and update, hosts 162
warning notifications 75
upgrade details, overview 110
upgrade hosts 124
upgrade VMware Tools 132
upgrading
UMDS 57
Update Manager 47
Update Manager Client 49
Update Manager server 47
virtual appliances 163
using
Internet as a download source 69
shared repository as a patch download
source 70