How to customize the refresh rate for retrieving vCloud Director vApp settings in vCloud Availability 3.0.2
search cancel

How to customize the refresh rate for retrieving vCloud Director vApp settings in vCloud Availability 3.0.2

book

Article ID: 314967

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

This article provides information on how to manage congestion or heavy load on the vCloud Director cells in a disaster recorvery environment by customising the API settings in vCloud Availability used to retrieve vApp settings from vCloud Director.

Environment

VMware vCloud Availability 3.0.x

Resolution

Starting in vCloud Availability 3.0.2 you can control the interval for refreshing vApp settings and the peer timeout for the API calls used to get these settings.

To configure these new properties, perform the steps below:
  1. Create an SSH session to the vApp Replication Manager and log in as root.
  2. Open the /opt/vmware/h4/cloud/config/application.properties file with a text editor such as vi.
  3. Search for the following vcd.vapp.settings lines and remove the # to uncomment them:
#The refresh interval of replicated vApp settings and metadata in miliseconds
#vcd.vapp.settings.interval=300000
#The http timeout for the refresh settings peer call
#vcd.vapp.settings.timeout=300000
  1. Set the properties values to your desired range.
Note: The values in the application.properties file are in milliseconds.
  1. Save the changes and close the file.
  2. Restart the cloud service with the following command:
systemctl restart cloud