Restore Application Monitoring on a Cloud Proxy after an IP change
search cancel

Restore Application Monitoring on a Cloud Proxy after an IP change

book

Article ID: 343883

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

If the IP address of a Cloud Proxy configured with Application Monitoring has changed, follow the steps in this article to restore collections to the Application Monitoring agents.

Environment

VMware vRealize Operations 8.10.x
VMware vRealize Operations 8.6.x
VMware vRealize Operations 8.4.x
VMware vRealize Operations 8.5.x

Resolution

Complete the steps below to restore collections to the Application Monitoring agents.

Cloud Proxy Configuration

Correct the configuration of the Cloud Proxy with the changed IP.
  1. Reboot the Cloud Proxy with the changed IP.
  2. In the vRealize Operations UI, navigate to Data Sources > Cloud Proxies.
  3. Ensure the Cloud Proxy with the changed IP address has a status of Online.
  4. Log into the Cloud Proxy with the changed IP as root via SSH or console.
  5. Run the following command to remove the config.properties file:
rm -rf /ucp/config/config.properties
  1. Run the following command to run the first boot script:
sh /ucp/ucp-config-scripts/ucp-firstboot.sh
  1. Back in the vRealize Operations UI on the Data Sources > Cloud Proxies page, do the following depending on the Cloud Proxy configuration:
  • If Cloud Proxy is part of HA-enabled Collector Group:
    1. Group Cloud Proxies by collector groups by using Group By > Collector Groups.
    2. Select the checkbox of the collector group for which the Cloud Proxy with the changed IP is a part of.
    3. Click on Retry Cloud Proxy Configuration from the ellipsis menu at the top.
  • If the Cloud Proxy is part of a Non-HA group or individual CP:
    1. Select the checkbox of the Cloud Proxy with the changed IP.
    2. Click on Retry Cloud Proxy Configuration from the ellipsis menu at the top.

 

AppOsAdapters Configuration

Next, update the configure IP of all AppOsAdapters associated the the Cloud Proxy with the changed IP.
  1. Copy the name of the Cloud Proxy with the changed IP from Data Sources > Cloud Proxies.
  2. Navigate to Environment > Inventory > Adapter Instances > VMware vRealize Application Management Pack.
  3. Input ARC-ADAPTER in the filter field and press enter.
  4. Note the ID of each listed AppOSAdapter associated with the Cloud Proxy with the changed IP.
Note: If the ID column isn't visible, click the Show Columns button at the bottom of the pane and check ID and click OK.
  1. Navigate to Home and click on the Explore vRealize Operations Cloud REST APIs link.
Note: If using vRealize Operations on-prem, click the green Authorize button on the right of the page.
If presented with an Authorized user, click Logout first, next, input the local Admin user's login information and click Authorize, then click Close.
  1. Search for GET /api/adapters/{adapterId}, then expand it.
  2. Click Try it out.
  3. Paste one of the noted IDs from step 4 in the adapterId field.
  4. Click Execute.
  5. Copy the response body into a text editor.
  6. In the response body update the value of the identifierType named UCPVAIP to the new IP address of the Cloud Proxy, then copy the edited response body.
  7. Back in the vRealize Operations suite API page, search for PUT /api/adapters, then expand it.
  8. Click Try it out.
  9. Paste the edited response body over the existing text.
  10. Click Execute.
  11. Repeat steps 8-15 for all other IDs noted in step 4.


Additional Information

Click Subscribe at the top of this page to be notified when this article is updated.

Impact/Risks:
Due to some differences in VMware Aria Operations 8.12, this article is not applicable to VMware Aria Operations 8.12 and later.
Do not attempt these steps on VMware Aria Operations 8.12 or later.