VMware Aria Operations Cloud Proxy recovery script
search cancel

VMware Aria Operations Cloud Proxy recovery script

book

Article ID: 324339

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This script applies to any failed Cloud Proxy connected to VMware Aria Operations on-prem (formerly known as vRealize Operations) or VMware Aria Operations (SaaS) (formerly known as vRealize Operations Cloud).

Note: All Cloud Proxies in the cluster should be on the same version.

Symptoms:
This script will try to recover VMware Aria Operations Cloud Proxies from situations where:
  • The Cloud Proxy failed to come online after a reboot.
  • The Cloud Proxy failed to come online after an upgrade.
  • The Cloud Proxy failed to start an upgrade to a new version.


Environment

VMware vRealize Operations 8.4.x
VMware vRealize Operations 8.5.x
VMware Aria Operations 8.14.x
VMware Aria Operations 8.12.x
VMware vRealize Operations 8.6.x
VMware vRealize Operations 8.10.x

Resolution

To run the Cloud Proxy recovery script, follow the steps below.
  1. Download the cprcrecoveryscriptV2.py file attached to this article.
  2. Copy the cprcrecoveryscriptV2.py file to the /tmp directory on all failed Cloud Proxies using an SCP utility.
  3. Log into each failed Cloud Proxy as root via SSH or Console, pressing ALT+F1 in a Console to log in.
  4. Change to the /tmp directory on each failed Cloud Proxy:
cd /tmp
  1. Run the following command on each failed Cloud Proxy to execute the cprcrecoveryscriptV2.py script:
$VMWARE_PYTHON_BIN cprcrecoveryscriptV2.py

Note: Ensure there are no ERROR messages in the script output.

Each failed Cloud Proxy should now come online and start upgrading to the latest version automatically if an upgrade is required.

Attachments

cprcrecoveryscriptV2 get_app
cprcrecoveryscript get_app