Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

Products and Accounts

Support

Knowledge

Communities

Success

Learning

My Subscriptions

Loading

Knowledge Base

Automating patch downloads for VMware vCenter Update Manager servers that do not have an Internet connection (1000627)

Last Updated: 6/19/2020Categories: Best PracticesTotal Views: 9996Language:
English

3 like this article

Subscribe to get an email
newsletter with new updates

3 people found this helpful Please provide article feedback:

Symptoms

You have VMware Update Manager server(s) that do not have an Internet connection, or are possibly in an isolated network.

You need to maintain your environment using VMware Update Manager.

You want a simple method of automating the download of patches without manual intervention.

automate-patch-download-update-manager

Purpose

This article provides information on how to utilize the Update Manager Download Service to distribute patches to VMware Update Manager server(s) that do not have a valid Internet connection or are in isolated networks.

Resolution

This article assumes that your servers can communicate with each other via UNC shares on your internal network. If this is not possible in your environment, you must use some form of external media to manually transport the patches from one location to another. For more information, see Setting up VMware Update Manager service for isolated networks (1004455).

Note: The procedures in this article are only for Windows 2008 and later operating systems.

Prerequisites

The amount of space required to store the updates on your repository vary based on the number of different operating systems and applications you will be patching and the number of years you will be gathering patches on this system. You may need at least 50 gigabytes (GB) for each year of ESX/ESXi patching and 11GB for each virtual machine operating system and locale combination. For example, to use the server for two years to patch Windows XP US English and Windows Server 2003 hosts, you require at least 100GB for the hosts and 22GB for the virtual machines for a total of 122GB. Therefore, to install in such an environment, install it to a server with at least 122GB of available space for patch storage.

The Update Manager Download Service installer requires a database. The installation program includes an option to create a SQL Server 2005 Express database or you can use an existing Microsoft SQL Server database or an existing Oracle database. In addition, the Update Manager Download Service requires that it be installed on a server that does not already have VMware Update Manager installed and has a valid Internet connection.

The VMware Update Manager servers that you configure do not require an Internet Connection and point to the shared repository that you create using the procedures in this article. For more information on configuring Update Manager and the Update Manager Download Service, see the VMware Documentation site .

This article also assumes that your environment already has the VMware Update Manager server(s) installed. This is not a comprehensive guide on installation procedures, but merely on how to setup patch repositories using the Update Manager Download Service. For information on installing vCenter Server and VMware Update Manager visit the VMware Documentation site.

Setting up the shared repository on the VMware Update Manager server

Log in to each VMware Update Manager server that you will be installing that does not have an Internet connection as an Administrator.

Create a patch repository folder that will have the exported patches from the Update Manager Download Service server at the desired drive location by going to My Computer > <Drive Letter>. For example, C:\.

Right-click the My Computer window and click New > Folder and name it umdsexport.

Right-click the newly create umdsexport folder and click Properties.

Click the Sharing tab, and then click Advanced Sharing.

Click Share this folder.

Change the default share name to Repository.

Click Permissions > Add > Locations and change location to the local computer.

Under Enter the object names to select, type Administrators and then click Check Names.

Click OK to save changes.

Click Administrators.

Click the Allow check box to give Administrators Full Control.

Click OK to save changes.

Note: Perform these steps for every VMware Update Manager server you will be installing. These steps are not necessary for a VMware Update Manager server that has an Internet Connection.

Configuring the Update Manager Download Service (UMDS)

Log in to the server in which you want to setup Update Manager Download Services as an Administrator.

Note: This can be a physical or virtual machine and must have a valid Internet connection. VMware Update Manager cannot be installed on this server. The Update Manager Download Service must be on a separate platform as it contains it's own database.

To install the Update Manager Download Service, run the VMware-UMDS.exe file located at the umds folder of the VMware vCenter Server installation CD. Use the wizard to complete the installation.

Map to the network share(s) that were created by navigating to My Computer > Map Network Drive.

Choose a drive letter. For example, X:\.

Click Browse and navigate to the VMware Update Manager server.

Choose the share Repository. Repeat this step for each VMware Update Manager server that does not have an Internet connection and assign it a unique drive letter.

Click Reconnect at logon and then click Finish.

Create a schedule task in Windows to run once every day at the desired time. This task must be run before the schedule task below in vCenter Server. Therefore, choose sometime during the day.

To do this:

Launch Task Scheduler for you version of Windows.

Note:  For Windows Vista and later operating systems, see http://technet.microsoft.com/en-us/library/dd851678.aspx.

The preceding links were valid as of May 18, 2011. If you find the links to be invalid or broken, leave feedback and a VMware employee will update it.

In the General tab, name the task as UMDS Export.

Select the Run whether user is logged on or not and Run with highest privileges options.

Click the Triggers tab and then click New.

In Begin the task, click On a schedule.

Click Daily and then Recur every 1 days.

For Start, retain the current date and set a desired time.

Click OK.

Click Actions > New.

Under Action, click Start a program.

In program/script type %PROGRAMFILES%\VMware\Infrastructure\Update Manager\vmware-umds.exe.

Under Add arguments (optional), type the switches –-download.

Under Start in, select X:\.

Click New under Actions.

Under Action, click Start a program.

In program/script, type %PROGRAMFILES%\VMware\Infrastructure\Update Manager\vmware-umds.exe.

Under Add arguments (optional), type the switches –E X:\.

Under Start in, Select X:\.

Click OK to save the tasks.

Go to the Task Scheduler Library, right-click the task, and click Run.

Note: You can create additional mapped drives for each VMware Update Manager server that you have, which does not have an Internet connection. However, each drive letter must be unique, and you must create scheduled tasks for each VMware Update Manager server to export the patches. For example, if you are installing two VMware Update Manager servers with no Internet connection, you can create an X:\ and Y:\ drive, and then create tasks that calls vmware-umds to export those patches to the drive letters.

Configuring the VMware Update Manager server to point to the patch repository

Go to each server that has VMware Update Manager installed without an Internet connection and log in as Administrator.

Launch vCenter Server and log in with a user that has administrative rights.

Navigate to Solutions and Applications and select Update Manager.

Click the Configuration tab.

Click Patch Download Settings.

Select the Use a shared repository option and type C:\umdsexport.

Click the Validate URL button and click Apply after it is validated.

Click Patch Download Schedule.

Click the Edit Patch Downloads link.

Run through the wizard to configure the schedule at which VMware Update Manager should check the shared repository for new patches. For example, configure this to happen a few hours after the scheduled time of the Update Manager Download Service download/export. Also, ensure that the scheduled task in the Configuring the Update Manager Download Service (UMDS) section of this article is completed before executing the task. Otherwise, the task fails to import patches.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
使用 SHA1sum 验证复制文件的完整性 (2099397)

KB
•
仮想マシン オプションが vSphere Client で灰色表示される場合のトラブルシューティング (2048748)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCenter Update Manager

Related Versions:

VMware vCenter Update Manager 5.0.x

VMware vCenter Update Manager 4.1.x

VMware vCenter Update Manager 4.0.x

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant