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
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
cd /etc/vmware-vapi/
cp endpoint.properties ./endpoint.properties-backup
vi endpoint.properties
Update the request rate count
Find the line containing http.request.rate.count and uncomment it if it’s commented out.
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.
Update the authorized request rate count:
Find the line containing http.authorized.request.rate.count and uncomment it if it’s commented out.
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.
Save and quit the endpoint.properties file (in vi, :wq, hit Enter)
4. Start the vapi endpoint service
Run this command: service-control --start vmware-vapi-endpoint
0 Comments