Updating VAPI Request Rate in vCenter 6.7 (HTML5 client)

Problem 

This is the method for updating the request rate for the VAPI endpoint in vCenter versions 6.7 and above where the Administrative settings for doing so are not visible in the vCenter client.

Affected Versions

  • vCenter 6.7 and above where Web Client is no longer usable due to Flash deprecation and Administrative settings for request rate is not visible in the HTML5 client UI.

Workaround or Solution

Disclaimer: If you are uncomfortable making these settings changes, please consult with VMware support for assistance. This guide is provided as a courtesy and is not guaranteed or supported by Cloudbolt support in any way. You are responsible for any changes you make to your vCenter environment, so please be sure to take any precautions needed in your environment before attempting the steps in this guide.

WILL CAUSE DOWNTIME: This solution will take down the VAPI endpoint for a restart. Only start this procedure if you can sustain a restart of VAPI (during an appropriate change window or in non-production environments)

Overview

  • SSH into the VCSA appliance as root

  • Stop the vapi endpoint service

  • modify the endpoint.properties file

    • Uncomment http.request.rate.count and increase count

    • Uncomment http.authorized.request.rate.count and increase count

  • Start the vapi endpoint service

1. SSH to VCSA appliance

  1. ssh root@<your_vcsa_appliance>

2. Stop the vapi endpoint service

# service-control --stop vmware-vapi-endpoint

3. Back up and Update the endpoint.properties file

  1. cd /etc/vmware-vapi/
  2. cp endpoint.properties ./endpoint.properties-backup
  3. vi endpoint.properties
  4. Update the request rate count

    1. Find the line containing http.request.rate.count and uncomment it if it’s commented out.

    2. set the value to 0 to disable the rate limit (not recommended) or change the value to something larger than 1500. Start with 2000 and incrementally increase as necessary.

  5. Update the authorized request rate count:

    1. Find the line containing http.authorized.request.rate.count and uncomment it if it’s commented out.

    2. set the value to 0 to disable the rate limit (not recommended) or change the value to something larger than 1500. Start with 2000 and incrementally increase as necessary.

  6. Save and quit the endpoint.properties file (in vi, :wq, hit Enter)

4. Start the vapi endpoint service

  1. Run this command: service-control --start vmware-vapi-endpoint

Additional information


Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.