How to install VMware vSphere Update Manager 5.5

How to install VMware vSphere Update Manager 5.5

If you don’t already know, VMware Update Manager (aka, VUM) is a tool which allows you to easily automate patching and upgrading VMware hosts as well as virtual machine hardware and VMware tools. It’s a wonderful tool and makes upgrading and patching so much easier and allows you to quickly see how compliant/up-to-date your environment is with the built in pie graph.

Recently we had some pretty serious array issues which corrupted the VUM database taking Update Manager down. Since we was going to have to rebuild Update Manager I opted to move from Windows Server 2008 to Windows Server 2012, in the steps below I’ll document step by step how to install VMware Update Manager 5.5 on Server 2012 and a separate database.

Creating the VMware Update Manager database

Since we already have our vCenter SQL database on it’s on VM (not installed on the vCenter server), I’m going to use the same database server to also run the VMware Update Manager database as well.

To automate the creation of the database I used ran the following script on the database server, be sure to replace “domain\service-account-name” with your own domain and service account username.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* Creates VMware Update Manager database. */
/* Change login name to VUM service account */
EXEC('CREATE LOGIN [domain\service-account-name]FROM WINDOWS')
USE MSDB
EXEC sp_grantdbaccess 'domain\service-account-name'
EXEC sp_addrolemember db_owner, 'domain\service-account-name'
USE master
create database "VUM"
on
( name = 'VUM',
filename = 'D:\MSSQL\Data\VUM.mdf',
size = 250MB,
filegrowth = 25MB )
log on
( name = 'VUM log',
filename = 'D:\MSSQL\Logs\VUM.ldf',
size = 25MB,
filegrowth = 2MB )
COLLATE SQL_Latin1_General_CP1_CI_AS;
EXEC('ALTER AUTHORIZATION ON DATABASE::"VUM" TO [domain\service-account-name]')
GO

That should create the databases needed with the correct permissions. The only thing you may want to change is set the database recovery from “Full” to “Simple”, otherwise that’s it on the database server.

Creating the VUM 32-bit DSN

First thing’s first, make sure your VUM service account is a local admin on your new Server 2012 virtual machine. Next, before I could get started configure the 32-bit DSM connection I first had to install the SQL Server Native Client which I quickly installed by mounting the SQL Server ISO to my new VUM virtual machine and went to the folder: 1033_enu_lp\x64\setup\x64 and ran the file: sqlncli.msi.

Now lets setup the DSN…

  1. Open the 32-bit ODBC Manager which is located here:
    C:\Windows\SysWOW64 named odbcad32.exe
  2. Click on the System DSN tab and then click on Add.
    Add ODBC step 1
  3. From the list of data sources, select SQL Server Native Client and click on Next.
    Add ODBC step 2
  4. Give the new data source a name, description and lastly enter the name of your SQL database server and click Next.
    Add ODBC step 3
  5. Leave the default “with Integrated Windows Authentication” selected and click on Next
    Add ODBC step 4
  6. From the default database drop down menu select the name of your VUM database and click Next.
    Add ODBC step 5
  7. Finish the configuration and now we’re ready to actually install VUM!
    Add ODBC step 6

Installing VMware Update Manager

For this install I used the latest ISO currently available at the time of writing this (VMware-VIMSetup-all-5.5.0-1750795-20140201-update01.iso).

  1. Mount the ISO image to your VM which should start the VMware vCenter Installer, select “vSphere Update Manager” and click on Next
    vSphere installer
  2. Select the language of your choice and click on Ok.
    Installing vSphere Update Manager step 1
  3. Start the install wizard by clicking Next.
    Installing vSphere Update Manager step 2
  4. Accept the license agreement.
    Installing vSphere Update Manager step 3
  5. I want VUM to download updates right away and so I left the default “Download updates from default sources immediately after installation” checked.
    Installing vSphere Update Manager step 4
  6. VUM needs to register with vCenter, so enter the vCenter IP or Name along with any username and password that has administrator access on vCenter.
    Installing vSphere Update Manager step 5
  7. Since we’ve opted to use a standalone SQL server for this install, select “Use an existing supported database” and use the previously configured DSN from the drop down (VUM).
    Installing vSphere Update Manager step 6
  8. Summary of database configuration.
    Installing vSphere Update Manager step 7
  9. Enter the IP or name of your vCenter server, I’ve used the FQDN name in this case.
    Installing vSphere Update Manager step 8
  10. Neither of my drives on the VUM VM have have 120GB or more free space and thus the installer shows this warning message. It’s okay, just click Ok to continue.
    Installing vSphere Update Manager step 9
  11. I added an 80GB drive to the VM and changed the destination folder to the secondary drive. You don’t have to change the destination if you don’t want to. Click Next.
    Installing vSphere Update Manager step 10
  12. To start the installation click on Install
    Installing vSphere Update Manager step 11
  13. That’s it, click on Finish.
    Installing vSphere Update Manager step 12

Now that the install for Update Manager is complete, log into the vSphere client and confirm the “VMware vSphere Update Manager” plugin is listed.

vSphere Update Manager plugin installed

You’ve now installed vSphere Update Manager and are ready to start upgrading and patching your hosts. If you need help with that I’ve already posted about that earlier in my Upgrade ESXi host to ESXi 5.5 using VMware Update Manager 5.5 post.