Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Exit Standby Mode task times out and the host status is not updated in vCenter Server (2012152)

Symptoms

When powering on an ESX/ESXi host that is in the Standby mode, you experience these 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

This occurs when the Exit Standby Mode task in vCenter Server times out. In this case, vCenter Server becomes out of sync with the actual state of the host. The host is in Standby mode in vCenter Server, whereas it is actually powered on.

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 update the vCenter Server database to reflect the correct host status:
 
Note: Take a backup your vCenter Server database before implementing this workaround.
  1. Stop the VMware VirtualCenter Server service. For more information, see Stopping, starting, or restarting vCenter services (1003895).
  2. Run this SQL statement to find the ID of the host:

    select id from vpx_entity where name like '%name of host%'

  3. 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.

  4. 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>

  5. Start the VMware VirtualCenter Server service.
  6. Ensure the ESX/ESXi host is powered on.
  7. Disconnect and reconnect the ESX/ESXi  host in vCenter Server if the host is not responding or disconnected.

See Also

Update History

02/27/2013 - Added ESXi 5.1.x and vCenter Server 5.1.x to Products

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.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: