Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Performing a command-line upgrade of the vCenter Operations 5.0 Appliance (2031783)

Purpose

This article provides steps to upgrade the vCenter Operations Manager 5.0 vApp from the command-line.

Resolution

To upgrade the vCenter Operations Manager 5.0 vApp from the command-line:
  1. Before performing the upgrade, download the update PAK file from the VMware vCenter Operations Download Center.
  2. Use an SCP application to transfer the PAK update file to the UI virtual machine, preferably in the /tmp directory, using the admin account.
  3. SSH into the UI virtual machine as the admin user account.
  4. Run the command:

    cd /tmp

  5. Make a backup copy of the PAK file using the copy (cp) command. Do not skip this step.
  6. Run the command:

    vcops-admin update apply --file path_to_the_update_.PAK_file [--accept-eula] [--force]

    Notes:
    • The upgrade runs in the background. To track the progress on the UI VM, run this command:

      tail -f /var/log/vmware/lastupdate.log 

    • This command removes the PAK file from the system.
    • The values in the square brackets ([--accept-eula] and [--force] are optional.
      • [--accept-eula] agrees to the EULA and suppresses the prompt during the upgrade
      • [--force] upgrades all files, even if they were up to date already. This may be used if a previous upgrade failed.

Additional Information

If any errors occur, file a Support Request. Run this command and provide the output to VMware Support:
 
vcops-admin diag-bundle
 
For more information on filing a Support Request, see Filing a Support Request in My VMware (2006985).

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 3 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 3 Ratings
Actions
KB: