Default vCenter Server timeouts may be insufficient for lengthy operations, such as large snapshot deletions or migrations. This article provides instructions on how to adjust these settings to prevent premature timeouts.
You may encounter one or more of the following issues:
Operation failed since another task is in progress.Alarm Host connection state on esx.example.com sent e-mail to admin@example.com.VMware vSphere ESXi
VMware vCenter Server
vCenter Server has a default 15 minute timeout for any task. For tasks that take longer than 15 minutes, you can configure the timeout values by editing the vpxd.cfg file and the vpxa.cfg file of the source and destination ESXi host.
To change the timeout value in the vCenter Server, update vpxd.cfg on vCenter.
cp vpxd.cfg vpxd.cfg.backupvpxd.cfg file in a text editor using below command.vi /etc/vmware-vpx/vpxd.cfg
<config>...<task><timeout>10800</timeout></task>...</config>10800 can be changed based on your requirements. This example uses 10800 seconds, or 3 hours.vpxd.cfg file:<config>...<vmomi><soapStubAdapter><blockingTimeoutSeconds>10800</blockingTimeoutSeconds></soapStubAdapter></vmomi>...</config>10800 can be changed based on your requirements. This example uses 10800 seconds, or 3 hours.Esc + : + wq! to save and exit vpxd.cfg file.service-control --stop vmware-vpxd && service-control --start vmware-vpxdvi /etc/vmware/vpxa/vpxa.cfgvpxa.cfg file:<config>...<task><timeout>10800</timeout></task>...</config>To increase the SOAP layer blocking call timeout, add these values in the vpxa.cfg file:<config>...<vmomi><soapStubAdapter><blockingTimeoutSeconds>10800</blockingTimeoutSeconds></soapStubAdapter></vmomi>...</config>
Note: The value 10800 can be changed based on your requirements. This example uses 10800 seconds or 3 hours.
Configure the timeout value for the time that vCenter Server waits to capture the virtual machine's ID at ESXi destination. Add a new configurable parameter in the vpxa.cfg file:<config>...<vpxa>...<vmotion><vmIdAcquireTimeout>600</vmIdAcquireTimeout></vmotion>...</vpxa>...</config>
Note: The value 600 can be changed based on your requirements. This example uses 600 seconds or 10 minutes.
6. Press Esc + : + wq! to save and exit vpxa.cfg file.
7. Restart the vpxa service on the ESXi host. For more information, see Restarting the Management agents on an ESXi or ESX host.