Reducing CPU load on vCloud Director when integrated with vRealize Operations
search cancel

Reducing CPU load on vCloud Director when integrated with vRealize Operations

book

Article ID: 340108

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • vCloud Director is integrated with vRealize Operations through the vCloud Director Management Pack.
  • vCloud Director management pack version is 5.4.
  • vCloud Director appliance version is 10.0 or later.
  • vCloud Director appliance CPU spikes to 95% or greater.


Environment

VMware vRealize Operations 8.x

Cause

If the vCloud Director appliance is not configured according to VMware Validated Design sizing documentation, the vCloud Director appliance CPU may spike to 95%+ when vCloud Director is on version 10 or later.

Resolution

  1. Log into the vRealize Operations node where the vCloud adapter is running as root via SSH or Console, pressing ALT+F1 in a Console to log in.
  2. Open /usr/lib/vmware-vcops/user/plugins/inbound/vcloud_adapter3/conf/vcloud.properties in a text editor.
  3. Change the following lines to their respective values:
  • RESOURCE_COLLECT_THREAD_POOL_SIZE=10
  • RELATIONSHIP_COLLECT_THREAD_POOL_SIZE=30
  • METRICS_COLLECT_THREAD_POOL_SIZE=40
  1. Save and close the file.
  2. Restart the collector service:
systemctl restart collector
  1. Repeat steps 1-5 on all other vRealize Operations nodes in the cluster, including remote collectors.
  2. Log into the vRealize Operations UI as an administrator.
  3. Navigate to Administration > Solutions > Other Accounts.
  4. Click Edit under the vCloud Director adapter.
  5. Disable the Organization VDC Network option under Advanced Settings, then click Save.


Additional Information

RESOURCE_COLLECT_THREAD_POOL_SIZE = number of threads to collect resources from vCloud Director.
RELATIONSHIP_COLLECT_THREAD_POOL_SIZE = number of threads to establish relationships between collected threads.
METRICS_COLLECT_THREAD_POOL_SIZE = number to threads to collect metrics of vCloud Director resources.

VMware Validated Design for Cloud Providers: Scale and Performance Guidelines