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

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 download.

Symptoms:
  • The Data Sources > Cloud Proxies page displays an error similar to:
Download of latest version of Cloud Proxy was unsuccessful.  Please follow the steps documented here https://kb.vmware.com/s/article/80590 to manually upgrade Cloud Proxy to the latest version: Cloud_Proxy_PAK_Download_Link


Environment

VMware vRealize Operations 8.6.x
VMware vRealize Operations 8.10.x
VMware Aria Operations 8.12.x
VMware Aria Operations 8.14.x
VMware Aria Operations 8.16.x
VMware Aria Operations 8.17.x
VMware Aria Operations 8.18.x

 

Resolution

Quick Links

VMware Aria Operations On-Prem

To complete the manual upgrade of a VMware Aria Operations Cloud Proxy in VMware Aria Operations On-Prem, 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.
 

VMware Aria Operations (SaaS)

To complete the manual upgrade of a VMware Aria Operations (SaaS) Cloud Proxy in VMware Aria Operations (SaaS), follow the steps below.

  1. Log into the VMware Aria Operations (SaaS) UI.
  2. Navigate to Data Sources > Cloud Proxies.
  3. Click New , then click Copy Path next to DOWNLOAD CLOUD PROXY OVA.
  4. Using any text editor, paste the copied path and replace _OVF10.ova in the URL with .pak.
Example:
  • The copied path will be similar to:
https://s3-us-west-2.amazonaws.com/vrops-cloud-proxy/ob/1731585/*-Operations-Cloud-Proxy-8.6.0.18741588_OVF10.ova
  • The modified path will be similar to:
https://s3-us-west-2.amazonaws.com/vrops-cloud-proxy/ob/1731585/*-Operations-Cloud-Proxy-8.6.0.18741588.pak
  1. Log into the Cloud Proxy as root via SSH or Console, pressing ALT+F1 in a Console to log in.
  2. Navigate to the /storage/db/tmp directory on the Cloud Proxy by running the following command:
cd /storage/db/tmp
  1. Run the following command to download the PAK file defined in step 4:
wget https://s3-us-west-2.amazonaws.com/vrops-cloud-proxy/ob/1731585/pak_name

Note: Replace pak_name with the PAK file defined in step 4.
Examplewget https://s3-us-west-2.amazonaws.com/vrops-cloud-proxy/ob/1731585/*-Operations-Cloud-Proxy-8.6.0.18741588.pak
  1. Once the download is complete, run the following command to initiate the upgrade:
cprc-cli -u /storage/db/tmp/*-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.6.0.18741588.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.