This article is now 4 years old! It is highly likely that this information is out of date and the author will have completely forgotten about it. Please take care when following any guidance to ensure you have up-to-date recommendations.
Most vSphere admins are more than comfortable with using Update Manager to download patches and update their environment, but few that I talk to actually know a huge amount about the Update Mangaer Download Service (UMDS). UMDS is tool you can install to download patches (and third party VIBs - I’ll get to that) for Update Manager and it’s useful for environments that don’t have access to the internet, or air-gapped, and also for environments with multiple vCenter Servers where you don’t necessarily want to download the same patch on every server. You can control which patches you download (for example, limiting to ESXi 6.7+ only) and you can add third party Vendor repositories (e.g. Dell or HPE).
I’m going to install UMDS on a Linux VM, download the VMware, HPE and Dell patches and then publish those internally on an SSL secured site using NGINX. The high level process is:
Deploy the UMDS server
Install UMDS
Configure UMDS
Install NGINX
Configure vCenter
Deploy the UMDS server
I’ve deployed a CentOS7 VM from a template and added a big data drive for the UMDS data (this makes it easier to extend later if I need to). Check out the currently supported Linux operating systems for UMDS for 6.5 and 6.7.
Note: for vSphere 6.7u1, VMware dropped the requirement for a PostgreSQL database
Edit /var/lib/pgsql/9.4/data/pg_hba.conf and change local, IPv4 and IPv6 to use md5 authentication (not ideal, but it works)
1
2
3
4
5
6
7
8
9
10
11
12
# TYPE DATABASE USER ADDRESS METHOD# "local" is for Unix domain socket connections onlylocal all all md5
# IPv4 local connections:host all all 127.0.0.1/32 md5
# IPv6 local connections:host all all ::1/128 md5
# Allow replication connections from localhost, by a user with the# replication privilege.#local replication postgres peer#host replication postgres 127.0.0.1/32 ident#host replication postgres ::1/128 ident
Validate the connection using isql -v UMDS_DSN <database_username> <database_password>;
Install UMDS
Next, mount the vCenter Server Appliance ISO file, copy the UMDS installer tar.gz file into the /umds folder and extract the installer. When this is complete there should be a vmware-umds-distrib folder.
1
2
3
4
5
6
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
cp /mnt/cdrom/umds/VMware-UMDS-6.7.0-8169861.tar.gz /umds/VMware-UMDS-6.7.0-8169861.tar.gz
cd /umds
tar xvzf VMware-UMDS-6.7.0-8169861.tar.gz
umount /mnt/cdrom
Run the UMDS installation script /umds/vmware-umds-distrib/vmware-install.pl
Accept the EULA
Enter the install location (/umds/vmware-umds)
Configure proxy (you can configure it later if required)
Enter the patch location (/umds/vmware-umds-patches)
Configure database connection using <dsn_name>, <database_username> and <database_password>