Segregating Uplinks metrics in Aria Operations Management Pack for vCloud Director.
search cancel

Segregating Uplinks metrics in Aria Operations Management Pack for vCloud Director.

book

Article ID: 382866

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

The Uplink metrics mentioned below for a vCloud Edge Gateway object (Management Pack for vCloud Director) are fetched from the linked NSX logical router object.

In addition, there will be statistics metrics published on the logical router object.

These are Discrete metrics which are calculated as current cumulative value and previous cumulative value and based on which bytes per second plus other info is populated in vCloud Director.

  • Statistics|Uplink|Data OUT
  • Statistics|Uplink|Data IN
  • Statistics|Uplink|Bandwidth Out
  • Statistics|Uplink|Bandwidth In

Environment

Aria Operations 8.18.x

Cause

vcloud.properties file resets during adapter package upgrades or reinstallation on any collector. 

The synchronization process overwrites the conf folder contents with the primary node's version.

Resolution

To segregate the Uplink metrics and collect only the Linked Port from the Logical Routers, the property "ROUTERLINK_ONLY" needs to be enabled on the collectors assigned to the MP vCloud Director.

  1. SSH to the Collector in Aria Operations assigned to the MP vCloud Director.

  2. Locate the file vcloud.properties using the command:

    find . -name vcloud.properties

    For example: cd /usr/lib/vmware-vrops/user/plugin/inbound/vcloud_adapter3/conf

  3. Edit the file vcloud.properties by running the command:

    vi vcloud.properties

    Note: The vi command, gets to the text editor. Use i from the keyboard to edit the file.

  4. Change the property "ROUTERLINK_ONLY" to true. and Esc from the keyboard along with wq! to save the change and exit the text editor.

  5. Repeat the steps above on all the collectors which host a vCloud Director adapter instance. For safety and consistency, update the same file on all cluster nodes.

Additional Information

For Cloud Proxies specifically, the file also resets during restart because they automatically sync adapter files from the primary node.

NOTE: The vcloud.properties file is reset during adapter package upgrades or reinstallation by design.