Resetting VMware Update Manager Database on a vCenter Server Appliance 6.5 (2147284)

I ran into a need to reset the VMware Update Manger Database after a Upgrade from 6 to 6.5 vCenter Server Appliance. I thought I would share the KB.

This does remove all baselines, and all uploaded patches. Thus, document what you have. I had to do this because have the upgrade from vCenter Server Appliance 6 to vCenter Server Appliance 6.5 ; when I would scan a host, it would fail instantly.

 

Below is the KB.

 

KB: 2147284
Updated: Feb 1, 2017
Languages:
English
Product(s):
VMware vCenter Server Appliance
Product Version(s):
VMware vCenter Server Appliance 6.5.x

Resetting VMware Update Manager Database on a vCenter Server Appliance 6.5 (2147284)

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2147284

 

Purpose

The following article outlines how to reset the VMware Update Manager Database and Patch Store on a vCenter Server Appliance 6.5.

Starting with vCenter Server Appliance 6.5, the VMware Update Manager is embedded into the vCenter Server Appliance 6.5.

Resolution

Cautions:The following is a destructive task. Ensure you have working backups and/or snapshots of the vCenter Server Appliance 6.5 before proceeding.

 

  1. Connect to vCenter Server Appliance 6.5 via SSH
  2. Run the shell command to switch to the BASH Shell:shell
  3. Stop the VMware Update Manager Service:service-control –stop vmware-updatemgr
  4. Run the following command to reset the VMware Update Manager Database:/usr/lib/vmware-updatemgr/bin/updatemgr-util reset-db
  5. Run the following Command to delete the contents of the VMware Update Manager Patch Store:rm -rf /storage/updatemgr/patch-store/*
  6. Start the VMware Update Manager Service:service-control –start vmware-updatemgr
Note: You may need to log out and log back into any instances of the vSphere Web Client.
Roger L