Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Exit Standby Mode task times out and the host status is not updated in vCenter Server (2012152)
Symptoms
-
The Exit Standby Mode task fails
-
You see the error:
Operation timed out - The host remains in a Standby state in vCenter Server 4.x
- You can connect directly to the ESX/ESXi host with the vSphere Client.
- ESX/ESXi host responds to pings
- Attempting to power on the host through vCenter Server fails
Cause
Resolution
To prevent this issue from occurring, increase the vCenter Server timeout period. For more information, see Extend the default timeout periods for vCenter Server, ESX/ESXi hosts, and vCenter Update Manager (1017253).
This allows the vCenter Server task to finish successfully and update the power state of the host.
To workaround this issue, update the vCenter Server database to reflect the correct host status.
To workaround this issue, update the vCenter Server database to reflect the correct host status.
To update the vCenter Server database to reflect the correct host status:
Note: Take a backup your vCenter Server database before implementing this workaround.
- Stop the VMware VirtualCenter Server service. For more information, see Stopping, starting, or restarting vCenter services (1003895).
- Run this SQL statement to find the ID of the host:
select id from vpx_entity where name like '%name of host%'
- Run this SQL statement to check the power state of the host:
select power_state from vpx_host where id = <output from step 2>
If the power state is 2, vCenter Server believes that the host is in Standby mode.
- To put the host in a powered on state, run this update statement:
update vpx_host set power_state = 0 where id = <output from step 2>
- Start the VMware VirtualCenter Server service.
- Ensure the ESX/ESXi host is powered on.
- Disconnect and reconnect the ESX/ESXi host in vCenter Server if the host is not responding or disconnected.
See Also
Update History
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

