Fix Readme
Abstract
Frequent ESX host disconnects from VirtualCenter with no other known cause may be due to large environments or a heavily utilized service console network exceeding the default TCP connection pool setting in VirtualCenter. Contact support to rule out other common causes of ESX host disconnects. However, If support determines this value needs to be increased the steps are documented in this article.
Content
Increasing maxHostPooledConnections will reduce the creation of additional TCP connections to the proxy during host synchronization. The number to use is determined by the total number of ESX hosts managed by the VirtualCenter server. If the VirtualCenter server is managing 20 or fewer ESX hosts (not Virtual Machines but physical ESX hosts) then set the value to 40. If the VirtualCenter server is managing 21 or more ESX hosts multiply the number of ESX hosts by 2 for the value.
For example:
If the VirtualCenter server manages 5 ESX hosts the value to use will be 40.
If the VirtualCenter server manages 42 ESX hosts the value to use will be 84.
Add the following line to vpxd.cfg on the VirtualCenter server. If you are uncomfortable with editing config files please contact support for assistance. Before making changes copy the vpxd.cfg file to another location until you are happy with the change to the original.
Anywhere within the already present <vpxd> ... </vpxd> stanza in the vpxd.cfg config file on the VirtualCenter server add the following variable, replacing "50" with the appropriate value from your infrastructure.
<maxHostPooledConnections>50</maxHostPooledConnections>
Save the file. This is a tunable that is present by default in all stock VirtualCenter server configurations however the value is not explicitly listed. If you add it as documented above then restart the VirtualCenter service this value will be changed.
After saving the file then you must restart the VirtualCenter Server service. To do so go to the Windows OS where VirtualCenter is running then open the local Services, scroll down to "VMware VirtualCenter Server" service, then right click "Restart" to restart the service.
No other changes are necessary for this variable to be updated in the VirtualCenter server.
Was this topic helpful?
Document Information
Modified date:
28 January 2020
UID
isg3T1011855