Deploy and Manage Complex Update Manager Environments

In this post we will talk about Deploy and Manage Complex Update Manager Environments. in this case one of our customer have internet access in DMZ area therefore he need to deploy VMware Update Manager service in another machine in DMZ and configure it to download updates.

– Install update Manager service

UMDS Prerequisites

  • UMDS and Update Manager must be installed on different machines
  • Update Manager DB needs to be configured and a ODBC connection configured on the host
  • Ensure that the machine on which you install UMDS has Internet access.
Create a 32-Bit DSN on a 64-Bit Operating System

install or upgrade the Update Manager server on 64-bit operating systems. Even though Update Manager runs on 64-bit operating systems, it is a 32-bit application and requires a 32-bit DSN.

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.

Install the ODBC drivers

Run the 32-bit ODBC Administrator application, located at [WindowsDir]\SysWOW64\odbcad32.exe.

vum3

Use the application to create your DSN.

vum4

-Installing UMDS

  • Insert the VMware vCenter Update Manager installation DVD in the DVD drive
  • Browse to the “umds” folder on the DVD and run “VMware-UMDS.exe”

vum1

  • Select the language for the installation and click OK

vum2

  • Review the Welcome page and click Next
  • Read the patent agreement and click Next
  • Accept the terms in the license agreement and click Next
  • Select the database options and click Next
  • Enter the Update Manager Download Service proxy settings and click Next
  • Click Finish when complete Select the Update Manager Download Service installation and patch download directories and click Next Click Install to begin the installation.

Configuring UMDS

UMDS doesn’t have a GUI. All configuration and usage is done via the Windows command line. To begin configuration, open a command prompt and browse to the directory where UMDS is installed:

umds-cmd

To set up a download of all ESXi 6.0 host updates and all virtual appliance upgrades, run the following command:

vmware-umds -S --enable-host --enable-va

To set up a download of all ESXi host updates and disable the download of virtual appliance upgrades, run the following command:

vmware-umds -S --enable-host --disable-va

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

Change the UMDS Patch Repository Location

The default location in 64-bit Windows is C:\Program Files (x86)\VMware\Infrastructure\Update Manager.

and we want to change it to another location as we configured shared repository we can use this command for changing to the other location

vmware-umds -S --patch-store your_new_patchstore_folder
Downloading and Exporting Patches

the command to use to tell UMDS to download patches

vmware-umds -D

and this command for export all files

vmware-umds -E --export-store e:\patchstore

Configure a Shared Repository

You must create the shared repository using the UMDS and host it on a web server or a local disk. The UMDS you use must be of a version compatible with Update Manager. 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. Follow the below steps:

  • On the Configuration tab, under Settings, click Patch Download Settings
  • In the Patch Download Sources pane, select Use a shared repository
  • Enter the path or the URL to the shared repository

give Update Manager access to the patches downloaded by UMDS is to publish the patch location using IIS, running on the UMDS server. I’ll not go into installing the IIS feature on the UMDS server, but once you have it installed, create a virtual directory pointing to your patch location. To do so, in IIS Manager, right click the Default Web Site, then select ‘Add Virtual Directory:

umds-virtual-directory-iis

After creating the virtual directory, the .vib and .sig file extensions need to be added as MIME types. Use the ‘application/octet-stream’ for both entries:

umds-add-mime-type

vcsa60configurevum01

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s