VMWARE: VCSA 6.5 resetting update manager database

When triyng to scan og remediate hosts, you may get errors saying that hosts cannot be updated in the event log, but nothing more, a quick and easy fix is to reset the update manage db and the patch store:

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.
Source:

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close