Part II – Update Manager Download Service (UMDS) Installation and Configuration Guide


This walkthrough is part II of a series of guides on installing and configuring VMware’s tools for updating and patching ESXi 4.1 hosts. You can find Part I here and Part III here. The Update Manager Download Service (UMDS) is used in an air-gap environment where the vCenter Update Manager server (VUM) does not have access to the Internet to download patches itself – instead it relies on UMDS to download the patches. Once patches are downloaded, they’re manually copied via removable media, usually a CD/DVD, to VUM. Once VUM has the patches, it then works through the vSphere Client and the Update Manager plug-in to update the hosts. Although VUM can download operating system patches for Windows and metadata for Linux patches, we’re not using this configuration in this guide. We’re assuming the environments are updated via WSUS or SCCM.

Although UMDS can be installed a 32-bit operating system, we’re using 64-bit Windows Server 2008.

Install UMDS

Okay, so before you actually install UMDS, you’ll want to prepare your disks. In this walkthrough, we’re giving our VM a second virtual hard disk of 40 GB for the installation of UMDS as well as storage of patches and updates. Recall that you’ll need twice as much storage space for all your patches and updates. The original download will take up space, then the export UMDS command copies the files to another directory to be transferred to VUM. For now, ensure that the second drive is given the letter D:. This is just for standardization’s sake. Also, create two folders at the root of D: called UMDSrepo for UMDS repository and UMDSexport. These are where all the patches and updates will be downloaded and exported.

UMDS is installed from the standard vCenter installation DVD. It’s not an option you’ll see on the setup menu, however. You have to drill to D:\umds where you’ll find the executable VMware-UMDS.exe. Run this program to start the installation.

Simply Next-Next-Finish through the first few windows, viewing all the patents and reading the entire EULA. Recall from the VUM installation, if you don’t create a 32-bit DSN (which UMDS requires if connecting to a SQL Server database), you’ll be berated by your boss for not doing so then confronted by this message early on in the UMDS installation:

By now, you’re probably an expert at creating DSN connections to backend SQL Server databases. And as such an expert, you may be screaming at me, “We haven’t created a SQL Server database yet to which we’re connecting!” To which I’d say, you’re half correct, sir. Indeed, we haven’t created a database in our backend SQL Server because we’re not connecting to a backend SQL Server. I conveniently forgot to tell you that we will not be using a backend database. Alas, because of the size of our environment and to treat this as a true air-gap network, we’ve chosen to use a local installation of SQL Server 2005 Express which is conveniently shipped with the UMDS installation media. So instead of choosing to Use and existing supported database, select Install a Microsoft SQL Server 2005 Express instance (for small scale deployments).

Click Next. If you’re not using a proxy to access the Internet, click through the next window. Change the installation directory and the location for downloading patches to the D: drive as shown below.

Click Install on the next screen and you’re good to go. If everything’s gone well you’ll see a successful installation. When it’s finished, we’ll configure the download settings.

Configure UMDS

Open a command prompt and navigate to D:\Program Files (x86)\VMware\Infrastructure\Update Manager. Note that by operating out of a different directory than C:, after you change directories using the ‘cd’ command, you’ll need to type D: to actually operate from that drive. In this directory is a program named vmware-umds.exe. You’ll use this program for UMDS tasks such as:

  • configuring which patches and updates to download
  • setting which directory to download patches and updates
  • downloading patches and updates
  • exporting patches and updates

Run the command

vmware-umds -–set-config -–enable-host 1 -–enable-win 0 -–enable-lin 0


This tells UMDS to only download patches and updates for ESX/ESXi hosts. Using all the defaults, UMDS will then download ESX/ESXi 4.x patches as well as Virtual Infrastructure 3 patches. We don’t want this and in a moment, we’ll modify an XML file so that we don’t download unnecessary patches. Notice the last lines written to the console, the INFO lines. These tell you what patches and updates you’ll be downloading.

Next, we’ll configure the export location. The export function will pull patch and update metadata from the UMDS database to include in the files transferred to the VUM server. You only need to run this command once, unless you want to change the location of your export directory, such as if you run out of hard drive space and add another hard drive. Be sure you’ve changed directories into the UMDS installation path. The command is vmware-umds.exe -E -–export-store D:\VUMexport. Of course, your export location may be different.

The last configuration setting we have to make to disable the option that downloads Virtual Infrastructure 3 patches and updates. This is simply editing an XML file – specifically commenting out the line that enables such downloads. In Windows Explorer, navigate to the Update Manager installation directory and find the downloadConfig.xml file. Right click this file and select, Open with > WordPad. Using Notepad doesn’t present the XML code well. WordPad correctly displays the carriage returns and word wrapping.

Find the portion of the file starting with and ending with . Add the following tags to the beginning and ending of the lines, respectively:

<!– and –>

Save the file and close WordPad. Now double-click the file to open it in Internet Explorer. You should see the entire ESX3x line grayed out, which means it’s been commented out of the XML file and UMDS will not download VI3 patches or updates.

This concludes the installation and configuration of UMDS in an air gap environment. There is another guide in this series explaining the UMDS and VUM patching process. There, you’ll see how to download patches, export them, unpack them into VUM, as well as create baselines and baseline groups, and scan and remediate hosts.

Google


5 Comments on “Part II – Update Manager Download Service (UMDS) Installation and Configuration Guide”

  1. Raymond says:

    Mike,

    Thanks for the guide.
    Could you please check a couple of things though:

    1. I believe you have left out the ‘-E’ and an additional ‘-‘syntax in the below string: vmware-umds.exe –export-store D:\VUMexport

    Should be:
    vmware-umds.exe -E -–export-store D:\VUMexport

    2. You have left out a few ‘-‘ in the below string:
    vmware-umds –set-config –enable-host 1 –enable-win 0 –enable-lin 0

    Should be:

    vmware-umds –set-config –enable-host 1 –enable-win 0 –enable-lin 0

    Thanks all the same.

    All the best,

    Raymond.

  2. Ok, now how do you stage the exported updates onto your isolated update manager server?


Leave a comment

vceplus-200-125    | boson-200-125    | training-cissp    | actualtests-cissp    | techexams-cissp    | gratisexams-300-075    | pearsonitcertification-210-260    | examsboost-210-260    | examsforall-210-260    | dumps4free-210-260    | reddit-210-260    | cisexams-352-001    | itexamfox-352-001    | passguaranteed-352-001    | passeasily-352-001    | freeccnastudyguide-200-120    | gocertify-200-120    | passcerty-200-120    | certifyguide-70-980    | dumpscollection-70-980    | examcollection-70-534    | cbtnuggets-210-065    | examfiles-400-051    | passitdump-400-051    | pearsonitcertification-70-462    | anderseide-70-347    | thomas-70-533    | research-1V0-605    | topix-102-400    | certdepot-EX200    | pearsonit-640-916    | itproguru-70-533    | reddit-100-105    | channel9-70-346    | anderseide-70-346    | theiia-IIA-CIA-PART3    | certificationHP-hp0-s41    | pearsonitcertification-640-916    | anderMicrosoft-70-534    | cathMicrosoft-70-462    | examcollection-cca-500    | techexams-gcih    | mslearn-70-346    | measureup-70-486    | pass4sure-hp0-s41    | iiba-640-916    | itsecurity-sscp    | cbtnuggets-300-320    | blogged-70-486    | pass4sure-IIA-CIA-PART1    | cbtnuggets-100-101    | developerhandbook-70-486    | lpicisco-101    | mylearn-1V0-605    | tomsitpro-cism    | gnosis-101    | channel9Mic-70-534    | ipass-IIA-CIA-PART1    | forcerts-70-417    | tests-sy0-401    | ipasstheciaexam-IIA-CIA-PART3    | mostcisco-300-135    | buildazure-70-533    | cloudera-cca-500    | pdf4cert-2v0-621    | f5cisco-101    | gocertify-1z0-062    | quora-640-916    | micrcosoft-70-480    | brain2pass-70-417    | examcompass-sy0-401    | global-EX200    | iassc-ICGB    | vceplus-300-115    | quizlet-810-403    | cbtnuggets-70-697    | educationOracle-1Z0-434    | channel9-70-534    | officialcerts-400-051    | examsboost-IIA-CIA-PART1    | networktut-300-135    | teststarter-300-206    | pluralsight-70-486    | coding-70-486    | freeccna-100-101    | digitaltut-300-101    | iiba-CBAP    | virtuallymikebrown-640-916    | isaca-cism    | whizlabs-pmp    | techexams-70-980    | ciscopress-300-115    | techtarget-cism    | pearsonitcertification-300-070    | testking-2v0-621    | isacaNew-cism    | simplilearn-pmi-rmp    | simplilearn-pmp    | educationOracle-1z0-809    | education-1z0-809    | teachertube-1Z0-434    | villanovau-CBAP    | quora-300-206    | certifyguide-300-208    | cbtnuggets-100-105    | flydumps-70-417    | gratisexams-1V0-605    | ituonline-1z0-062    | techexams-cas-002    | simplilearn-70-534    | pluralsight-70-697    | theiia-IIA-CIA-PART1    | itexamtips-400-051    | pearsonitcertification-EX200    | pluralsight-70-480    | learn-hp0-s42    | giac-gpen    | mindhub-102-400    | coursesmsu-CBAP    | examsforall-2v0-621    | developerhandbook-70-487    | root-EX200    | coderanch-1z0-809    | getfreedumps-1z0-062    | comptia-cas-002    | quora-1z0-809    | boson-300-135    | killtest-2v0-621    | learncia-IIA-CIA-PART3    | computer-gcih    | universitycloudera-cca-500    | itexamrun-70-410    | certificationHPv2-hp0-s41    | certskills-100-105    | skipitnow-70-417    | gocertify-sy0-401    | prep4sure-70-417    | simplilearn-cisa    |
http://www.pmsas.pr.gov.br/wp-content/    | http://www.pmsas.pr.gov.br/wp-content/    |