How to manually upgrade a VMware Aria Operations Cloud Proxy via CLI
search cancel

How to manually upgrade a VMware Aria Operations Cloud Proxy via CLI

book

Article ID: 344168

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

This article details how to complete a manual upgrade of a VMware Aria Operations (formerly known as vRealize Operations) Cloud Proxy via CLI following a failed upgrade.

Symptoms:
  • The Cloud Proxies page displays an error similar to:
Upgrade to latest version of Cloud Proxy was unsuccessful.

Note:
For versions 8.17 or lower, select Data Sources -> Cloud Proxies
For versions 8.18.X , select Administration -> Cloud Proxies

Environment

VMware Aria Operations 8.12.x and Later

Resolution

To complete the manual upgrade of a VMware Aria Operations Cloud Proxy, kindly follow the steps below.

  1. Log in to the Primary node as root via SSH or Console, pressing ALT+F1 in a Console to log in. 
  2. Navigate to the '/storage/db/proxyrc/pak' directory and verify the existence of the '*-Operations-Cloud-Proxy-build_number.pak' file.
  3. Log in to the Cloud Proxy as root via SSH or Console, pressing ALT+F1 in a Console to log in.
  4. Using an SCP utility, download the '*-Operations-Cloud-Proxy-build_number.pak' file from the Primary node to the /storage/db/tmp directory on the Cloud Proxy.
  5. On the Cloud Proxy, run the following command to initiate the upgrade:
    cprc-cli -u *-Operations-Cloud-Proxy-build_number.pak
Note: Replace build_number with the build of the Cloud Proxy upgrade package found on the Primary node.
Example:
cprc-cli -u /storage/db/tmp/*-Operations-Cloud-Proxy-8.18.0.24025142.pak

The upgrade should take about 2 to 5 minutes.  After a successful upgrade, the Cloud Proxy will be restarted.
You can use the 'cprc-cli --status' command to check the version and upgrade status.

Additional Information

The Aria Operations 8.17 and later adopts Two-Step Upgrade Flow, Kindly refer to the KB below:

Reference Link: Aria Operations Two-Step Upgrade Flow

Navigate to Broadcom Support Portal, log in using your credentials. Select the Aria Operations version and download the 'Cloud Proxy OVA' file.