To resolve this issue, you can increase the vCenter Server and ESXi/ESX host timeout values. Three hours (10800 seconds) is generally sufficient, but in some environments, you might need to increase the timeout values to a longer period.
Increasing the vCenter Server timeout value
To increase the vCenter Server timeout value:
- Log in to your vCenter Server with administrator privileges.
- Back up the
vpxd.cfg
file. The default location is:
- For Windows-based vCenter Server:
- Windows 2003:
C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\vpxd.cfg
- Windows 2008:
C:\ProgramData\VMware\VMware VirtualCenter\vpxd.cfg
- For the vCenter Server Virtual Appliance: /etc/vmware-vpx/
- Open the
vpxd.cfg
file in a text editor. - Paste these lines before the
</config>
tag:
Note: If the vpxd.cfg
file already has a section for the <task>
tag, place the <timeout>
edit in the existing <task>
section to avoid duplicate section tags. If you have duplicate section tags, the VMware VirtualCenter Server service may not start.
Caution: Do not make other changes to the configuration file.
<task>
<timeout>10800</timeout>
</task>
<vmomi>
<soapStubAdapter>
<blockingTimeoutSeconds>10800</blockingTimeoutSeconds>
</soapStubAdapter>
</vmomi>
- Restart the VMware VirtualCenter Server service. For more information, see:
For the Windows-based vCenter Server: Stopping, starting, or restarting vCenter services (1003895)
For the vCenter Server Virtual Appliance: Stopping, starting, or restarting vCenter Server Appliance services (2054085)
Increasing the ESXi/ESX timeout value
To increase the ESXi/ESX timeout value:
- Log in to your ESXi/ESX host with root privileges using the console or an SSH session. For more information, see:
- Back up the
vpxa.cfg
file.
- The default path is
/etc/opt/vmware/vpxa/vpxa.cfg
- For ESXi 5.0 and above, the default path is
/etc/vmware/vpxa/vpxa.cfg
- Open the
vpxa.cfg
file in a text editor. - Paste this line between the
<task>
and</task>
tags:
Caution: Do not make other changes to the configuration file.
<timeout>10800</timeout>
- Paste these lines between the
<vmomi>
and </vmomi>
tags:
<soapStubAdapter>
<blockingTimeoutSeconds>10800</blockingTimeoutSeconds>
</soapStubAdapter>
- Restart the management services on your ESXi/ESX host. For more information, see Restarting the Management agents on an ESX or ESXi Server (1003490).
Increasing the timeout value in Update Manager 4.0 Update 2
In Update Manager 4.0 Update 2 and later, the default timeout period is 10 hours. You can change the default 10-hours timeout period using the
<PatchTaskTimeoutSeconds>
tag in the
vci-integrity.xml
file.
Note: The
<PatchTaskTimeoutSeconds>
tag is not present in earlier versions of Update Manager.
- Log in to the machine where Update Manager server is installed with administrator privileges.
- Back up the
vci-integrity.xml
file.
- The default path in 32-bit Windows is
C:\Program Files\VMware\Infrastructure\Update Manager
- The default path in 64-bit Windows is
C:\Program Files(x86)\VMware\Infrastructure\Update Manager
- In VCSA file is located at /etc/vmware/service-state/updatemgr/vci-integrity.xml.
- Open the
vci-integrity.xml
file in a text editor. - Set the timeout value in the
<PatchTaskTimeoutSeconds>
tag:
<PatchTaskTimeoutSeconds>timeout_value_in_seconds</PatchTaskTimeoutSeconds>
Caution: Do not make other changes to the configuration file.
- Restart the Update Manager service:
- In Windows, click Start > Run.
- Type
services.msc
and press Enter. - Right-click VMware Update Manager Services and click Restart.
- Wait for the service to restart.
For more information about the time required for host operations, see
Update Manager host task might fail in slow networks (1021050).
While running scan operation in vLCM, sometimes scan opreation times out, which could be network delay/issues. vLCM scan can timeout on preconfigured value. Customer should have an option to extend this timeout value as per the need.
Increase the timeout value and retry the Scan operation
By adjusting the field "ScanTaskTimeoutSeconds" field in
/usr/lib/vmware-updatemgr/bin/vci-integrity.xml and restarting the Update Manager service.
- login to vcsa host with administrator privileges
- Back up the /usr/lib/vmware-updatemgr/bin/vci-integrity.xml file.
- open the /usr/lib/vmware-updatemgr/bin/vci-integrity.xml file in a text editor.
- set the timeout value in the tag: <ScanTaskTimeoutSeconds>
<ScanTaskTimeoutSeconds>timeout_value_in_seconds</ScanTaskTimeoutSeconds>
Caution: Do not make other changes to the configuration file. - Restart the Update Manager service:
service-control --restart vmware-updatemgr
Additional Information
For translated versions of this article, see: