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

Aria Operations 8.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.

    Note: The recovery script may be saved with a different filename when downloaded. Please rename the script to 'cprcrecoveryscriptv2.py' after downloading.

  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